/* ============================================================
   Дизайн в духе Samsung One UI + моушен по принципам Emil Kowalski.
   Цвета: сначала тема Telegram (--tg-theme-*), иначе палитра One UI.
   ============================================================ */
:root {
  /* палитра One UI (запасная, если открыто не в Telegram) */
  --oui-bg: #f2f2f2;
  --oui-card: #fcfcfc;
  --oui-text: #010101;
  --oui-hint: #8a8a8e;
  --oui-accent: #387af5;
  --oui-accent-text: #ffffff;
  --oui-danger: #e5484d;
  --oui-sep: rgba(0, 0, 0, .08);

  --bg: var(--tg-theme-secondary-bg-color, var(--oui-bg));
  --card: var(--tg-theme-section-bg-color, var(--tg-theme-bg-color, var(--oui-card)));
  --text: var(--tg-theme-text-color, var(--oui-text));
  --hint: var(--tg-theme-hint-color, var(--oui-hint));
  --link: var(--tg-theme-link-color, var(--oui-accent));
  --accent: var(--tg-theme-button-color, var(--oui-accent));
  --accent-text: var(--tg-theme-button-text-color, var(--oui-accent-text));
  --danger: var(--tg-theme-destructive-text-color, var(--oui-danger));
  --sep: var(--tg-theme-section-separator-color, var(--oui-sep));
  --soft: color-mix(in srgb, var(--accent) 13%, transparent);
  --fill: color-mix(in srgb, var(--text) 6%, transparent);
  --ok: #2e9e5b;
  --warn: #d98a00;

  /* формы One UI: крупные скругления, «таблетки» */
  --r-card: 26px;
  --r-ctl: 16px;
  --r-pill: 999px;
  --tabbar-h: 68px;
  --appbar-h: 56px;

  /* моушен: только эти кривые (strong ease-out / ease-in-out / drawer) */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --t-press: 160ms;
  --t-ui: 220ms;
  --t-sheet: 450ms;

  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --oui-bg: #000000;
    --oui-card: #171717;
    --oui-text: #fafafa;
    --oui-hint: #8e8e93;
    --oui-accent: #3e91ff;
    --oui-sep: rgba(255, 255, 255, .1);
  }
}

/* ---------- база (mobile-native) ---------- */
* { box-sizing: border-box; }
html {
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  overscroll-behavior: none;
  background: var(--bg);
}
html, body { margin: 0; color: var(--text); }
body {
  background: var(--bg);
  font: 16px/1.42 "SamsungOne", "Samsung Sans", "SamsungOneUI", Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  min-height: 100dvh;
  padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px) + 16px);
}
button, input, textarea, select { font: inherit; color: inherit; }
input, textarea, select { font-size: 16px; } /* иначе iOS зумит страницу при фокусе */
button, a, [role="button"], .tap, .cal-day, .slot, #tabbar button {
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
a { color: var(--link); text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.25; letter-spacing: -.01em; }
h1 { font-size: 24px; font-weight: 700; }
h2 { font-size: 19px; font-weight: 700; }
h3 { font-size: 16px; font-weight: 600; }
.hint { color: var(--hint); font-size: 14px; }
.muted { color: var(--hint); }
.center { text-align: center; }
.row { display: flex; align-items: center; gap: 8px; }
.row.wrap { flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
.stack > * + * { margin-top: 14px; }
.hidden { display: none !important; }

/* ---------- One UI: компактная панель + крупный заголовок ---------- */
#appbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  height: calc(var(--appbar-h) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) 16px 0;
  display: flex; align-items: center; gap: 8px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.6) blur(18px);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid transparent;
  opacity: 0; transform: translateY(-6px); pointer-events: none;
  transition: opacity var(--t-ui) var(--ease-out), transform var(--t-ui) var(--ease-out), border-color var(--t-ui) ease;
}
#appbar.shown { opacity: 1; transform: none; pointer-events: auto; border-bottom-color: var(--sep); }
#appbar-title { flex: 1; font-size: 19px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

