/* Темп — дневник пробежек в стиле приложений Apple.
   Светлый сгруппированный фон, белые карточки, крупные заголовки, кольца целей,
   системные цвета iOS, плавающая стеклянная панель вкладок. */

:root {
  color-scheme: light;
  --bg: #F2F2F7;
  --card: #FFFFFF;
  --fill: rgba(118, 118, 128, 0.12);
  --fill-2: rgba(118, 118, 128, 0.08);
  --fill-3: rgba(118, 118, 128, 0.2);
  --label: #000000;
  --label-2: #6E6E73;
  --label-3: rgba(60, 60, 67, 0.3);
  --sep: rgba(60, 60, 67, 0.2);
  --tint: #007AFF;
  --tint-soft: rgba(0, 122, 255, 0.12);

  /* системные цвета iOS и их «текстовые» варианты для мелких подписей */
  --red: #FF3B30;
  --orange: #FF9500;
  --orange-t: #B85300;
  --yellow: #FFCC00;
  --green: #34C759;
  --green-t: #248A3D;
  --teal: #30B0C7;
  --teal-t: #0A7A90;
  --blue: #007AFF;
  --indigo: #5856D6;
  --purple: #AF52DE;
  --pink: #FF2D55;
  --pink-t: #D70F45;
  --gray: #8E8E93;

  /* кольца целей: неделя, месяц, год */
  --ring-1: #FF2D55;
  --ring-2: #34C759;
  --ring-3: #007AFF;

  /* шкала самочувствия: тяжело (индиго) — норм (серый) — легко (оранжевый) */
  --f1: #5856D6;
  --f2: #9F9CF0;
  --f3: #D1D1D6;
  --f4: #F5A03C;
  --f5: #D97300;

  /* календарь активности */
  --h0: #EDEDF2;
  --h1: #FFC57A;
  --h2: #FFA53D;
  --h3: #F28500;
  --h4: #C66A00;

  --bar: #FF9500;
  --bar-muted: #FFD9A6;
  --grid: rgba(60, 60, 67, 0.12);

  --glass: rgba(255, 255, 255, 0.74);
  --glass-line: rgba(0, 0, 0, 0.06);
  --shadow-float: 0 10px 34px rgba(0, 0, 0, 0.14), 0 2px 6px rgba(0, 0, 0, 0.06);
  --backdrop: rgba(0, 0, 0, 0.28);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", Roboto, system-ui, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", Roboto, system-ui, sans-serif;
  --rounded: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", Roboto, system-ui, sans-serif;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --tabbar-space: calc(var(--safe-b) + 96px);
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
}

/* ---------- Основа ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--label);
  font: 400 17px/1.3 var(--font);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  text-align: inherit;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}
button:disabled { cursor: default; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--tint); outline-offset: 2px; border-radius: 8px; }
.ic { width: 22px; height: 22px; flex: none; }
.num { font-family: var(--rounded); font-weight: 700; letter-spacing: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

#app { max-width: 560px; margin: 0 auto; }
.view { min-height: 100dvh; padding: 0 0 var(--tabbar-space); }

/* ---------- Заголовки экранов ---------- */

.nav { padding: calc(var(--safe-t) + 14px) 20px 10px; }
.nav-date { font-size: 13px; line-height: 18px; font-weight: 600; text-transform: uppercase; color: var(--label-2); letter-spacing: 0.01em; }
.nav-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.large-title { font-family: var(--display); font-size: 34px; line-height: 41px; font-weight: 700; }
.nav-avatar {
  width: 38px;
  height: 38px;
  margin-bottom: 2px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  color: #fff;
  font-weight: 600;
  font-size: 17px;
  background: linear-gradient(180deg, #A9A9AE, #86868B);
}
.nav-avatar .ic { width: 22px; height: 22px; }
.nav-tools { margin: 10px 0 2px; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 26px 20px 10px;
}
.section-head h2 { font-family: var(--display); font-size: 22px; line-height: 28px; font-weight: 700; }
.section-head .link { font-size: 17px; color: var(--tint); }
.group-label { margin: 22px 32px 7px; font-size: 13px; line-height: 18px; text-transform: uppercase; color: var(--label-2); letter-spacing: 0.01em; }
.group-foot { margin: 7px 32px 0; font-size: 13px; line-height: 18px; color: var(--label-2); max-width: 60ch; }

/* ---------- Карточки и списки ---------- */

.card { margin: 0 16px 14px; padding: 16px; border-radius: 22px; background: var(--card); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.cat { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--c-t, var(--orange-t)); }
.cat .ic { width: 18px; height: 18px; color: var(--c, var(--orange)); }
.card-meta { font-size: 15px; color: var(--label-2); display: inline-flex; align-items: center; gap: 4px; }
.card-meta .ic { width: 14px; height: 14px; color: var(--label-3); }

.group { margin: 0 16px; border-radius: 22px; background: var(--card); overflow: hidden; }
.group > li { position: relative; }
.group > li + li::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: var(--inset, 16px);
  border-top: 0.5px solid var(--sep);
  z-index: 1;
}
.group.icons > li + li::before { --inset: 60px; }
.group.runs > li + li::before { --inset: 72px; }

