/* Тропа здоровья: квест по экотропе на телефоне, национальный парк «Тункинский».
   Цвета из фирменного стиля парка: глубокий фиолетовый, золото и узор из
   горных шевронов; бирюза для реки, зелень для сосны и штампов.
   Шрифт Golos Text, заголовки жирные.
   Правила экрана тропы:
   - всё одной рукой, кнопки от 56 px, главные действия внизу;
   - текст крупный, кнопкой «Аа» ещё крупнее, контраст не ниже 4.5:1;
   - всё, что звучит, написано; анимации выключаются системной настройкой. */

@font-face {
  font-family: "Golos Text"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(/fonts/golos-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Golos Text"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(/fonts/golos-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+2122;
}

:root {
  --paper: #f6f2ea;       /* снег и светлый камень */
  --paper-2: #fbf8f2;
  --card: #ffffff;
  --ink: #1d1a2b;
  --ink-2: #4f4a5e;
  --line: #e3dccd;
  --navy: #2e1156;        /* фирменный фиолетовый парка */
  --navy-2: #4a2a7a;
  --orange: #8a5a00;      /* фирменное золото, затемнено для текста до 4.5:1 */
  --orange-2: #e3a23a;
  --peach: #fbbd51;       /* фирменное золото парка */
  --green: #2f6a4f;       /* сосна и кедр */
  --green-2: #4f8f6a;
  --green-soft: #e3efe6;
  --sky: #cfeef3;
  --water: #1b7f93;       /* бирюза Кынгарги */
  --water-2: #5cc0cf;
  --quiet: #ece5d6;
  --sans: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs: 18px;
  --r: 16px;
  --shadow: 0 10px 30px rgba(46, 17, 86, .12), 0 2px 6px rgba(46, 17, 86, .06);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  /* узор парка: золотые горные шевроны */
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14' viewBox='0 0 28 14'%3E%3Cpath d='M0 14 14 0l14 14' fill='none' stroke='%23fbbd51' stroke-width='4'/%3E%3C/svg%3E");
  color-scheme: light;
}
:root[data-size="big"] { --fs: 21px; }
@media (max-width: 380px) { :root { --fs: 17px; } :root[data-size="big"] { --fs: 20px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; font-size: var(--fs); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.noscript { padding: 24px; text-align: center; }
.center { text-align: center; }

.app {
  max-width: 640px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: calc(8px + var(--sat)) 16px calc(28px + var(--sab));
  display: flex;
  flex-direction: column;
  outline: none;
}

/* ---------- шапка ---------- */
.bar { display: flex; align-items: center; gap: 8px; min-height: 60px; }
.bar__logo { width: 52px; height: 52px; border-radius: 50%; flex: none; }
.bar__title { flex: 1; min-width: 0; }
.bar__title b { display: block; font: 800 .95rem/1.15 var(--sans); color: var(--navy); }
.bar__title span { display: block; font-size: .68rem; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.icon-btn {
  width: 56px; height: 56px; flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%;
  background: var(--card); color: var(--navy);
  cursor: pointer;
}
.icon-btn svg { width: 24px; height: 24px; }
.icon-btn__aa { font: 800 1rem/1 var(--sans); }

/* ---------- общие блоки ---------- */
.h1 { font: 900 2.15rem/1.04 var(--sans); margin: 6px 0 10px; color: var(--navy); text-transform: uppercase; letter-spacing: -.01em; }
.h2 { font: 800 1.45rem/1.15 var(--sans); margin: 0 0 6px; color: var(--navy); }
.h3 { font: 800 1.12rem/1.2 var(--sans); margin: 0 0 8px; color: var(--navy); }
.lead { color: var(--ink-2); margin: 0 0 16px; }
.kicker { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); font-weight: 800; margin: 14px 0 4px; }
.note { font-size: .8rem; color: var(--ink-2); margin: 12px 0 0; }

.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 60px;
  padding: 14px 20px;
  border: 0; border-radius: var(--r);
  background: var(--navy); color: #fff;
  font-weight: 800; font-size: 1rem; line-height: 1.25; text-align: center;
  cursor: pointer;
  transition: transform .15s var(--ease), background .2s;
}
.btn:active { transform: scale(.985); }
.btn--ghost { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn--quiet { background: var(--quiet); color: var(--ink); }
.btn--orange { background: var(--orange); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btns { display: grid; gap: 10px; margin-top: 16px; }
.btns--two { grid-template-columns: 1fr 1fr; }
@media (max-width: 380px) { .btns--two { grid-template-columns: 1fr; } }
.btn[disabled], .pad-btn[disabled] { opacity: .45; cursor: default; }
.btn[disabled]:active { transform: none; }
:focus-visible { outline: 3px solid var(--orange-2); outline-offset: 3px; }
.app:focus-visible { outline: none; }

.field { display: grid; gap: 6px; margin: 14px 0 0; }
.field label { font-size: .85rem; color: var(--ink-2); }
.field input {
  min-height: 56px; padding: 12px 16px;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--card); color: var(--ink); font: inherit;
}

/* ---------- обложка ---------- */
.cover { position: relative; margin: 4px -16px 0; overflow: hidden; }
@media (min-width: 672px) { .cover { margin: 4px 0 0; border-radius: var(--r); } }
.cover img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.cover::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(transparent, var(--paper)); }
.demo-flag {
  align-self: flex-start; margin: -6px 0 0; position: relative; z-index: 1;
  padding: 6px 12px; border-radius: 99px; background: var(--navy); color: #fff;
  font-size: .75rem; font-weight: 700;
}
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.facts li { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: .74rem; line-height: 1.3; color: var(--ink-2); }
.facts b { display: block; font: 900 1.35rem/1.1 var(--sans); color: var(--orange); margin-bottom: 2px; }
.how { padding: 16px; border-radius: var(--r); background: var(--navy); color: #fff; }
.how .h3 { color: #fff; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
.steps li { counter-increment: s; position: relative; padding-left: 44px; font-size: .9rem; color: #e6def2; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  width: 32px; height: 32px; border-radius: 50%; background: var(--peach); color: var(--navy);
  display: grid; place-items: center; font-weight: 900;
}
.steps b { color: #fff; }
.program {
  padding: 14px 16px; margin: 18px 0 0;
  border-left: 3px solid var(--orange-2);
  background: var(--paper-2); border-radius: 0 12px 12px 0;
  font-size: .82rem; color: var(--ink-2);
}
.demo-note { margin: 22px 0 0; font-size: .72rem; color: var(--ink-2); text-align: center; }
.demo-note a { color: inherit; }

/* ---------- схема тропы ---------- */
.pass-line {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 6px 0 10px; padding: 12px 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line);
}
.pass-line small { display: block; font-size: .72rem; color: var(--ink-2); }
.pass-line b { font: 800 1.05rem/1.2 var(--sans); color: var(--navy); }
.rank { padding: 6px 10px; border-radius: 99px; background: var(--green-soft); color: var(--green); font-size: .74rem; font-weight: 800; text-align: center; }
.map { position: relative; margin: 0 -16px; background: #d7e3d0; }
@media (min-width: 672px) { .map { margin: 0; border-radius: var(--r); overflow: hidden; } }
.map img { width: 100%; height: auto; }
.pin {
  position: absolute; transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%;
  border: 3px solid #fff; box-shadow: 0 3px 10px rgba(0, 0, 0, .3);
  display: grid; place-items: center; padding: 0;
  font: 900 1rem/1 var(--sans); color: #fff; background: var(--navy); cursor: pointer;
}
.pin::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; } /* цель шире круга */
.pin svg { width: 22px; height: 22px; }
.pin--done { background: var(--green-2); }
.pin--lock { background: #9aa3a8; width: 34px; height: 34px; font-size: .82rem; }
.pin--next { background: var(--orange-2); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(251, 189, 81, .7), 0 3px 10px rgba(0,0,0,.3); } 60% { box-shadow: 0 0 0 14px rgba(251, 189, 81, 0), 0 3px 10px rgba(0,0,0,.3); } }
@media (max-width: 420px) { .pin { width: 38px; height: 38px; font-size: .9rem; } .pin--lock { width: 28px; height: 28px; font-size: .72rem; } }
.here { position: absolute; transform: translate(-50%, -50%); width: 16px; height: 16px; border-radius: 50%; background: #d92b2b; border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(217, 43, 43, .25); pointer-events: none; }

.rows { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.row {
  display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center;
  width: 100%; min-height: 72px; padding: 10px 14px 10px 10px;
  text-align: left; cursor: pointer;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
}
.row__n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 900; }
.row__n svg { width: 22px; height: 22px; }
.row.done .row__n { background: var(--green-2); }
.row.lock { background: transparent; }
.row.lock .row__n { background: #c9ced1; color: #fff; }
.row.lock b { color: var(--ink-2); }
.row__t small { display: block; font-size: .72rem; color: var(--ink-2); }
.row__t b { display: block; font: 800 .98rem/1.2 var(--sans); color: var(--navy); }
.row__t span { display: block; font-size: .8rem; color: var(--ink-2); }
.row__t em { display: block; font-style: normal; font-size: .8rem; color: var(--green); margin-top: 2px; }

/* ---------- станция ---------- */
.stand { margin-top: 4px; }
.stand__img { position: relative; display: block; width: calc(100% + 32px); margin: 0 -16px; padding: 0; border: 0; background: var(--navy); cursor: zoom-in; }
@media (min-width: 672px) { .stand__img { width: 100%; margin: 0; border-radius: var(--r); overflow: hidden; } }
.stand__img img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.stand__img span {
  position: absolute; right: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: 99px; background: rgba(46, 17, 86, .86); color: #fff;
  font-size: .78rem; font-weight: 700;
}
.stand__img svg { width: 18px; height: 18px; }
.story { margin-top: 4px; }
.story p { margin: 0 0 10px; }
.listen {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  min-height: 48px; padding: 8px 16px; border-radius: 99px;
  border: 1px solid var(--line); background: var(--card); color: var(--navy); font-weight: 700; font-size: .88rem; cursor: pointer;
}
.listen svg { width: 18px; height: 18px; }

.work {
  margin: 16px 0 0; padding: 16px 14px 18px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow);
}
@media (max-width: 480px) { .work { margin-left: -8px; margin-right: -8px; padding: 14px 10px 16px; } }
.work__kicker { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); font-weight: 800; margin: 0 0 6px; }
.work__task { font: 800 1.12rem/1.3 var(--sans); margin: 0 0 12px; color: var(--navy); }
.work__ctrl { margin-top: 10px; }
.work .fb {
  min-height: 2.9em; margin: 10px 0 0; padding: 10px 12px;
  background: var(--paper-2); border-left: 3px solid var(--orange-2); border-radius: 0 10px 10px 0;
  color: var(--ink); font-size: .95rem;
}
.step-tag { display: inline-block; margin: 0 0 8px; padding: 4px 10px; border-radius: 99px; background: var(--quiet); font-size: .72rem; font-weight: 800; color: var(--ink-2); }
.scene {
  display: block; width: 100%; height: auto; border-radius: 12px;
  user-select: none; -webkit-user-select: none; touch-action: manipulation;
}
.scene--drag { touch-action: none; }
.scene--tap { cursor: pointer; }
.scene text { font-family: var(--sans); }
.readout { display: grid; gap: 2px; padding: 10px 14px; border-radius: 12px; background: var(--paper-2); border: 1px solid var(--line); }
.readout b { font: 900 1.5rem/1.1 var(--sans); color: var(--navy); }
.readout span { font-size: .85rem; color: var(--ink-2); }
.pad2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.pad-btn { min-height: 60px; border-radius: var(--r); border: 1px solid var(--line); background: var(--paper-2); font-size: 1rem; font-weight: 800; cursor: pointer; color: var(--navy); }
.hold { touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.hold.on { background: var(--orange); color: #fff; }
.pad-btn.nudge { animation: pz-nudge .5s ease-in-out 3; }
@keyframes pz-nudge { 50% { background: var(--orange-2); color: #fff; transform: scale(1.04); } }
.legend { display: flex; align-items: center; gap: 8px; font-size: .75rem; color: var(--ink-2); margin-top: 8px; }
.legend i { flex: 1; height: 10px; border-radius: 5px; background: linear-gradient(90deg, #88c8e0, #68b8d8, #50a0c8, #3080b8, #2068a8, #105098); }

/* выбор карточкой: звери, птицы, места */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cards--2 { grid-template-columns: 1fr 1fr; }
.pick {
  position: relative; display: grid; justify-items: center; gap: 4px;
  min-height: 112px; padding: 8px 6px 10px;
  border: 2px solid var(--line); border-radius: 14px; background: var(--paper-2);
  font-size: .82rem; font-weight: 800; line-height: 1.2; text-align: center; color: var(--navy); cursor: pointer;
  transition: border-color .2s, background .2s, opacity .2s;
}
.pick img { width: 72px; height: 72px; object-fit: contain; }
.pick small { font-weight: 400; color: var(--ink-2); font-size: .72rem; }
.pick.yes { border-color: var(--green-2); background: var(--green-soft); }
.pick.no { animation: shake .4s; }
.pick.used { opacity: .4; }
.pick[disabled] { cursor: default; }
.pick__n { position: absolute; top: 6px; left: 6px; width: 24px; height: 24px; border-radius: 50%; background: var(--green-2); color: #fff; font-size: .75rem; display: grid; place-items: center; }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }

/* ---------- после стенда ---------- */
.fact { margin: 16px 0 0; padding: 16px; border-radius: var(--r); background: #e4f2f4; }
.fact p { margin: 0 0 8px; }
.fact p:last-child { margin: 0; }
.entry {
  display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center;
  margin: 14px 0 0; padding: 12px 14px; border: 2px dashed var(--green-2); border-radius: 14px; background: var(--card);
}
.entry small { display: block; font: 800 .68rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--green); margin-bottom: 2px; }
.entry__stamp { width: 64px; height: 64px; border-radius: 50%; border: 3px double var(--green-2); color: var(--green); display: grid; place-items: center; transform: rotate(-10deg); }
.entry__stamp svg { width: 34px; height: 34px; }
.entry--new .entry__stamp { animation: stamp .5s var(--ease) both; }
@keyframes stamp { 0% { transform: scale(2.2) rotate(-25deg); opacity: 0; } 70% { transform: scale(.92) rotate(-8deg); opacity: 1; } 100% { transform: scale(1) rotate(-10deg); } }
.src { margin: 12px 0 0; font-size: .7rem; color: var(--ink-2); }
.link-btn {
  display: block; margin: 10px auto 0; min-height: 48px; padding: 8px 14px;
  background: none; border: 0; color: var(--navy); cursor: pointer;
  font-size: .88rem; text-decoration: underline; text-underline-offset: 3px;
}
.locked { margin: 16px 0 0; padding: 20px 16px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); text-align: center; }
.locked p { margin: 0 0 6px; }
.locked__ic { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--quiet); color: var(--ink-2); margin-bottom: 8px; }
.locked__ic svg { width: 26px; height: 26px; }

/* ---------- паспорт ---------- */
.seal {
  width: 170px; height: 170px; margin: 14px auto 8px; padding: 0 14px;
  border: 5px double var(--green-2); border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  color: var(--green); transform: rotate(-8deg);
  font: 900 1.02rem/1.15 var(--sans); text-transform: uppercase;
}
.seal small { display: block; margin-top: 4px; font: 700 .64rem/1.2 var(--sans); letter-spacing: .06em; }
.slots { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px 6px; }
.slot { display: grid; justify-items: center; gap: 4px; text-align: center; }
.slot__c { width: 54px; height: 54px; border-radius: 50%; border: 2px dashed #cfc6b3; color: #a99f8c; display: grid; place-items: center; font-weight: 900; }
.slot__c svg { width: 28px; height: 28px; }
.slot.on .slot__c { border: 3px double var(--green-2); color: var(--green); background: var(--green-soft); transform: rotate(-8deg); }
.slot small { font-size: .62rem; line-height: 1.15; color: var(--ink-2); }
.slot.lock small { opacity: .7; }
.invite { margin: 18px 0 0; padding: 16px 18px; border-radius: var(--r); background: var(--navy); color: #e6edf3; font-size: .92rem; }
.invite b { color: #fff; }
.invite p { margin: 0; }

/* ---------- лист снизу ---------- */
.sheet-bg { position: fixed; inset: 0; background: rgba(29, 16, 50, .55); z-index: 20; opacity: 0; transition: opacity .25s; }
.sheet-bg.on { opacity: 1; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 21;
  max-width: 640px; max-height: 90vh; overflow: auto; margin: 0 auto;
  padding: 20px 18px calc(20px + var(--sab));
  background: var(--paper); border-radius: 22px 22px 0 0;
  transform: translateY(100%); transition: transform .3s var(--ease);
}
.sheet--wide { max-width: 980px; }
.sheet.on { transform: none; }
.sheet h2 { font: 800 1.25rem/1.2 var(--sans); margin: 0 0 10px; color: var(--navy); }
.sheet p, .sheet li { font-size: .92rem; }
.sheet ul { padding-left: 1.1em; margin: 0 0 12px; }
.sheet li { margin: 0 0 8px; }
.sheet__stand { width: 100%; border-radius: 10px; }
.toggles { display: grid; gap: 10px; margin: 6px 0 14px; }
.toggles--inline { margin: 16px 0 0; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); cursor: pointer; text-align: left; width: 100%; }
.toggle > span:first-child { font-weight: 800; color: var(--navy); }
.toggle i { font-style: normal; font-weight: 400; font-size: .78rem; color: var(--ink-2); display: block; }
.pill { min-width: 64px; padding: 6px 12px; border-radius: 99px; background: var(--quiet); font-size: .8rem; font-weight: 800; text-align: center; }
.toggle[aria-pressed="true"] .pill { background: var(--green-2); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- шкала с полосой (общая) ---------- */
.gauge { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: var(--paper-2); border: 1px solid var(--line); }
.gauge span { font-size: .85rem; color: var(--ink-2); }
.gauge__bar { height: 14px; border-radius: 7px; background: var(--quiet); overflow: hidden; }
.gauge__bar i { display: block; height: 100%; width: 0; background: var(--orange-2); transition: width .25s var(--ease); }
.gauge__bar i.good { background: var(--green-2); }
.gauge b { font: 900 1.05rem/1 var(--sans); min-width: 3.2em; text-align: right; color: var(--navy); }



/* ---------- общие детали Тропы здоровья ---------- */
.park-link {
  display: flex; align-items: center; gap: 10px; width: 100%;
  margin: 14px 0 0; min-height: 56px; padding: 12px 16px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--card);
  color: var(--navy); font: 700 .9rem/1.3 var(--sans); text-align: left; text-decoration: none; cursor: pointer;
}
.park-link svg { width: 22px; height: 22px; flex: none; color: var(--orange); }
.btn--stop { background: #b3261e; }
.how { position: relative; overflow: hidden; padding-bottom: 30px; }
.how::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background: var(--chev) repeat-x left center / 28px 14px; opacity: .9; }
.demo-flag { background: var(--navy); color: var(--peach); }
.seal { border-color: var(--peach); color: var(--navy); }
.seal { box-shadow: inset 0 0 0 6px rgba(251, 189, 81, .18); }
.invite { background: var(--navy); }
.invite b { color: var(--peach); }

/* карточка гостя после сертификата */
.guest { margin: 18px 0 0; padding: 16px 14px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.guest .h3 { margin-bottom: 10px; }
.guest__a { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.guest__b { min-height: 64px; font-size: .9rem; }
.guest--done p { margin: 0 0 4px; color: var(--ink-2); font-size: .9rem; }

/* ---------- станция 1: Кынгарга ---------- */
.v-lbl { font-size: 9px; font-weight: 800; fill: #fff; paint-order: stroke; stroke: rgba(20, 40, 50, .65); stroke-width: 3px; }
.v-dim text { font-size: 9px; font-weight: 800; fill: #fff; paint-order: stroke; stroke: #5a3a1c; stroke-width: 3px; }
.v-flow { font-size: 9px; font-weight: 700; fill: #fff; opacity: .85; }
.v-log { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.v-log li { display: grid; grid-template-columns: 28px auto 1fr; gap: 10px; align-items: center; padding: 8px 12px; border-radius: 12px; background: var(--paper-2); border: 1px solid var(--line); font-size: .85rem; }
.v-log li span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--quiet); font-weight: 800; font-size: .78rem; }
.v-log li b { font-variant-numeric: tabular-nums; color: var(--navy); }
.v-log li em { font-style: normal; color: var(--ink-2); }
.v-log li.ok { border-color: var(--green-2); background: var(--green-soft); }
.v-log li.ok span { background: var(--green-2); color: #fff; }
.v-log li.bad em { color: #9b2b22; }
.v-state { margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; background: #eaf5f7; color: var(--ink); font-size: .9rem; min-height: 3.2em; }
.v-state b { color: var(--water); }
.v-range { display: grid; gap: 8px; }
.v-range span { display: flex; justify-content: space-between; align-items: baseline; font-weight: 800; color: var(--navy); }
.v-range b { font: 900 1.3rem/1 var(--sans); font-variant-numeric: tabular-nums; }
.v-range input { width: 100%; height: 44px; accent-color: var(--water); }
.v-ticks { display: flex; justify-content: space-between; font-size: .72rem; color: var(--ink-2); }
.work__stage .v-range { margin-top: 12px; }
.v-pull { margin: 8px 0 0; font-size: .9rem; font-weight: 800; color: var(--water); }
.v-pull span { display: inline-block; animation: v-left 1s ease-in-out infinite; }
@keyframes v-left { 50% { transform: translateX(-6px); } }

/* подсказки замера: три шага, полоса для листка, палец, линии, кнопка под рекой */
.v-steps { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.v-steps li {
  display: flex; align-items: center; gap: 6px; padding: 6px 8px;
  border-radius: 10px; background: var(--paper-2); border: 1px solid var(--line);
  font-size: .74rem; font-weight: 700; line-height: 1.15; color: var(--ink-2);
  transition: background .2s, color .2s;
}
.v-steps i { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--quiet); font: 900 .75rem/1 var(--sans); color: var(--navy); }
.v-steps li.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.v-steps li.on i { background: var(--peach); }
.v-steps li.ok { color: var(--green); }
.v-steps li.ok i { background: var(--green-2); color: #fff; }
.v-zone { fill: rgba(251, 189, 81, .2); stroke: #fbbd51; stroke-width: 1.6; stroke-dasharray: 5 4; animation: v-zone 1.6s ease-in-out infinite; }
@keyframes v-zone { 50% { fill: rgba(251, 189, 81, .38); } }
.v-ripple { fill: none; stroke: #fff; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: v-ripple 1.4s ease-out infinite; }
@keyframes v-ripple { 0% { transform: scale(.4); opacity: .95; } 100% { transform: scale(2); opacity: 0; } }
.v-tap { animation: v-tap 1.4s ease-in-out infinite; }
@keyframes v-tap { 0%, 100% { transform: translate(1.5px, 3px); } 35% { transform: translate(0, 0); } }
.v-line { fill: none; stroke: #ffd36b; stroke-width: 1.2; stroke-dasharray: 4 4; opacity: .9; transition: stroke-width .15s; }
.v-line--near { stroke: #ffe9a8; stroke-width: 4; stroke-dasharray: none; opacity: 1; }
.v-blink { animation: v-blink .35s ease-in-out 2; }
@keyframes v-blink { 50% { opacity: .25; } }
.v-bar { display: grid; grid-template-columns: auto 1fr; gap: 8px; margin-top: 10px; }
.v-clock { display: grid; align-content: center; justify-items: center; min-width: 92px; padding: 6px 10px; border-radius: var(--r); background: var(--paper-2); border: 1px solid var(--line); }
.v-clock b { font: 900 1.35rem/1.1 var(--sans); color: var(--navy); font-variant-numeric: tabular-nums; }
.v-clock small { font-size: .66rem; color: var(--ink-2); }
.v-go { flex-direction: column; gap: 0; font-size: 1.1rem; }
.v-go small { font-weight: 500; font-size: .74rem; opacity: .9; }
.v-go--now { animation: pulse .9s ease-out infinite; }

/* ---------- станция 8: разлом ---------- */
.r-sec { background: #f3efe6; }
.r-lbl { font-size: 10px; font-weight: 800; fill: var(--navy); paint-order: stroke; stroke: #fff; stroke-width: 3px; }
.r-lbl--f { fill: #b3261e; font-size: 9px; }
.r-lbl--s { fill: var(--water); font-size: 11px; }
.r-lbl--w { fill: #fff; stroke: rgba(46, 17, 86, .55); font-size: 9px; }
.r-fall { stroke-dasharray: 3 3; animation: r-fall .6s linear infinite; }
@keyframes r-fall { to { stroke-dashoffset: -6; } }
.r-meters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; }
.r-meters div { padding: 8px 10px; border-radius: 12px; background: var(--paper-2); border: 1px solid var(--line); }
.r-meters small { display: block; font-size: .66rem; color: var(--ink-2); line-height: 1.2; }
.r-meters b { display: block; font: 900 1rem/1.2 var(--sans); color: var(--navy); font-variant-numeric: tabular-nums; }
.r-node { cursor: pointer; outline: none; }
.r-dot { fill: var(--peach); stroke: #fff; stroke-width: 2; animation: r-dot 1.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.r-node:focus-visible .r-dot { stroke: var(--navy); stroke-width: 3; }
@keyframes r-dot { 50% { transform: scale(1.35); } }


/* ---------- станция 2: птицы с ладони ---------- */
.l-food { margin-top: 2px; }
.l-pick { min-height: 96px; grid-template-rows: 40px auto; align-content: center; font-size: .8rem; }
.l-gauge { margin-top: 8px; }
.l-crack { cursor: default; }
.scene--tap .l-crack { cursor: pointer; }
.l-crack--ok .l-gap { fill: #4f8f6a; }
.l-crack--no { animation: shake .4s; }
.l-crack--hint .l-gap { animation: l-hint 1.4s ease-in-out infinite; }
@keyframes l-hint { 50% { fill: #b5762a; } }
.l-crack:focus-visible { outline: none; }
.l-crack:focus-visible .l-gap { stroke: var(--peach); stroke-width: 2; }