#hero {
  /* «зона просмотра» One UI: заголовок опущен вниз, к большому пальцу */
  min-height: clamp(150px, 26vh, 230px);
  padding: calc(28px + env(safe-area-inset-top, 0px)) 24px 18px;
  display: flex; flex-direction: column; justify-content: flex-end;
  max-width: 640px; margin: 0 auto;
}
#hero .hero-row { display: flex; align-items: flex-end; gap: 12px; }
#hero-title { font-size: 34px; font-weight: 700; line-height: 1.12; letter-spacing: -.02em; flex: 1; }
#hero-sub { margin-top: 8px; color: var(--hint); font-size: 15px; }
#hero-title, #hero-sub { transition: opacity var(--t-ui) var(--ease-out); }

#view { padding: 0 12px; max-width: 640px; margin: 0 auto; }
.section-title { margin: 22px 12px 8px; font-size: 14px; font-weight: 600; color: var(--accent); }

/* ---------- карточки ---------- */
.card { background: var(--card); border-radius: var(--r-card); padding: 18px; }
.card + .card { margin-top: 10px; }
.card.tap { cursor: pointer; transition: transform var(--t-press) var(--ease-out), background-color var(--t-press) ease; }
.card.tap:active { transform: scale(.98); background: color-mix(in srgb, var(--card) 92%, var(--text)); }

/* ---------- кнопки (таблетки One UI) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 0; border-radius: var(--r-pill); padding: 13px 20px; min-height: 48px; cursor: pointer;
  background: var(--accent); color: var(--accent-text); font-weight: 600; font-size: 16px;
  transition: transform var(--t-press) var(--ease-out), opacity var(--t-press) ease, background-color var(--t-press) ease;
}
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .45; cursor: default; transform: none; }
.btn.block { width: 100%; }
.btn.secondary { background: var(--soft); color: var(--accent); }
.btn.ghost { background: transparent; color: var(--accent); padding: 8px 12px; min-height: 40px; }
.btn.danger { background: color-mix(in srgb, var(--danger) 12%, transparent); color: var(--danger); }
.btn.small { padding: 8px 16px; min-height: 38px; font-size: 15px; }
.btn-row { display: flex; gap: 8px; }
.btn-row > .btn { flex: 1; }

/* ---------- поля ---------- */
.field { display: block; }
.field > span { display: block; font-size: 14px; font-weight: 600; color: var(--hint); margin: 0 6px 8px; }
.input, textarea.input, select.input {
  width: 100%; border: 1.5px solid transparent; background: var(--fill);
  border-radius: var(--r-ctl); padding: 13px 14px; outline: none;
  transition: border-color var(--t-press) ease, background-color var(--t-press) ease;
}
.input:focus { border-color: var(--accent); background: transparent; }
textarea.input { resize: vertical; min-height: 84px; }
.input.time { width: auto; min-width: 104px; padding: 9px 12px; }