.cell {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 52px;
  padding: 11px 16px;
  text-align: left;
  position: relative;
}
button.cell:active, label.cell:active { background: var(--fill-2); }
.cell-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex: none;
  color: #fff;
  background: var(--c, var(--gray));
}
.cell-icon .ic { width: 19px; height: 19px; }
.cell-main { flex: 1; min-width: 0; }
.cell-title { display: block; font-size: 17px; line-height: 22px; }
.cell-sub { display: block; margin-top: 1px; font-size: 13px; line-height: 18px; color: var(--label-2); }
.cell-value { color: var(--label-2); font-size: 17px; white-space: nowrap; display: inline-flex; align-items: baseline; gap: 3px; }
.cell-value .num { color: var(--label); font-size: 19px; font-weight: 600; }
.chev { color: var(--label-3); display: grid; }
.chev .ic { width: 14px; height: 14px; }
.cell.danger .cell-title { color: var(--red); }
.cell.center .cell-title { text-align: center; }
.cell.tint .cell-title { color: var(--tint); }
.group + .group, .group + .group-foot + .group { margin-top: 16px; }

/* Строка тренировки — как в «Фитнесе» */
.run-cell { gap: 12px; padding: 12px 16px; }
.run-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  color: var(--orange);
  background: rgba(255, 149, 0, 0.14);
}
.run-icon .ic { width: 25px; height: 25px; }
.run-title { display: block; font-size: 15px; line-height: 20px; color: var(--label); font-weight: 600; }
.run-value { display: flex; align-items: baseline; gap: 6px; margin-top: 1px; }
.run-value .num { font-size: 24px; line-height: 28px; color: var(--orange-t); }
.run-value .unit { font-family: var(--rounded); font-weight: 700; font-size: 15px; color: var(--orange-t); }
.run-value .emo { font-size: 18px; margin-left: 2px; }
.run-side { align-self: stretch; display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; padding: 2px 0; }
.run-date { font-size: 15px; color: var(--label-2); white-space: nowrap; }
.run-extra { font-size: 13px; color: var(--label-2); white-space: nowrap; }

.empty { margin: 8px 16px 0; padding: 26px 20px; border-radius: 22px; background: var(--card); text-align: center; }
.empty-ic { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; color: var(--orange); background: rgba(255, 149, 0, 0.14); }
.empty-ic .ic { width: 34px; height: 34px; }
.empty h3 { font-size: 20px; line-height: 25px; font-weight: 700; }
.empty p { margin: 8px auto 18px; max-width: 32ch; color: var(--label-2); font-size: 15px; line-height: 20px; }
.empty .btn { max-width: 300px; margin: 0 auto 8px; }

