/* Вулиця-стежка (режим core): docs/design/screens/town-street.md, кроки 1–3.
   Розміри всередині .ts-col — в одиницях вулиці (оу); масштаб — transform: scale(var(--ts-s)).
   Не zoom: у Chromium збільшені zoom-ом гліфи потрапляють у спільний кеш і на інших сторінках текст
   растеризується інакше (знімки ярмарку й арени розходились на субпікселі). */

.ts {
  position: fixed; inset: 0; margin: 0; z-index: 0;
  --ts-road: #e8d9bc; --ts-road-edge: #d6c3a0; --ts-grass: #9cc98a; --ts-grass-far: #b9dca6;
  --ts-glow: rgba(242, 182, 50, .35); --ts-fog: rgba(242, 247, 236, .84);
  --ts-surface: #fffaf1; --ts-text: #3b2a1e; --ts-muted: #7a6553; --ts-outline: #3b2f2a;
  --ts-accent: #b4532e; --ts-accent-deep: #94411f; --ts-success: #2d6b46; --ts-yellow: #f2b632;
  --ts-plate-muted: rgba(59, 47, 42, .45);
  font-family: var(--font-round, inherit);
}
html[data-event="ny"] .ts { --ts-grass: #eef4f8; --ts-grass-far: #e4edf3; }

.ts-view {
  position: absolute; inset: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch; scrollbar-width: none; outline: none;
  background: var(--ts-grass-far);
  scroll-padding-top: var(--tf-inset-t); scroll-padding-bottom: var(--tf-inset-b);
}
.ts-view::-webkit-scrollbar { display: none; }
.ts-view:focus-visible { box-shadow: inset 0 0 0 3px var(--ts-text); }

.ts-scene { position: relative; width: 100%; isolation: isolate; }
.ts-field { position: absolute; left: 0; top: 0; display: block; pointer-events: none; z-index: 0; }
/* Тонування: у колонці — над артом, туманом і фігурами, під табличками (z 5); окремий шар — над полем поза колонкою */
.ts-tint { position: absolute; inset: 0; z-index: 5; pointer-events: none; transition: background .8s; }
.ts-tint-field { z-index: 0; }
html[data-time="evening"] .ts-tint { background: linear-gradient(180deg, rgba(255, 140, 70, .16), rgba(255, 190, 120, .08)); }
html[data-time="night"] .ts-tint { background: rgba(18, 28, 64, .38); }

/* Колонка: на телефоні 360·s по центру, ширше — 448·s по центру зони вулиці (між рейкою й панеллю) */
.ts-colwrap {
  position: absolute; width: var(--ts-colw);
  left: calc(var(--tf-inset-l) + (100% - var(--tf-inset-l) - var(--tf-inset-r) - var(--ts-colw)) / 2);
  transition: left .25s var(--ease, ease);
}
.ts-col { position: relative; width: 360px; background: var(--ts-grass); transform: scale(var(--ts-s)); transform-origin: 0 0; }
.ts-colwrap.wide .ts-col { width: 448px; }
.ts-street { position: relative; width: 360px; }
.ts-colwrap.wide .ts-street { margin-left: 44px; }
.ts-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.ts-road { position: absolute; left: 0; top: 0; display: block; pointer-events: none; z-index: 0; }
.ts-road path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ts-road-edge { stroke: var(--ts-road-edge); stroke-width: 50; }
.ts-road-fill { stroke: var(--ts-road); stroke-width: 44; }
.ts-road-mark { stroke: #fff; stroke-width: 3; stroke-dasharray: 10 12; }

.ts-fog {
  position: absolute; left: 0; right: 0; top: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(to bottom, var(--ts-fog) 0, var(--ts-fog) calc(100% - 200px), rgba(242, 247, 236, 0) 100%);
}

.ts-street-list { list-style: none; margin: 0; padding: 0; }
.ts-row { position: absolute; left: 0; width: 360px; }

/* Шари (§10): арт 1–2, туман 3, фігури 4, тонування 5, таблички й бульбашки 6, «Будувати» 8 */
.ts-art { position: absolute; z-index: 1; display: block; pointer-events: none; }
.ts-art > svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ts-art.lazy > svg { opacity: .5; }
.ts-faint { opacity: .6; }
.ts-slot { position: absolute; width: 64px; height: 64px; z-index: 1; pointer-events: none; }
.ts-slot > svg, .ts-decor { display: block; overflow: visible; }
.ts-hall-tree, .ts-lamp { position: absolute; z-index: 1; pointer-events: none; overflow: visible; }
.ts-gate-art { position: absolute; left: 0; top: 0; z-index: 1; overflow: visible; pointer-events: none; }
.ts-glow { position: absolute; width: 180px; height: 40px; border-radius: 50%; background: var(--ts-glow); z-index: 1; pointer-events: none; }
.ts-fox { position: absolute; width: 52px; height: 60px; z-index: 4; pointer-events: none; }
/* бобер у своїй рамці має поля під лампочку й підняті лапи — на вулиці збільшуємо від ніг */
.ts-fox .ts-fox-svg { width: 100%; height: 100%; display: block; transform: scale(1.4); transform-origin: 50% 100%; }
.ts-hall .ts-art { z-index: 4; } /* Ратушу видно крізь туман */
.ts-hall-art.ta-lit [fill="#9fd3f0"] { fill: #ffd56b; }
.ts-xmas { position: absolute; z-index: 4; padding: 0; border: 0; background: none; width: 98px; height: 96px; cursor: pointer; }
.ts-xmas > svg { display: block; overflow: visible; }
/* Жителі й призи residents.js (§2.7): шар фігур, під тонуванням; бульбашка «…» — лише в одного в кадрі */
.ts-figs { position: absolute; left: 0; top: 0; width: 360px; height: 0; }
.ts-figs .rs-npc, .ts-figs .rs-prize { z-index: 4; }
.ts-figs .rs-prize.fly { z-index: 4; }
.ts-mute .rs-mark { display: none; }

/* Вечір і ніч: світло у вікнах (як на панорамі) */
html[data-time="evening"] .ts-street [fill="#9fd3f0"], html[data-time="night"] .ts-street [fill="#9fd3f0"] { fill: #ffd36b; }
html[data-time="night"] .ts-street [fill="#e3f4fc"] { fill: #fff2c2; }

/* ---------- ділянка-кнопка ---------- */
.ts-plot {
  position: absolute; width: 140px; height: 150px; padding: 0; margin: 0; border: 0; border-radius: 16px;
  background: none; color: var(--ts-text); font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.ts-plot:focus-visible { outline: 3px solid var(--ts-text); outline-offset: 3px; }
.ts-siteplot { border-radius: 20px; }
.ts-landmark { border-radius: 20px; }

.ts-plate {
  position: absolute; z-index: 6; left: 50%; top: 108px; transform: translateX(-50%);
  max-width: 140px; width: max-content; box-sizing: border-box;
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  padding: 3px 10px 4px; border-radius: 12px; background: var(--ts-surface); border: 2px solid var(--ts-outline);
  font-size: 14px; font-weight: 800; line-height: 1.2; text-align: center; color: var(--ts-text);
}
.ts-pt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-wrap: balance; overflow-wrap: anywhere; }
.ts-plate .ts-stars { display: block; margin-top: 1px; }
.ts-plate small { display: block; font-size: 12px; font-weight: 700; color: var(--ts-muted); }
.ts-plate.muted { color: var(--ts-muted); border-color: var(--ts-plate-muted); }
.ts-plate.open { border-color: var(--ts-success); }
.ts-flag { display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; font-size: 12px; font-weight: 800; color: var(--ts-success); }
.ts-flag svg { width: 12px; height: 12px; }
.ts-hall .ts-plate { top: 146px; }

/* ---------- маркер справи (§3.1): коло 44, зона дотику 48, без числа й червоного ---------- */
.ts-errand {
  position: absolute; z-index: 6; width: 44px; height: 44px; padding: 0; margin: 0; border-radius: 50%;
  display: grid; place-items: center; background: var(--ts-surface); border: 2px solid var(--ts-outline); color: var(--ts-text);
  box-shadow: 0 3px 0 rgba(90, 60, 30, .18); cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.ts-errand::before { content: ""; position: absolute; inset: -4px; border-radius: 50%; }
.ts-errand svg { width: 24px; height: 24px; }
.ts-errand:focus-visible { outline: 3px solid var(--ts-text); outline-offset: 3px; }
.ts-errand.ts-bounce, .ts-badge.ts-bounce { animation: ts-bounce .9s var(--ease, ease) 1; }

/* ---------- площі особливих будівель (§2.4, §3.7) ---------- */
.ts-plaza-floor { position: absolute; left: 0; top: 0; z-index: 0; overflow: visible; pointer-events: none; }
.ts-paving { fill: var(--ts-road); stroke: var(--ts-road-edge); stroke-width: 2; }
.ts-lm-art, .ts-fair-art { position: absolute; z-index: 4; pointer-events: none; overflow: visible; } /* відкрите місце видно крізь туман */
.ts-lm-art.ts-locked, .ts-fair-art.ts-locked { z-index: 1; filter: grayscale(1) contrast(.5) brightness(1.25); opacity: .5; }
.ts-plaza .ts-plate { top: 148px; }
.ts-badge {
  position: absolute; z-index: 7; height: 28px; padding: 0 10px; border-radius: 999px; box-sizing: border-box;
  display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; pointer-events: none;
  background: var(--ts-yellow); color: var(--ts-text); font-size: 12px; font-weight: 800; box-shadow: 0 0 0 2px var(--ts-outline);
}
.ts-badge svg { width: 14px; height: 14px; }

/* ---------- прибуття після уроку (§6.2) ---------- */
.ts-arrive .ts-art:not(.ts-scaf) { transform-origin: 50% 100%; animation: ts-rise .45s var(--ease, ease) both; }
.ts-arrive.again .ts-art:not(.ts-scaf) { animation-name: ts-grow; }
.ts-scaf { animation: ts-fade .45s var(--ease, ease) both; }
.ts-st-new { transform-box: fill-box; transform-origin: 50% 50%; animation: ts-star .24s var(--ease, ease) .3s both; }
.ts-arriving .ts-build, .ts-arriving .ts-site .ts-bubble, .ts-arriving .ts-site .ts-fox,
.ts-arriving .ts-hall .ts-bubble, .ts-arriving .ts-hall .ts-fox, .ts-arriving .ts-choose { opacity: 0; transition: none; }
html .ts-street .btn.ts-build { transition: opacity .25s, transform .12s, box-shadow .12s; }
.ts-site .ts-bubble, .ts-hall .ts-bubble { transition: opacity .25s; }
.ts-walker { position: absolute; left: 0; top: 0; width: 52px; height: 60px; z-index: 4; pointer-events: none; }
.ts-walker-in { display: block; width: 100%; height: 100%; transform-origin: 50% 100%; animation: ts-wobble .3s ease-in-out infinite alternate; }
.ts-walker .ts-fox-svg { width: 100%; height: 100%; display: block; transform: scale(1.4); transform-origin: 50% 100%; }
@keyframes ts-rise { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }
@keyframes ts-grow { from { transform: scale(1.06); } to { transform: none; } }
@keyframes ts-fade { from { opacity: 1; } to { opacity: 0; } }
@keyframes ts-star { 0% { transform: scale(0); } 60% { transform: scale(1.2); } 100% { transform: none; } }
@keyframes ts-wobble { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }

/* ---------- табличка кварталу ---------- */
.ts-qsign {
  position: absolute; z-index: 6; left: 50%; top: 14px; transform: translateX(-50%);
  height: 44px; max-width: 340px; width: max-content; box-sizing: border-box;
  display: flex; align-items: center; gap: 10px; padding: 0 14px 0 0; overflow: hidden; white-space: nowrap;
  border-radius: 999px; background: var(--ts-surface); border: 2px solid var(--ts-outline); color: var(--ts-text);
}
.ts-qsign > i { display: block; width: 10px; align-self: stretch; background: var(--c); flex: none; }
.ts-qsign b { font-size: 16px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ts-qsign.future b { color: var(--ts-muted); }
.ts-qcount { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 800; color: var(--ts-muted); flex: none; }
.ts-qcount svg { width: 14px; height: 14px; }
.ts-qok { display: inline-flex; color: var(--ts-success); }
.ts-new { font-style: normal; font-size: 12px; font-weight: 800; color: #fff; background: var(--ts-success); border-radius: 999px; padding: 2px 8px; flex: none; }

/* ---------- бульбашка Бобра ---------- */
.ts-bubble {
  position: absolute; z-index: 7; transform: translateX(-50%); max-width: 220px; width: max-content; box-sizing: border-box;
  padding: 6px 14px; border-radius: 16px; background: var(--ts-surface); border: 2px solid var(--ts-outline);
  text-align: center; color: var(--ts-text); pointer-events: none;
}
.ts-bubble b { display: block; font-size: 15px; font-weight: 800; line-height: 1.25; }
.ts-bubble b em { font-style: normal; color: var(--ts-accent); }
.ts-bubble small { display: block; font-size: 13px; font-weight: 700; color: var(--ts-muted); line-height: 1.25; }
.ts-bubble::after {
  content: ""; position: absolute; bottom: -8px; width: 12px; height: 12px; margin-left: -6px;
  left: clamp(24px, calc(50% + var(--tail, 0px)), calc(100% - 24px));
  background: var(--ts-surface); border-right: 2px solid var(--ts-outline); border-bottom: 2px solid var(--ts-outline); transform: rotate(45deg);
}

/* ---------- «Будувати» — єдина така кнопка на вулиці ---------- */
.btn.ts-build {
  position: absolute; z-index: 8; left: 180px; transform: translateX(-50%);
  min-width: 220px; height: 56px; padding: 0 28px; margin: 0; border: 0; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap;
  background: var(--ts-accent); color: #fff; font: inherit; font-size: 20px; font-weight: 800;
  box-shadow: 0 4px 0 var(--ts-accent-deep);
}
.btn.ts-build svg { width: 20px; height: 20px; }
.btn.ts-build:active { transform: translateX(-50%) translateY(2px); box-shadow: 0 2px 0 var(--ts-accent-deep); }
.btn.ts-build:focus-visible { outline: 3px solid var(--ts-text); outline-offset: 3px; }

/* ---------- пігулка «До будмайданчика» (§4.3) ---------- */
.ts-tosite {
  position: fixed; z-index: 21; transform: translateX(-50%);
  left: calc(var(--tf-inset-l) + (100vw - var(--tf-inset-l) - var(--tf-inset-r)) / 2);
  height: 48px; max-width: calc(100% - 32px); padding: 0 18px; border: 0; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  background: var(--ts-surface); color: var(--ts-text); box-shadow: var(--glass-edge), var(--glass-shadow);
  font: inherit; font-size: 15px; font-weight: 800; cursor: pointer;
  opacity: 1; transition: opacity .15s, visibility 0s, left .25s var(--ease, ease);
}
.ts-tosite svg { width: 18px; height: 18px; flex: none; }
.ts-tosite.up { top: calc(var(--tf-inset-t) + 8px); }
/* знизу — над колом «Справи» з підписом (телефон); ширше «Справи» праворуч, пігулка — низько */
.ts-tosite.down { bottom: calc(168px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 701px) { .ts-tosite.down { bottom: calc(24px + env(safe-area-inset-bottom, 0px)); } }
.ts-tosite.off { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .15s, visibility 0s .15s; }
.ts-tosite:focus-visible { outline: 3px solid var(--ts-text); outline-offset: 3px; }

/* ---------- листи будівлі й Ратуші ---------- */
.ts-sheet-wrap .sheet { text-align: center; padding-top: 8px; }
.ts-sheet-wrap .ts-x { position: absolute; top: 10px; right: 10px; width: 48px; height: 48px; }
.ts-sheet-wrap .ts-x svg { width: 16px; height: 16px; }
.ts-sh-art { width: 160px; height: 160px; margin: 4px auto 0; }
.ts-sh-art > svg { width: 100%; height: 100%; display: block; }
.ts-sh-art.ta-lit [fill="#9fd3f0"] { fill: #ffd56b; }
.ts-sheet-wrap h2 { margin: 6px 0 2px; font-size: 22px; font-weight: 800; outline: none; }
.ts-sh-muted { margin: 0 0 6px; font-size: 15px; color: var(--label2); }
.ts-sh-text { margin: 6px 0; font-size: 16px; line-height: 1.4; }
.ts-sh-stars { display: flex; justify-content: center; margin: 2px 0 8px; }
.ts-sh-h { margin: 8px 0 6px; font-size: 15px; font-weight: 800; text-align: left; }
.ts-sh-words { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.ts-chip { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 0 10px; border-radius: 999px; background: var(--fill); font-size: 14px; font-weight: 700; }
.btn.ts-sh-go { margin-top: 10px; min-height: 56px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.btn.ts-sh-go svg { width: 18px; height: 18px; flex: none; }
.btn.ts-sh-go small { font-size: 13px; font-weight: 700; opacity: .85; }
/* Справа згори листа будівлі (§3.8) */
.ts-sh-errand { display: flex; align-items: center; gap: 12px; margin: 4px 56px 6px 0; text-align: left; }
.ts-sh-eic { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #fffaf1; border: 2px solid #3b2f2a; color: #3b2a1e; box-sizing: border-box; }
.ts-sh-eic svg { width: 24px; height: 24px; }
.ts-sh-etx { display: flex; flex-direction: column; min-width: 0; }
.ts-sh-etx b { font-size: 15px; font-weight: 800; line-height: 1.25; }
.ts-sh-etx small { font-size: 14px; color: var(--label2); }
/* Прикраси: компонент .mu-decor з музею */
.ts-sh-decor { justify-content: center; }
.ts-sh-next { margin: 6px 0 2px; font-size: 15px; line-height: 1.35; }
.ts-sh-next b { font-weight: 800; }
/* Головна кнопка листа будівлі лишається на видноті, коли вміст гортається */
.ts-sh-act { position: sticky; bottom: -18px; margin: 0 -14px -18px; padding: 0 14px 18px; background: var(--glass-strong, #fffaf1); }
html[data-theme="town"] .btn.ts-sh-go { background: #b4532e; color: #fff; box-shadow: 0 4px 0 #94411f; } /* лист — поза .ts: без її змінних */

@media (prefers-reduced-motion: reduce) {
  .ts-colwrap, .ts-tosite, .ts-tint, .ts-build, .ts-bubble { transition: none; }
  .ts-fab.ts-bounce .ts-fab-c, .ts-errand.ts-bounce, .ts-badge.ts-bounce, .ts-arrive .ts-art, .ts-st-new, .ts-walker-in { animation: none; }
}
html.no-motion .ts-colwrap, html.no-motion .ts-tosite, html.no-motion .ts-tint { transition: none; }

/* ---------- оболонка вулиці (§5): зона без шторки, меню, «Справи» ---------- */
/* Зона вулиці = екран без шапки й меню (§2.6) */
.layout.tf.ts-shell {
  --tf-inset-t: calc(72px + env(safe-area-inset-top, 0px)); --tf-inset-b: calc(84px + env(safe-area-inset-bottom, 0px));
  --tf-inset-l: 0px; --tf-inset-r: 0px;
}
@media (min-width: 701px) {
  .layout.tf.ts-shell {
    --tf-inset-t: calc(88px + env(safe-area-inset-top, 0px)); --tf-inset-b: calc(16px + env(safe-area-inset-bottom, 0px));
    --tf-inset-l: calc(116px + env(safe-area-inset-left, 0px)); --tf-inset-r: calc(16px + env(safe-area-inset-right, 0px));
  }
}
@media (min-width: 1101px) {
  .layout.tf.ts-shell { --tf-inset-t: 88px; --tf-inset-b: 16px; --tf-inset-l: calc(116px + env(safe-area-inset-left, 0px)); --tf-inset-r: 372px; }
  .layout.tf.ts-shell.tf-aside-collapsed { --tf-inset-r: 16px; }
}
/* Меню телефона — окремо внизу, не ховається */
.layout.tf.ts-shell > .mobile-nav { min-height: 64px; z-index: 30; }

/* Кругла кнопка «Справи» (§5.3) */
.ts-fab {
  position: fixed; z-index: 25; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(86px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 0; margin: 0; border: 0; background: none;
  font: inherit; color: #3b2a1e; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
@media (min-width: 701px) { .ts-fab { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); } }
.ts-fab-c, .ts-pill-c { position: relative; display: grid; place-items: center; border-radius: 50%; color: #3b2a1e; }
.ts-fab-c {
  width: 56px; height: 56px; background: #fffaf1;
  box-shadow: inset 0 0 0 1.5px rgba(90, 60, 30, .14), 0 3px 0 rgba(90, 60, 30, .10), 0 14px 30px rgba(90, 60, 30, .10);
}
.ts-fab-c > svg.sf { width: 24px; height: 24px; }
.ts-fab-ring { position: absolute; inset: 0; display: block; pointer-events: none; }
.ts-fab-gift {
  position: absolute; right: -4px; top: -4px; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; background: #f2b632; color: #3b2a1e; box-shadow: 0 0 0 2px #fff;
}
.ts-fab-gift svg { width: 16px; height: 16px; }
.ts-fab-lbl {
  font-size: 12px; font-weight: 800; line-height: 18px; padding: 0 8px; border-radius: 999px;
  background: #fffaf1; box-shadow: inset 0 0 0 1.5px rgba(90, 60, 30, .14); color: #3b2a1e;
}
.ts-fab:focus-visible { outline: none; }
.ts-fab:focus-visible .ts-fab-c { outline: 3px solid #3b2a1e; outline-offset: 3px; }
.ts-fab.ts-bounce .ts-fab-c { animation: ts-bounce .9s var(--ease, ease) 1; }
@keyframes ts-bounce { 0%, 50%, 100% { transform: translateY(0); } 25%, 75% { transform: translateY(-6px); } }

/* Згорнута панель на комп'ютері: кільце 32 + «Справи» + скринька */
.tf-aside-pill .ts-pill-toggle { position: relative; gap: 8px; padding: 0 12px 0 10px; font-size: 14px; font-weight: 800; }
.ts-pill-c { width: 32px; height: 32px; background: #fffaf1; }
.ts-pill-c > svg.sf { width: 18px; height: 18px; }
.ts-pill-toggle .ts-fab-gift { position: static; width: 22px; height: 22px; box-shadow: none; }
.ts-pill-toggle .ts-fab-gift svg { width: 14px; height: 14px; }

/* Лист «Справи» (≤ 1100) і права панель (≥ 1101) — той самий вміст (§5.4) */
.ts-errands { text-align: left; max-height: 86dvh; }
@media (min-width: 701px) {
  .ts-errands-wrap { align-items: flex-end; }
  .ts-errands-wrap .ts-errands { margin-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
}
.ts-errands-wrap.stay .sheet, .ts-errands-wrap.stay .sheet-back { animation: none; } /* перемальовування не повторює появу */
.ts-errands .sheet-head h2 { font-size: 24px; font-weight: 800; outline: none; }
.ts-errands .ts-e-x { width: 48px; height: 48px; display: grid; place-items: center; }
.ts-e-body { display: flex; flex-direction: column; gap: 16px; padding: 0 2px 4px; }
.ts-sec { display: flex; flex-direction: column; gap: 10px; }
.ts-sec > * { margin: 0 !important; }
.ts-sec-h { font-size: 15px; font-weight: 800; color: var(--label2); }
.ts-aside .tf-aside-body { gap: 16px; }
.ts-e-all {
  min-height: 48px; padding: 0 16px; border: 0; border-radius: 999px; align-self: flex-start;
  background: var(--fill); color: var(--label); font: inherit; font-size: 15px; font-weight: 800; cursor: pointer;
}
.ts-e-all:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