/* переключатель One UI */
.switch { position: relative; width: 50px; height: 30px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch i { position: absolute; inset: 0; border-radius: 15px; background: var(--sep); border: 2px solid var(--hint); transition: background-color var(--t-ui) ease, border-color var(--t-ui) ease; }
.switch i::after {
  content: ""; position: absolute; top: 4px; left: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--hint); transition: transform var(--t-ui) var(--ease-out), background-color var(--t-ui) ease;
}
.switch input:checked + i { background: var(--accent); border-color: var(--accent); }
.switch input:checked + i::after { transform: translateX(20px); background: #fff; }

/* вкладки-сегменты One UI: цветная пилюля под активной вкладкой переезжает пружиной.
   .seg-active — копия подписей в активном цвете, видна только внутри clip-path (см. segments() в core.js) */
.segments { background: var(--card); padding: 5px; border-radius: var(--r-pill); overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.segments::-webkit-scrollbar { display: none; }
.segments.compact { background: var(--fill); }
.seg-track { position: relative; display: flex; gap: 4px; min-width: 100%; width: max-content; }
.seg-track > button, .seg-active > span {
  flex: 1 0 auto; padding: 9px 16px; border-radius: var(--r-pill); white-space: nowrap; text-align: center;
  font-weight: 600; font-size: 15px; line-height: 1.42;
}
.seg-track > button { border: 0; background: transparent; color: var(--hint); cursor: pointer; transition: opacity var(--t-press) ease; }
.seg-track > button:active { opacity: .6; }
.seg-active {
  position: absolute; inset: 0; display: flex; gap: 4px; pointer-events: none;
  background: var(--accent); color: var(--accent-text);
  clip-path: inset(0 100% 0 0 round 999px);
  will-change: clip-path;
}

/* ---------- нижняя навигация One UI ---------- */
#tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: flex; padding: 6px 2px env(safe-area-inset-bottom, 0px);
  height: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px));
  background: color-mix(in srgb, var(--card) 90%, transparent);
  backdrop-filter: saturate(1.6) blur(18px);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  border-top: 1px solid var(--sep);
}
#tabbar button {
  flex: 1; border: 0; background: none; cursor: pointer; color: var(--hint); min-width: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  font-size: 11px; font-weight: 600; letter-spacing: -.01em; padding: 0 1px;
}
#tabbar .pill {
  position: relative; width: 56px; height: 32px; display: grid; place-items: center;
}
#tabbar .pill::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--r-pill); background: var(--soft);
  opacity: 0; transform: scaleX(.55);
  transition: opacity var(--t-ui) var(--ease-out), transform var(--t-ui) var(--ease-out);
}
#tabbar svg { position: relative; width: 24px; height: 24px; transition: transform var(--t-press) var(--ease-out); }
#tabbar button:active svg { transform: scale(.88); }
#tabbar button.active { color: var(--accent); }
#tabbar button.active .pill::before { opacity: 1; transform: none; }
#tabbar .lbl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

.ico { width: 22px; height: 22px; flex: none; }
svg.ico, #tabbar svg { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- календарь ---------- */
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-head h2 { text-transform: capitalize; }
.cal-nav {
  width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--fill); color: var(--text); font-size: 20px; cursor: pointer;
  transition: transform var(--t-press) var(--ease-out), opacity var(--t-press) ease;
}
.cal-nav:active { transform: scale(.9); }
.cal-nav:disabled { opacity: .3; transform: none; }
.cal-body { touch-action: pan-y; } /* горизонтальный свайп листает месяцы */
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-wd { text-align: center; font-size: 13px; color: var(--hint); padding: 4px 0; font-weight: 600; }
.cal-wd:nth-child(7) { color: var(--danger); }
.cal-day {
  aspect-ratio: 1; border: 0; border-radius: 50%; background: transparent; cursor: pointer; font-size: 16px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; font-weight: 600;
  transition: background-color var(--t-press) ease, color var(--t-press) ease, transform var(--t-press) var(--ease-out);
}
.cal-day:active { transform: scale(.9); }
.cal-day small { font-size: 10px; font-weight: 500; color: var(--hint); line-height: 1; margin-top: 2px; }
.cal-day.free { background: var(--soft); color: var(--accent); }
.cal-day.full { color: var(--hint); text-decoration: line-through; }
.cal-day.off, .cal-day.past, .cal-day.closed { color: var(--hint); opacity: .45; cursor: default; }
.cal-day:disabled:active { transform: none; }
.cal-day.today::after { content: ""; position: absolute; bottom: 5px; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.cal-day.selected { background: var(--accent); color: var(--accent-text); opacity: 1; }
.cal-day.selected small { color: var(--accent-text); }
.cal-day.exception { box-shadow: inset 0 0 0 2px var(--warn); }
.admin .cal-day { border-radius: 14px; }
.admin .cal-day.off, .admin .cal-day.past, .admin .cal-day.closed { cursor: pointer; opacity: .55; }
.cal-legend { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; font-size: 13px; color: var(--hint); }
.cal-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; border: 1px solid var(--sep); }

/* ---------- слоты ---------- */
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.slot {
  border: 0; background: var(--soft); color: var(--accent); border-radius: var(--r-pill); padding: 12px 0; font-weight: 700; font-size: 16px; cursor: pointer;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-press) ease, color var(--t-press) ease;
}
.slot:active { transform: scale(.94); background: var(--accent); color: var(--accent-text); }