/* ---------- Кнопки ---------- */

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 600;
  text-align: center;
  transition: transform 0.18s var(--ease), opacity 0.18s;
}
.btn:active { transform: scale(0.97); }
.btn .ic { width: 20px; height: 20px; }
.btn.filled { background: var(--tint); color: #fff; }
.btn.tinted { background: var(--tint-soft); color: var(--tint); }
.btn.gray { background: var(--fill); color: var(--label); }
.btn.health { background: rgba(255, 45, 85, 0.12); color: var(--pink-t); }
.btn.danger { background: rgba(255, 59, 48, 0.12); color: var(--red); }
.btn:disabled { opacity: 0.4; transform: none; }
.btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.text-btn { color: var(--tint); font-size: 17px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 0; }
.text-btn .ic { width: 19px; height: 19px; }

.capsules { display: flex; flex-wrap: wrap; gap: 8px; }
.capsule {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 15px;
  border-radius: 999px;
  background: var(--fill);
  color: var(--label);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.15s var(--ease), background-color 0.15s;
}
.capsule:active { transform: scale(0.95); }
.capsule .ic { width: 16px; height: 16px; }
.capsule .num { font-size: 17px; }
.capsule.on { background: var(--tint); color: #fff; }
.capsule.orange { background: rgba(255, 149, 0, 0.14); color: var(--orange-t); }
.capsule.pink { background: rgba(255, 45, 85, 0.12); color: var(--pink-t); }
.capsules.scroll { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 2px; scrollbar-width: none; }
.capsules.scroll::-webkit-scrollbar { display: none; }

.segmented {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  padding: 3px;
  border-radius: 999px;
  background: var(--fill);
}
.segmented button {
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  transition: background-color 0.2s, box-shadow 0.2s;
}
.segmented button[aria-pressed="true"] { background: #fff; font-weight: 600; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12), 0 1px 1px rgba(0, 0, 0, 0.04); }

.round-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  background: var(--fill);
  color: var(--label);
}
.round-btn .ic { width: 17px; height: 17px; }
.round-btn:disabled { opacity: 0.35; }

/* ---------- Сводка ---------- */

.rings-card { padding: 18px 18px 14px; }
.rings-row { display: flex; align-items: center; gap: 18px; }
.rings { width: 152px; height: 152px; flex: none; }
.rings circle { fill: none; stroke-linecap: round; }
.rings .r-track { opacity: 0.16; }
.rings .r-val { transition: stroke-dashoffset 1.2s var(--ease); }
.rings .r-over { filter: drop-shadow(0 0 2.5px rgba(0, 0, 0, 0.45)); transition: stroke-dashoffset 1.2s var(--ease) 0.3s; }
.ring-legend { flex: 1; min-width: 0; display: grid; gap: 10px; }
.ring-legend b { display: block; font-size: 15px; line-height: 20px; font-weight: 600; }
.ring-legend span { display: block; font-family: var(--rounded); font-weight: 700; font-size: 21px; line-height: 25px; color: var(--c-t); white-space: nowrap; }
.ring-legend small { font-size: 14px; font-weight: 700; margin-left: 1px; }
.week-strip { display: grid; grid-template-columns: repeat(7, 1fr); margin-top: 16px; padding-top: 14px; border-top: 0.5px solid var(--sep); text-align: center; }
.day { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; padding: 2px 0; border-radius: 12px; }
button.day:active { background: var(--fill-2); }
.day-l { font-size: 12px; font-weight: 600; color: var(--label-2); }
.day.today .day-l { color: var(--label); }
.day-dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-family: var(--rounded); font-weight: 700; font-size: 12px; box-shadow: inset 0 0 0 4px rgba(255, 45, 85, 0.16); }
.day-dot.run { background: var(--ring-1); color: #fff; box-shadow: none; }
.day-dot.plan { box-shadow: inset 0 0 0 2px var(--ring-1); opacity: 0.6; }
.day.today .day-dot:not(.run) { box-shadow: inset 0 0 0 2.5px var(--label); }
.day.future { opacity: 0.45; }

.quick { padding: 14px 16px 16px; }
.quick-title { font-size: 15px; color: var(--label-2); margin-bottom: 10px; }

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 16px 14px; }
.tile { padding: 14px 14px 13px; border-radius: 20px; background: var(--card); min-width: 0; }
.tile .cat { font-size: 13px; }
.tile .cat .ic { width: 15px; height: 15px; }
.tile-v { margin-top: 10px; display: flex; align-items: baseline; gap: 4px; }
.tile-v .num { font-size: 30px; line-height: 34px; }
.tile-v small { font-family: var(--rounded); font-weight: 700; font-size: 15px; color: var(--label-2); }
.tile-s { margin-top: 2px; font-size: 13px; line-height: 17px; color: var(--label-2); }

.highlights { display: grid; gap: 12px; margin: 0 16px; }
.hl { display: block; width: 100%; padding: 14px 16px 15px; border-radius: 22px; background: var(--card); text-align: left; }
.hl .cat { margin-bottom: 8px; }
.hl-text { display: block; font-size: 17px; line-height: 22px; font-weight: 600; }
.hl-sub { display: block; margin-top: 4px; font-size: 15px; line-height: 20px; color: var(--label-2); }
.hl-go { display: inline-block; margin-top: 8px; font-size: 15px; color: var(--tint); }

.install-card { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; }
.install-card .cell-icon { --c: var(--tint); }

/* ---------- Графики ---------- */

.chart-card { padding: 16px 16px 12px; }
.ch-cap { font-size: 13px; line-height: 16px; font-weight: 600; text-transform: uppercase; color: var(--label-2); letter-spacing: 0.01em; }
.ch-v { margin-top: 2px; display: flex; align-items: baseline; gap: 5px; }
.ch-v .num { font-size: 34px; line-height: 40px; }
.ch-v small { font-family: var(--rounded); font-weight: 700; font-size: 17px; color: var(--label-2); }
.ch-l { font-size: 15px; line-height: 20px; color: var(--label-2); min-height: 20px; }
.chart { margin: 10px 0 0; }
.chart-svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart-svg .grid { stroke: var(--grid); stroke-width: 1; }
.chart-svg .axis { stroke: rgba(60, 60, 67, 0.25); stroke-width: 1; }
.chart-svg .tick, .chart-svg .xl, .chart-svg .yl { fill: var(--label-2); font: 500 11px var(--font); font-variant-numeric: tabular-nums; }
.chart-svg .bar { fill: var(--bar); transition: opacity 0.15s; }
.chart-svg .bar.muted { fill: var(--bar-muted); }
.chart-svg.picking .bar { opacity: 0.35; }
.chart-svg.picking .bar.picked { opacity: 1; }
.chart-svg .val { fill: var(--label); font: 700 13px var(--rounded); paint-order: stroke; stroke: var(--card); stroke-width: 3px; stroke-linejoin: round; }
.chart-svg .val-s { fill: var(--label-2); font: 600 12px var(--font); font-variant-numeric: tabular-nums; }
.chart-svg .goal { stroke: var(--ring-1); stroke-width: 1.2; stroke-dasharray: 3 3; }
.chart-svg .plan { stroke: var(--label-3); stroke-width: 1.5; stroke-dasharray: 4 4; fill: none; }
.chart-svg .goal-l { fill: var(--pink-t); font: 600 11px var(--font); paint-order: stroke; stroke: var(--card); stroke-width: 3px; stroke-linejoin: round; }
.chart-svg .hit { fill: transparent; outline: none; }
.chart-svg .hm.l0 { fill: var(--h0); }
.chart-svg .hm.l1 { fill: var(--h1); }
.chart-svg .hm.l2 { fill: var(--h2); }
.chart-svg .hm.l3 { fill: var(--h3); }
.chart-svg .hm.l4 { fill: var(--h4); }
.chart-svg .hm.on { stroke: var(--label); stroke-width: 1.5; }
.chart-svg .fv1 { fill: var(--f1); }
.chart-svg .fv2 { fill: var(--f2); }
.chart-svg .fv3 { fill: var(--f3); }
.chart-svg .fv4 { fill: var(--f4); }
.chart-svg .fv5 { fill: var(--f5); }
.chart-svg .fv { outline: none; }
.chart-svg .fv.on { stroke: var(--label); stroke-width: 1.5; }
.chart-svg .line { fill: none; stroke: var(--lc, var(--orange)); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chart-svg .area { fill: var(--lc, var(--orange)); opacity: 0.12; }
.chart-svg .dot { fill: var(--lc, var(--orange)); stroke: var(--card); stroke-width: 2; }
.chart-svg .cross-line { stroke: var(--label-3); stroke-width: 1; }
.chart-svg .cross-dot { fill: var(--lc, var(--orange)); stroke: var(--card); stroke-width: 2.5; }
.chart-svg .cross-layer { fill: transparent; }
.chart-svg.heart { --lc: var(--pink); }
.chart-svg.pace { --lc: var(--teal); }
.chart-svg.year { --lc: var(--ring-3); }

.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; color: var(--label-2); font-size: 13px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.data-toggle { margin-top: 8px; font-size: 15px; color: var(--tint); }
.dtable { width: 100%; margin-top: 8px; border-collapse: collapse; font-size: 15px; }
.dtable th { text-align: left; color: var(--label-2); font-weight: 400; font-size: 13px; }
.dtable th, .dtable td { padding: 9px 0; border-bottom: 0.5px solid var(--sep); }
.dtable th:not(:first-child), .dtable td:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; padding-left: 12px; }

.tip {
  position: fixed;
  z-index: 70;
  padding: 8px 12px;
  border-radius: 14px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--shadow-float);
  font-size: 13px;
  line-height: 1.3;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -100%);
  transition: opacity 0.12s;
}
.tip.show { opacity: 1; }
.tip b { display: block; font-family: var(--rounded); font-size: 17px; }
.tip span { color: var(--label-2); }

/* ---------- Статистика ---------- */

.periods { margin: 2px 16px 12px; }
.period-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 20px 12px; }
.period-nav h2 { flex: 1; text-align: center; font-size: 17px; font-weight: 600; }

/* ---------- Журнал ---------- */

.month-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 24px 20px 8px; }
.month-head h2 { font-family: var(--display); font-size: 22px; line-height: 28px; font-weight: 700; }
.month-head p { color: var(--label-2); font-size: 15px; white-space: nowrap; }
.month-head .num { color: var(--orange-t); font-size: 17px; margin-right: 2px; }

.cal { padding: 14px 10px 10px; }
.cal-nav { display: flex; align-items: center; justify-content: space-between; margin: 0 6px 12px; }
.cal-nav h2 { font-size: 20px; font-weight: 700; }
.cal-head, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal-head { margin-bottom: 4px; text-align: center; font-size: 13px; font-weight: 600; color: var(--label-2); }
.cal-cell { height: 58px; display: flex; flex-direction: column; align-items: center; padding-top: 4px; border-radius: 12px; position: relative; }
button.cal-cell:active { background: var(--fill-2); }
.cal-d { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 17px; line-height: 1; }
.cal-cell.run .cal-d { background: rgba(255, 149, 0, var(--a, 0.5)); color: #fff; font-weight: 600; }
.cal-cell.today .cal-d { color: var(--red); font-weight: 700; }
.cal-cell.today.run .cal-d { color: #fff; box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--red); }
.cal-cell.future { color: var(--label-3); }
.cal-km { margin-top: 3px; font-family: var(--rounded); font-weight: 700; font-size: 10.5px; line-height: 1; color: var(--orange-t); }
.cal-sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 6px 4px; padding-top: 12px; border-top: 0.5px solid var(--sep); }
.cal-sum b { display: block; font-family: var(--rounded); font-size: 22px; }
.cal-sum span { font-size: 13px; color: var(--label-2); }

/* ---------- Профиль ---------- */

.profile-head { padding: calc(var(--safe-t) + 18px) 20px 6px; text-align: center; }
.big-avatar {
  width: 92px;
  height: 92px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--rounded);
  font-size: 40px;
  font-weight: 700;
  background: linear-gradient(160deg, #FF9F0A, #FF2D55);
  box-shadow: 0 8px 22px rgba(255, 45, 85, 0.25);
}
.big-avatar .ic { width: 44px; height: 44px; }
.profile-head h1 { font-family: var(--display); font-size: 28px; line-height: 34px; font-weight: 700; }
.profile-head p { margin-top: 2px; color: var(--label-2); font-size: 15px; }
.profile-edit { margin-top: 6px; font-size: 15px; color: var(--tint); }
.totals { display: grid; grid-template-columns: repeat(3, 1fr); margin: 16px 16px 0; padding: 14px 4px; border-radius: 22px; background: var(--card); text-align: center; }
.totals div + div { border-left: 0.5px solid var(--sep); }
.totals b { display: block; font-family: var(--rounded); font-size: 24px; line-height: 28px; }
.totals span { font-size: 13px; color: var(--label-2); }

.awards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 8px; padding: 18px 10px 16px; }
.award { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.award-name { font-size: 13px; line-height: 16px; font-weight: 600; }
.award-date { display: block; font-size: 12px; font-weight: 400; color: var(--label-2); margin-top: 1px; }
.award.off .award-name { color: var(--label-2); font-weight: 500; }

.medal {
  --m1: #FFB340;
  --m2: #FF8A00;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0) 42%),
    conic-gradient(from 200deg, var(--m1), var(--m2), var(--m1), var(--m2), var(--m1));
  box-shadow:
    inset 0 0 0 3px rgba(255, 255, 255, 0.45),
    inset 0 0 0 7px rgba(0, 0, 0, 0.06),
    inset 0 -8px 14px rgba(0, 0, 0, 0.16),
    0 6px 14px rgba(0, 0, 0, 0.16);
}
.medal::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.5); }
.medal-num { font-family: var(--rounded); font-weight: 800; font-size: 25px; line-height: 1; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.22); }
.medal-unit { margin-top: 2px; font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; opacity: 0.95; max-width: 60px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.medal.off { background: var(--fill-2); color: var(--label-3); box-shadow: inset 0 0 0 2px var(--fill); }
.medal.off::after { border-color: var(--fill); border-style: dashed; }
.medal.off .medal-num { text-shadow: none; }
.medal.g-total { --m1: #FFC14D; --m2: #FF8A00; }
.medal.g-count { --m1: #5AC8FA; --m2: #007AFF; }
.medal.g-single { --m1: #FF7A9A; --m2: #FF2D55; }
.medal.g-week { --m1: #7CE08A; --m2: #28B04B; }
.medal.g-month { --m1: #C38BF0; --m2: #8E44D6; }
.medal.g-streak { --m1: #5EE0D2; --m2: #00A99A; }
.medal.g-special { --m1: #FFE16B; --m2: #E8A800; }
.medal.big { width: 150px; height: 150px; }
.medal.big .medal-num { font-size: 46px; }
.medal.big .medal-unit { font-size: 14px; max-width: 110px; }
.medal.big::after { inset: 14px; border-width: 2px; }
.medal-progress { width: 100%; max-width: 72px; height: 4px; border-radius: 2px; background: var(--fill); overflow: hidden; }
.medal-progress i { display: block; height: 100%; border-radius: 2px; background: var(--gray); }

.meter { display: block; height: 6px; margin: 7px 0 3px; border-radius: 3px; background: var(--fill); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 3px; background: var(--green); }
.meter i.warn { background: var(--orange); }
.meter i.over { background: var(--red); }

.records-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 16px; }
.preds { display: grid; grid-template-columns: 1fr 1fr; }
.preds div { padding: 12px 16px; }
.preds div:nth-child(odd) { border-right: 0.5px solid var(--sep); }
.preds div:nth-child(n + 3) { border-top: 0.5px solid var(--sep); }
.preds small { display: block; font-size: 13px; color: var(--label-2); }
.preds b { font-family: var(--rounded); font-size: 22px; }

.stepper { display: inline-flex; align-items: center; border-radius: 10px; background: var(--fill); overflow: hidden; }
.stepper button { width: 46px; height: 34px; display: grid; place-items: center; }
.stepper button + button { border-left: 0.5px solid var(--sep); }
.stepper button:active { background: var(--fill-3); }
.stepper .ic { width: 16px; height: 16px; }
.goal-val { font-family: var(--rounded); font-weight: 700; font-size: 19px; min-width: 64px; text-align: right; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; padding: 12px 16px 14px; }
.day-t { height: 40px; border-radius: 999px; background: var(--fill); font-size: 14px; font-weight: 600; text-align: center; }
.day-t[aria-pressed="true"] { background: var(--tint); color: #fff; }

/* ---------- Шторки ---------- */

.sheet-wrap { position: fixed; inset: 0; z-index: 50; }
.sheet-backdrop { position: absolute; inset: 0; background: var(--backdrop); opacity: 0; transition: opacity 0.35s; touch-action: none; }
.sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--kb, 0px);
  max-width: 560px;
  margin: 0 auto;
  max-height: calc(var(--vvh, 100dvh) - var(--safe-t) - 12px);
  display: flex;
  flex-direction: column;
  border-radius: 30px 30px 0 0;
  background: var(--bg);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.18);
  transform: translateY(105%);
  transition: transform 0.46s var(--ease);
  outline: none;
}
.sheet.white { background: var(--card); }
.sheet-wrap.open .sheet-backdrop { opacity: 1; }
.sheet-wrap.open .sheet { transform: none; }
.sheet-grip { width: 36px; height: 5px; border-radius: 3px; background: var(--fill-3); margin: 7px auto 0; flex: none; }
.sheet-nav {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 8px;
  flex: none;
}
.sheet-nav h2 { text-align: center; font-size: 17px; line-height: 22px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.glass-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--card);
  color: var(--label);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08), inset 0 0 0 0.5px var(--glass-line);
}
.sheet.white .glass-btn { background: var(--fill); box-shadow: none; }
.glass-btn .ic { width: 18px; height: 18px; }
.glass-btn.ok { background: var(--tint); color: #fff; box-shadow: 0 4px 12px rgba(0, 122, 255, 0.35); }
.glass-btn.ok:disabled { background: var(--fill-3); color: #fff; box-shadow: none; }
.sheet-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 4px 0 calc(var(--safe-b) + 22px); }
.kb-open .sheet-body { padding-bottom: 22px; }
.sheet-body > .card, .sheet-body > .group { margin-left: 16px; margin-right: 16px; }
.sheet-pad { padding: 0 20px; }
.sheet-foot { flex: none; padding: 10px 16px calc(var(--safe-b) + 12px); }
.kb-open .sheet-foot { padding-bottom: 12px; }

/* Форма пробежки */
.km-card { text-align: center; padding: 18px 16px 16px; }
.km-line { display: flex; align-items: baseline; justify-content: center; gap: 6px; }
.km-input {
  width: 1.3ch;
  max-width: 7ch;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: none;
  background: none;
  text-align: right;
  font-family: var(--rounded);
  font-weight: 700;
  font-size: 64px;
  line-height: 1.05;
  color: var(--label);
  caret-color: var(--tint);
}
.km-input::placeholder { color: var(--label-3); }
.km-unit { font-family: var(--rounded); font-weight: 700; font-size: 24px; color: var(--label-2); }
.km-card .capsules { justify-content: center; margin-top: 12px; }
.km-card.shake { animation: shake 0.4s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.cell-input {
  width: 9ch;
  border: 0;
  outline: none;
  background: none;
  text-align: right;
  font-size: 17px;
  color: var(--label-2);
  font-variant-numeric: tabular-nums;
}
.cell-input:focus { color: var(--tint); }
.cell-input::placeholder { color: var(--label-3); }
.cell-select {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  outline: none;
  background: none;
  text-align: right;
  text-align-last: right;
  font-size: 17px;
  color: var(--label-2);
  max-width: 60%;
  padding-right: 2px;
}
.date-cell { position: relative; }
.date-cell input[type="date"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; border: 0; padding: 0; }
.feels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.feel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 10px 0 8px;
  border-radius: 16px;
  background: var(--fill-2);
  text-align: center;
  box-shadow: inset 0 0 0 2px transparent;
  transition: transform 0.18s var(--ease), box-shadow 0.18s, background-color 0.18s;
}
.feel-e { font-size: 30px; line-height: 1; }
.feel small { font-size: 11.5px; font-weight: 600; color: var(--label-2); }
.feel[aria-pressed="true"] { background: color-mix(in srgb, var(--fc) 16%, var(--card)); box-shadow: inset 0 0 0 2px var(--fc); transform: scale(1.05); }
.feel[aria-pressed="true"] small { color: var(--label); }
.note-input { width: 100%; min-height: 64px; padding: 12px 16px; border: 0; outline: none; background: none; resize: none; font-size: 17px; line-height: 1.35; }
.note-input::placeholder { color: var(--label-3); }
.health-fill { margin: 0 16px 14px; }

/* Карточка пробежки */
.detail-top { text-align: center; padding: 6px 20px 18px; }
.detail-icon { width: 64px; height: 64px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; color: var(--orange); background: rgba(255, 149, 0, 0.14); }
.detail-icon .ic { width: 36px; height: 36px; }
.detail-km { display: flex; align-items: baseline; justify-content: center; gap: 6px; }
.detail-km .num { font-size: 56px; line-height: 60px; color: var(--orange-t); }
.detail-km small { font-family: var(--rounded); font-weight: 700; font-size: 22px; color: var(--orange-t); }
.detail-date { margin-top: 4px; color: var(--label-2); font-size: 15px; }
.detail-feel { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; background: color-mix(in srgb, var(--fc) 16%, var(--card)); font-size: 15px; font-weight: 600; }
.metrics { display: grid; grid-template-columns: 1fr 1fr; }
.metrics > div { padding: 12px 16px; }
.metrics > div:nth-child(odd) { border-right: 0.5px solid var(--sep); }
.metrics > div:nth-child(n + 3) { border-top: 0.5px solid var(--sep); }
.metrics small { display: block; font-size: 13px; color: var(--label-2); }
.metrics b { font-family: var(--rounded); font-size: 22px; line-height: 28px; color: var(--mc, var(--label)); }
.metrics b small { display: inline; font-size: 14px; color: inherit; margin-left: 2px; }
.detail-note { padding: 14px 16px; line-height: 1.4; white-space: pre-wrap; }
.detail-context { margin: 10px 32px 0; color: var(--label-2); font-size: 13px; line-height: 18px; }
.confirm-text { color: var(--label-2); line-height: 1.4; text-align: center; padding: 4px 24px 18px; }
.share-preview { display: block; width: 72%; max-width: 300px; margin: 6px auto 14px; border-radius: 22px; box-shadow: var(--shadow-float); }

.steps { counter-reset: s; display: grid; gap: 14px; }
.steps li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; font-size: 15px; line-height: 21px; }
.steps li::before { counter-increment: s; content: counter(s); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--tint-soft); color: var(--tint); font-weight: 700; font-size: 14px; }
.steps code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 14px; background: var(--fill); padding: 1px 6px; border-radius: 6px; }
.steps .ic { width: 16px; height: 16px; vertical-align: -3px; color: var(--tint); }
.hint { color: var(--label-2); font-size: 15px; line-height: 20px; }
.found { display: grid; grid-template-columns: 1fr 1fr; }
.found > div { padding: 12px 16px; }
.found > div:nth-child(odd) { border-right: 0.5px solid var(--sep); }
.found > div:nth-child(n + 3) { border-top: 0.5px solid var(--sep); }
.found small { display: block; font-size: 13px; color: var(--label-2); }
.found b { font-family: var(--rounded); font-size: 24px; }
.found b small { display: inline; font-size: 14px; margin-left: 2px; }
.paste-area { width: 100%; min-height: 120px; padding: 12px 16px; border: 0; outline: none; background: none; resize: vertical; font: 15px/1.4 ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.time-pair { display: flex; align-items: center; gap: 8px; }
.time-pair input { border: 0; outline: none; background: var(--fill); border-radius: 8px; padding: 6px 8px; font-size: 17px; color: var(--label); font-variant-numeric: tabular-nums; }

/* ---------- Панель вкладок (плавающее стекло) ---------- */

.tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  padding: 0 14px calc(var(--safe-b) + 10px);
  pointer-events: none;
}
.tabbar-in { display: flex; justify-content: center; width: 100%; max-width: 480px; }
.tab-pill {
  pointer-events: auto;
  flex: 1;
  height: 66px;
  padding: 4px;
  display: grid;
  grid-template-columns: 1fr 1fr 72px 1fr 1fr;
  align-items: stretch;
  border-radius: 999px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(22px) saturate(190%);
  backdrop-filter: blur(22px) saturate(190%);
  box-shadow: var(--shadow-float), inset 0 0 0 0.5px var(--glass-line), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: 999px;
  color: var(--label);
  font-size: 10.5px;
  font-weight: 600;
  text-align: center;
  transition: background-color 0.25s, color 0.25s;
}
.tab .ic { width: 25px; height: 25px; }
.tab[aria-current="page"] { color: var(--tint); background: rgba(0, 0, 0, 0.05); }
/* «+» в центре панели */
.tab-add {
  align-self: center;
  justify-self: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(180deg, #2F8CFF, #007AFF);
  box-shadow: 0 6px 18px rgba(0, 122, 255, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.18s var(--ease);
}
.tab-add:active { transform: scale(0.93); }
.tab-add .ic { width: 28px; height: 28px; }

/* ---------- Сообщения ---------- */

.toast {
  position: fixed;
  top: calc(var(--safe-t) + 10px);
  left: 50%;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100% - 28px);
  padding: 11px 18px 11px 14px;
  border-radius: 999px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(22px) saturate(190%);
  backdrop-filter: blur(22px) saturate(190%);
  box-shadow: var(--shadow-float), inset 0 0 0 0.5px var(--glass-line);
  font-size: 15px;
  font-weight: 600;
  transform: translate(-50%, calc(-100% - var(--safe-t) - 20px));
  transition: transform 0.5s var(--ease);
  pointer-events: none;
}
.toast.show { transform: translate(-50%, 0); pointer-events: auto; }
.toast .ic { width: 22px; height: 22px; color: var(--green); }
.toast button { color: var(--tint); font-weight: 600; white-space: nowrap; }

/* ---------- Награда ---------- */

.celebrate {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(242, 242, 247, 0.82);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  opacity: 0;
  transition: opacity 0.3s;
}
.celebrate.show { opacity: 1; }
.cel-card { width: 100%; max-width: 340px; text-align: center; }
.cel-medal { display: grid; place-items: center; margin-bottom: 26px; perspective: 700px; }
.cel-medal .medal { animation: medal-in 1.4s var(--ease) both; }
@keyframes medal-in {
  0% { opacity: 0; transform: scale(0.3) rotateY(-540deg); }
  60% { opacity: 1; transform: scale(1.08) rotateY(15deg); }
  100% { opacity: 1; transform: scale(1) rotateY(0); }
}
.cel-kicker { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; color: var(--label-2); }
.cel-title { margin-top: 6px; font-family: var(--display); font-size: 28px; line-height: 34px; font-weight: 700; }
.cel-text { margin: 8px 0 26px; color: var(--label-2); font-size: 17px; line-height: 22px; }

/* ---------- Знакомство ---------- */

.onb {
  position: fixed;
  inset: 0;
  z-index: 80;
  overflow-y: auto;
  background: var(--card);
  padding: calc(var(--safe-t) + 34px) 28px calc(var(--safe-b) + 20px);
  transition: opacity 0.35s;
}
.onb.out { opacity: 0; }
.onb-step { max-width: 440px; min-height: 100%; margin: 0 auto; display: flex; flex-direction: column; }
.onb-icon { width: 96px; height: 96px; margin: 8px auto 20px; border-radius: 22px; box-shadow: 0 10px 28px rgba(255, 70, 70, 0.28); }
.onb-title { font-family: var(--display); font-size: 34px; line-height: 41px; font-weight: 700; text-align: center; }
.onb-lead { margin-top: 10px; color: var(--label-2); font-size: 17px; line-height: 22px; text-align: center; }
.features { display: grid; gap: 22px; margin: 34px 4px 10px; }
.feature { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.feature .ic { width: 40px; height: 40px; color: var(--c); }
.feature b { display: block; font-size: 17px; line-height: 22px; font-weight: 600; }
.feature span { display: block; margin-top: 2px; color: var(--label-2); font-size: 15px; line-height: 20px; }
.onb-actions { margin-top: auto; padding-top: 26px; display: grid; gap: 6px; }
.onb-actions .text-btn { justify-content: center; }
.onb-h { font-family: var(--display); font-size: 28px; line-height: 34px; font-weight: 700; text-align: center; margin: 10px 0 8px; }
.onb-sub { color: var(--label-2); font-size: 17px; line-height: 22px; text-align: center; margin-bottom: 22px; }
.onb .group { margin: 0; background: var(--bg); }
.onb .group-label { margin-left: 16px; }
.goal-big { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 8px 0 16px; }
.goal-big .num { font-size: 64px; line-height: 1; min-width: 110px; text-align: center; }
.goal-big .round-btn { width: 48px; height: 48px; }
.goal-big .round-btn .ic { width: 22px; height: 22px; }
.goal-unit { text-align: center; color: var(--label-2); font-size: 17px; margin-top: -8px; margin-bottom: 18px; }
.onb .capsules { justify-content: center; }
.install { margin-top: 26px; padding: 16px; border-radius: 20px; background: var(--bg); }
.install-title { display: flex; align-items: center; gap: 8px; font-weight: 600; margin-bottom: 12px; }
.install-title .ic { color: var(--tint); }
.install .hint { margin-top: 12px; font-size: 13px; line-height: 18px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---------- Установка на экран «Домой» ---------- */

.gate { z-index: 85; outline: none; }
.gate-swap { animation: gate-in 0.35s var(--ease) both; position: relative; }
@keyframes gate-in { from { opacity: 0; transform: translateY(10px); } }
.gate-icon { width: 112px; height: 112px; border-radius: 25px; margin-top: 18px; }
.gate .btn.filled { min-height: 54px; font-size: 17px; }
.gate .btn .ic { width: 22px; height: 22px; }
.gate-note { text-align: center; font-size: 13px; line-height: 18px; margin-top: -2px; }
.gate-back { position: absolute; top: -18px; left: -12px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--fill); color: var(--label); }
.gate-back .ic { width: 20px; height: 20px; }
.gate .onb-h { margin-top: 38px; }
.guide { counter-reset: g; display: grid; gap: 12px; }
.guide li { counter-increment: g; display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 14px 16px 14px 12px; border-radius: 18px; background: var(--bg); }
.guide li::before { content: counter(g); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: #fff; font-weight: 700; font-size: 15px; }
.guide b { display: block; font-size: 17px; line-height: 22px; font-weight: 600; margin-top: 4px; }
.guide span { display: block; color: var(--label-2); font-size: 15px; line-height: 20px; margin-top: 2px; }
.guide-pic { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.guide-pic .btn { width: 100%; }
.guide-then { display: contents; color: var(--label-3); }
.guide-then .ic { width: 16px; height: 16px; color: var(--label-3); }
.ios-btn { width: 44px; height: 44px; border-radius: 50%; display: grid !important; place-items: center; margin: 0 !important; background: var(--glass); border: 1px solid var(--glass-line); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); color: var(--tint) !important; }
.ios-btn .ic { width: 22px; height: 22px; }
.ios-row { display: flex !important; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin: 0 !important; padding: 12px 14px; border-radius: 12px; background: var(--card); color: var(--label) !important; font-size: 17px !important; }
.ios-row .ic { width: 24px; height: 24px; color: var(--label); }
.ios-add { display: inline-block !important; margin: 0 !important; padding: 7px 16px; border-radius: 999px; background: var(--card); color: var(--tint) !important; font-size: 17px !important; font-weight: 600; }
.ios-app { display: grid !important; justify-items: center; gap: 4px; margin: 0 !important; }
.ios-app img { width: 52px; height: 52px; border-radius: 12px; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15); }
.ios-app i { font-style: normal; font-size: 12px; color: var(--label); }
.gate-help { margin-top: 18px; display: grid; gap: 10px; }
.gate-help .hint { font-size: 13px; line-height: 18px; }
.gate-sheet .guide { margin-top: 18px; }
.guide .btn span { display: inline; color: inherit; margin: 0; font-size: inherit; }
.guide .guide-then { display: grid; place-items: center; margin: 0; }