/* ---------- статусы ---------- */
.badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: var(--r-pill); background: var(--soft); color: var(--accent); white-space: nowrap; }
.badge.ok { background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }
.badge.warn { background: color-mix(in srgb, var(--warn) 16%, transparent); color: var(--warn); }
.badge.bad { background: color-mix(in srgb, var(--danger) 13%, transparent); color: var(--danger); }
.badge.gray { background: var(--fill); color: var(--hint); }

/* ---------- записи и списки ---------- */
.appt { display: flex; gap: 14px; align-items: flex-start; }
.appt-time { min-width: 58px; text-align: center; font-weight: 700; font-size: 19px; }
.appt-time small { display: block; font-weight: 500; font-size: 13px; color: var(--hint); }
.appt-body { flex: 1; min-width: 0; }
.appt-name { font-weight: 600; }
.appt-meta { font-size: 14px; color: var(--hint); overflow-wrap: anywhere; }
.list-item { display: flex; align-items: center; gap: 14px; padding: 13px 2px; border-bottom: 1px solid var(--sep); cursor: pointer; transition: opacity var(--t-press) ease; }
.list-item:active { opacity: .6; }
.list-item:last-child { border-bottom: 0; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--soft); color: var(--accent); display: flex; align-items: center; justify-content: center; font-weight: 700; flex: none; }

.day-slot { display: flex; align-items: center; gap: 12px; padding: 11px 2px; border-bottom: 1px solid var(--sep); }
.day-slot:last-child { border-bottom: 0; }
.day-slot .t { font-weight: 700; min-width: 52px; }
.day-slot.booked .t { color: var(--accent); }
.day-slot.blocked .t, .day-slot.past .t { color: var(--hint); text-decoration: line-through; }

/* ---------- шторка (drawer) ---------- */
.sheet-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .42); z-index: 50; opacity: 0; transition: opacity var(--t-sheet) var(--ease-drawer); }
.sheet-backdrop.open { opacity: 1; }
.sheet-backdrop.dragging { transition: none; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 51; max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain;
  background: color-mix(in srgb, var(--card) 55%, var(--bg)); border-radius: var(--r-card) var(--r-card) 0 0;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, .18);
  padding: 6px 14px calc(22px + env(safe-area-inset-bottom, 0px));
  transform: translateY(100%); transition: transform var(--t-sheet) var(--ease-drawer);
  max-width: 640px; margin: 0 auto;
}
.sheet.open { transform: none; }
.sheet.dragging { transition: none; }
.sheet-drag { touch-action: none; cursor: grab; padding-top: 4px; }
.sheet-grip { width: 40px; height: 5px; border-radius: 3px; background: var(--hint); opacity: .4; margin: 4px auto 12px; }
.sheet-title { display: flex; align-items: center; justify-content: space-between; margin: 0 6px 14px; }
.sheet-close {
  border: 0; background: var(--fill); width: 34px; height: 34px; border-radius: 50%; cursor: pointer; color: var(--hint); font-size: 16px;
  transition: transform var(--t-press) var(--ease-out);
}
.sheet-close:active { transform: scale(.9); }

/* ---------- тост (как Sonner: transition, а не keyframes) ---------- */
#toast {
  position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + 18px + env(safe-area-inset-bottom, 0px));
  transform: translate(-50%, 100%); opacity: 0;
  background: color-mix(in srgb, var(--text) 88%, transparent); color: var(--bg);
  padding: 12px 20px; border-radius: var(--r-pill); z-index: 100; pointer-events: none;
  max-width: calc(100% - 32px); text-align: center; font-size: 15px; font-weight: 500;
  transition: opacity 400ms ease, transform 400ms ease;
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- скелетон вместо спиннера ---------- */
.skeleton { padding: 4px 0; }
.sk-line {
  height: 64px; border-radius: var(--r-card); margin-bottom: 10px;
  background: linear-gradient(90deg, var(--fill) 0%, color-mix(in srgb, var(--text) 11%, transparent) 50%, var(--fill) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.3s linear infinite;
}
.sk-line:nth-child(2) { opacity: .7; }
.sk-line:nth-child(3) { opacity: .45; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.empty { text-align: center; color: var(--hint); padding: 32px 16px; }
.empty .big { font-size: 42px; margin-bottom: 10px; }

/* ---------- «О барбере» ---------- */
.hero { display: flex; gap: 16px; align-items: center; }
.hero-photo { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; background: var(--soft); flex: none; display: flex; align-items: center; justify-content: center; font-size: 36px; }
.about-text { white-space: pre-line; }
.links { display: flex; flex-wrap: wrap; gap: 8px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; border-radius: var(--r-card); overflow: hidden; }
.gallery .ph { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--fill); cursor: pointer; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--t-ui) var(--ease-out); }
.gallery .ph:active img { transform: scale(.96); }
.gallery .del { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .6); color: #fff; cursor: pointer; }
.viewer {
  position: fixed; inset: 0; background: rgba(0, 0, 0, .92); z-index: 90; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px;
  transition: opacity var(--t-ui) var(--ease-out);
}
.viewer img { max-width: 100%; max-height: 80dvh; border-radius: 18px; transition: transform var(--t-ui) var(--ease-out); }
.viewer p { color: #fff; margin-top: 14px; text-align: center; }

/* ---------- статистика ---------- */
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.kpi { background: var(--card); border-radius: 22px; padding: 14px 16px; }
.kpi b { display: block; font-size: 26px; line-height: 1.15; font-variant-numeric: tabular-nums; }
.kpi span { font-size: 14px; color: var(--hint); }
.kpi.wide { grid-column: span 2; }
.bars { display: flex; align-items: flex-end; gap: 2px; height: 130px; padding-top: 18px; }
.bar { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; position: relative; }
.bar .fill { width: 100%; max-width: 34px; background: var(--accent); border-radius: 4px 4px 0 0; transform-origin: bottom; animation: grow-y 420ms var(--ease-out) backwards; }
.bar .val { font-size: 12px; color: var(--text); margin-bottom: 3px; font-variant-numeric: tabular-nums; }
.bar .lbl { font-size: 12px; color: var(--hint); margin-top: 4px; }
.bar.zero .fill { background: var(--sep); height: 2px !important; animation: none; }
.bars-axis { border-top: 1px solid var(--sep); }
.progress { height: 8px; background: var(--fill); border-radius: 4px; overflow: hidden; margin-top: 8px; }
.progress i { display: block; height: 100%; background: var(--accent); border-radius: 4px; transform-origin: left; animation: grow-x 600ms var(--ease-out) backwards; }
@keyframes grow-y { from { transform: scaleY(0); } }
@keyframes grow-x { from { transform: scaleX(0); } }
table.data { width: 100%; border-collapse: collapse; font-size: 15px; }
table.data td { padding: 10px 0; border-bottom: 1px solid var(--sep); }
table.data tr:last-child td { border-bottom: 0; }
table.data td:last-child { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- шаблон недели ---------- */
.tpl-row { padding: 12px 0; border-bottom: 1px solid var(--sep); }
.tpl-row:last-child { border-bottom: 0; }
.tpl-times { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; font-size: 14px; color: var(--hint); }

/* ---------- успех: рисуем галочку (редкое событие — тут можно порадовать) ---------- */
.success { text-align: center; padding: 26px 10px 10px; }
.success h1 { margin-top: 14px; }
.check-anim { width: 84px; height: 84px; display: block; margin: 0 auto; animation: pop 500ms var(--ease-out) backwards; }
.check-anim circle { fill: var(--soft); stroke: var(--accent); stroke-width: 3; stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw 520ms var(--ease-out) forwards; }
.check-anim path { fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw 320ms var(--ease-out) 380ms forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { transform: scale(.9); opacity: 0; } }

/* ---------- меньше движения: оставляем прозрачность, убираем перемещения ---------- */
@media (prefers-reduced-motion: reduce) {
  .card.tap:active, .btn:active, .cal-day:active, .slot:active, #tabbar button:active svg, .gallery .ph:active img { transform: none; }
  #appbar { transform: none; }
  #tabbar .pill::before { transform: none; }
  .sheet { transition: transform 1ms, opacity 200ms ease; }
  #toast { transform: translate(-50%, 0); transition: opacity 200ms ease; }
  .bar .fill, .progress i, .check-anim { animation: none; }
  .check-anim circle, .check-anim path { animation: none; stroke-dashoffset: 0; }
  .sk-line { animation: none; }
}
