/* Kristian web — те же токены, что в приложении (LiquidGlassBackdrop goals, KristianPrimaryChrome, PremiumPaywallSheet). */

:root {
  --base: #1a6cff;
  --tint: #7a5cff;
  --ink: #1a56d6;
  --lime: #d4ff4a;
  --lime-ink: #10220a;
  --error: #ff8a65;
  --text: #fff;
  --text-2: rgba(255, 255, 255, 0.68);
  --text-3: rgba(255, 255, 255, 0.46);
  --fill: rgba(255, 255, 255, 0.08);
  --fill-2: rgba(255, 255, 255, 0.12);
  --stroke: rgba(255, 255, 255, 0.14);
  --stroke-2: rgba(255, 255, 255, 0.22);
  --divider: rgba(255, 255, 255, 0.10);
  --pad: 20px;
  --max: 440px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --rounded: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --spring: cubic-bezier(.2, .9, .25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
html { background: #1a6cff; color-scheme: dark; -webkit-text-size-adjust: 100%; }

body {
  min-height: 100dvh;
  font-family: var(--font);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
img { display: block; }

/* Фон — LiquidGlassBackdrop(style: .sky) */
.k-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(255, 255, 255, 0.24), transparent 70%),
    linear-gradient(180deg, #5aa7ff 0%, #2f7bff 50%, #1a62f0 100%),
    #1a6cff;
}

/* Каркас экрана */
.k-page {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  min-height: 100dvh;
  margin: 0 auto;
  padding: calc(14px + env(safe-area-inset-top)) var(--pad) calc(18px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
}

.k-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  margin-bottom: 22px;
}

.k-circle {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  border-radius: 50%;
  background: var(--fill-2);
  box-shadow: inset 0 0 0 1px var(--stroke-2);
  color: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  transition: transform .16s ease-out;
}

.k-circle svg { width: 15px; height: 15px; }
.k-circle:active { transform: scale(.94); }

.k-link-btn {
  border: 0;
  padding: 6px 0;
  background: none;
  color: var(--text-2);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.k-title {
  margin: 0;
  font-family: var(--rounded);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.k-title--center { text-align: center; }

.k-sub {
  margin: 6px 0 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-2);
}

.k-sub--center { text-align: center; }

.k-spacer { flex: 1; min-height: 24px; }

.k-dock {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 16px;
}

/* Кнопки — Capsule 54pt, белая таблетка */
.k-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  width: 100%;
  height: 58px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 600;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  transition: transform .16s ease-out, opacity .2s ease;
}

.k-btn:active { transform: scale(.985); }
.k-btn:disabled { cursor: default; }

.k-btn-primary { background: #fff; color: var(--ink); box-shadow: 0 18px 40px -14px rgba(10, 20, 80, 0.55); font-size: 18px; }

.k-btn-glass {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.20), rgba(255, 255, 255, 0.08));
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  color: #fff;
  box-shadow: inset 0 0 0 1px var(--stroke-2);
}

.k-btn-store { background: #000; color: #fff; }
.k-btn-store svg { width: 19px; height: 19px; margin-top: -2px; }

.k-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2.2px solid currentColor;
  border-right-color: transparent;
  animation: k-turn .7s linear infinite;
}

.k-btn.is-loading .k-spinner { display: inline-block; }

@keyframes k-turn { to { transform: rotate(360deg); } }

/* Лендинг */
.k-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
}

.k-icon {
  width: 120px;
  height: 120px;
  border-radius: 27px;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.10), 0 26px 50px -18px rgba(8, 24, 110, 0.65);
}

.k-icon--sm { width: 52px; height: 52px; border-radius: 12px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2); }

.k-hero .k-title { font-size: 46px; font-weight: 800; letter-spacing: -0.02em; }

.k-next {
  display: flex;
  justify-content: center;
  padding-top: 18px;
  color: var(--text-3);
}

.k-next svg { width: 22px; height: 22px; }

.k-page.k-store {
  min-height: auto;
  padding-top: 8px;
  padding-bottom: calc(40px + env(safe-area-inset-bottom));
}

.k-store {
  align-items: center;
  gap: 28px;
}

.k-phone {
  position: relative;
  width: min(280px, 72vw);
  aspect-ratio: 9 / 19.5;
  padding: 11px;
  border-radius: 54px;
  background: linear-gradient(160deg, #2a2d36, #0c0d12 40%, #1c1e25);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.14), 0 40px 80px -24px rgba(8, 20, 80, 0.6);
}

.k-phone::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 23px;
  left: 50%;
  width: 31%;
  height: 26px;
  margin-left: -15.5%;
  border-radius: 999px;
  background: #000;
}

.k-phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 44px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(255, 255, 255, 0.24), transparent 70%),
    linear-gradient(180deg, #5aa7ff 0%, #2f7bff 50%, #1a62f0 100%);
}

.k-phone-placeholder { width: 72px; height: 72px; border-radius: 17px; opacity: .9; box-shadow: 0 16px 34px -10px rgba(10, 20, 90, 0.55); }
.k-phone-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.k-store .k-btn-store { width: min(100%, 320px); }

/* Сгруппированный список — как SubscriptionManageSheet */
.k-list {
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.20), rgba(255, 255, 255, 0.07));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 24px 60px -24px rgba(20, 20, 90, 0.45);
  -webkit-backdrop-filter: blur(30px) saturate(160%);
  backdrop-filter: blur(30px) saturate(160%);
  overflow: hidden;
}

.k-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 0 18px;
  font-size: 17px;
  font-weight: 500;
  position: relative;
}

.k-row + .k-row::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.k-row-label { color: rgba(255, 255, 255, 0.62); }
.k-row-value { margin-left: auto; text-align: right; font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

button.k-row {
  width: 100%;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}

button.k-row:active { background: rgba(255, 255, 255, 0.06); }
.k-list--methods .k-row + .k-row::before { left: 64px; }

/* Значок способа оплаты — PaymentMethodGlyph */
.k-glyph {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.k-glyph svg { width: 15px; height: 15px; }
.k-glyph--sbp { background: #fff; color: #5b57a2; font-size: 10px; font-weight: 800; font-family: var(--rounded); }
.k-glyph--sberpay { background: #21a038; }
.k-glyph--tpay { background: #ffdd2d; color: #000; font-size: 15px; font-weight: 800; }

.k-check {
  margin-left: auto;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.42);
  display: grid;
  place-items: center;
  transition: background .2s ease, box-shadow .2s ease;
}

.k-check svg { display: none; }
.k-check::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); transform: scale(0); transition: transform .25s var(--spring); }
[aria-checked="true"] .k-check::after { transform: scale(1); }
[aria-checked="true"] .k-check { background: #fff; box-shadow: none; }

/* Переключатель — Toggle с tint lime */
.k-switch {
  margin-left: auto;
  position: relative;
  flex: none;
  width: 51px;
  height: 31px;
  border: 0;
  padding: 0;
  border-radius: 999px;
  background: rgba(120, 120, 128, 0.32);
  cursor: pointer;
  transition: background .25s ease;
}

.k-switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  transition: transform .25s var(--spring);
}

.k-switch[aria-checked="true"] { background: var(--lime); }
.k-switch[aria-checked="true"]::after { transform: translateX(20px); }
.k-switch:disabled { opacity: .6; }

/* Тарифы — planCard из PremiumPaywallSheet */
.k-plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.k-plan {
  position: relative;
  appearance: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  padding: 14px 16px;
  border-radius: 22px;
  background: var(--fill);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: transform .16s ease-out, background .25s ease, color .25s ease;
}

.k-plan:active { transform: scale(.985); }
.k-plan[aria-checked="true"] { background: #fff; color: var(--ink); box-shadow: none; }
.k-plan-title { font-size: 14px; font-weight: 600; opacity: .7; }
.k-plan-price { font-family: var(--rounded); font-size: 23px; font-weight: 700; font-variant-numeric: tabular-nums; }
.k-plan-note { font-size: 12px; font-weight: 500; opacity: .6; }

.k-badge {
  position: absolute;
  top: -10px;
  right: 12px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--lime-ink);
  font-size: 12px;
  font-weight: 700;
}

.k-section { margin-top: 22px; }

.k-terms {
  margin: 0;
  text-align: center;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text-3);
}

.k-terms a { color: var(--text-2); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.35); text-underline-offset: 2px; }

.k-error {
  margin: 0;
  min-height: 0;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--error);
}

.k-error:empty { display: none; }

/* Шапка с брендом */
.k-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--rounded);
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.k-brand img { width: 24px; height: 24px; border-radius: 7px; }
.k-bar-slot { width: 34px; height: 34px; display: flex; align-items: center; }
.k-bar-slot--end { justify-content: flex-end; }

.k-label {
  margin: 0 4px 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-2);
}

/* Карта Premium */
.k-pass {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: 28px;
  background: linear-gradient(145deg, #ffffff 0%, #f1f0ff 60%, #e6e9ff 100%);
  color: #10204a;
  box-shadow: 0 34px 70px -24px rgba(10, 10, 80, 0.65);
}

.k-pass::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -150px;
  top: -190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 255, 74, 0.55), transparent 62%);
  pointer-events: none;
}

.k-pass::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  left: -140px;
  bottom: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 92, 255, 0.28), transparent 70%);
  pointer-events: none;
}

.k-pass > * { position: relative; }
.k-pass-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.k-pass-name { display: flex; align-items: center; gap: 12px; font-family: var(--rounded); font-size: 19px; font-weight: 700; }
.k-pass-name img { width: 42px; height: 42px; border-radius: 11px; box-shadow: 0 8px 18px -6px rgba(22, 79, 203, 0.6); }
.k-pass .k-badge { position: static; font-size: 13px; padding: 5px 10px; }
.k-pass-big {
  margin-top: 36px;
  font-family: var(--rounded);
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.k-pass-big small { font-size: 0.52em; letter-spacing: 0; margin-left: 4px; }
.k-pass-big--text { font-size: clamp(28px, 8.6vw, 40px); letter-spacing: -0.02em; white-space: normal; }
.k-pass-big:not(.k-pass-big--text) { font-size: clamp(56px, 17vw, 72px); }
.k-pass-meta {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed rgba(16, 32, 74, 0.16);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 15px;
  color: rgba(16, 32, 74, 0.55);
}

.k-pass-meta b { color: #10204a; font-weight: 600; }
.k-pass--muted { background: linear-gradient(160deg, rgba(255, 255, 255, 0.20), rgba(255, 255, 255, 0.07)); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.20), 0 24px 60px -24px rgba(20, 20, 90, 0.45); }
.k-pass--muted::before, .k-pass--muted::after { display: none; }
.k-pass--muted .k-pass-big { color: #fff; }
.k-pass--muted .k-pass-meta { color: var(--text-2); border-top-color: rgba(255, 255, 255, 0.18); }

/* Переключатель тарифа */
.k-seg {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 4px;
  padding: 4px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.k-seg button {
  appearance: none;
  border: 0;
  height: 42px;
  border-radius: 999px;
  background: none;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background .25s ease, color .25s ease;
}

.k-seg button[aria-checked="true"] { background: #fff; color: var(--ink); box-shadow: 0 6px 16px -6px rgba(10, 20, 80, 0.5); }
.k-seg .k-badge { position: static; font-size: 11px; padding: 3px 6px; }
.k-seg button { padding: 0 6px; white-space: nowrap; }

/* Оплата: герой и плитки способов */
.k-pay-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px 0 24px;
}

.k-pay-hero .k-icon { width: 92px; height: 92px; border-radius: 22px; }
.k-pay-hero h1 { margin: 22px 0 6px; font-family: var(--rounded); font-size: 34px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.k-pay-hero p { margin: 0; font-size: 17px; font-weight: 500; color: var(--text-2); font-variant-numeric: tabular-nums; }
.k-pay-hero p b { color: #fff; font-weight: 600; }
.k-pay-hero .k-seg { width: 100%; margin: 22px 0 0; }

.k-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.k-tile {
  appearance: none;
  border: 0;
  cursor: pointer;
  position: relative;
  min-height: 112px;
  padding: 16px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  color: #fff;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.20), rgba(255, 255, 255, 0.07));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.26);
  -webkit-backdrop-filter: blur(30px) saturate(160%);
  backdrop-filter: blur(30px) saturate(160%);
  transition: transform .16s ease-out, background .25s ease, color .25s ease;
}

.k-tile:active { transform: scale(.98); }
.k-tile--wide { grid-column: 1 / -1; min-height: 76px; flex-direction: row; align-items: center; justify-content: flex-start; gap: 14px; }
.k-tile .k-glyph { width: 38px; height: 38px; border-radius: 11px; }
.k-tile .k-glyph svg { width: 18px; height: 18px; }
.k-tile .k-glyph--sbp { font-size: 11px; }
.k-tile .k-glyph--tpay { font-size: 19px; }
.k-tile-name { display: block; font-size: 17px; font-weight: 600; }
.k-tile-sub { display: block; margin-top: 2px; font-size: 13px; font-weight: 500; color: var(--text-3); }

.k-tile-check {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: none;
  place-items: center;
  background: var(--ink);
  color: #fff;
}

.k-tile--wide .k-tile-check { top: 50%; margin-top: -12px; right: 18px; }
.k-tile-check svg { width: 13px; height: 13px; }
.k-tile[aria-checked="true"] { background: #fff; color: #10204a; box-shadow: 0 20px 44px -16px rgba(10, 20, 80, 0.6); }
.k-tile[aria-checked="true"] .k-tile-sub { color: rgba(16, 32, 74, 0.5); }
.k-tile[aria-checked="true"] .k-tile-check { display: grid; }
.k-tile[aria-checked="true"] .k-glyph--sbp { box-shadow: inset 0 0 0 1px rgba(91, 87, 162, 0.28); }
.k-tile[aria-checked="true"] .k-glyph:not(.k-glyph--sbp):not(.k-glyph--sberpay):not(.k-glyph--tpay) { background: rgba(26, 86, 214, 0.12); color: var(--ink); }

.k-btn .k-glyph { width: 28px; height: 28px; border-radius: 8px; }
.k-btn .k-glyph svg { width: 15px; height: 15px; }
.k-btn .k-glyph--sbp { font-size: 9px; box-shadow: inset 0 0 0 1px rgba(91, 87, 162, 0.25); }
.k-btn .k-glyph:not(.k-glyph--sbp):not(.k-glyph--sberpay):not(.k-glyph--tpay) { background: rgba(26, 86, 214, 0.12); color: var(--ink); }

/* Вход и регистрация */
.k-auth {
  flex: 1;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  padding-bottom: 28px;
  text-align: center;
}

.k-auth .k-icon { width: 92px; height: 92px; border-radius: 22px; }

/* Кабинет */
.k-cabinet { padding-top: calc(28px + env(safe-area-inset-top)); }

.k-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-bottom: 24px;
  text-align: center;
}

.k-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, #ffffff, #e6ecff);
  color: var(--ink);
  font-family: var(--rounded);
  font-size: 32px;
  font-weight: 800;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.14), 0 22px 44px -16px rgba(10, 20, 90, 0.55);
}

.k-profile-email {
  margin: 0;
  max-width: 100%;
  font-family: var(--rounded);
  font-size: 20px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.k-pass-cta {
  margin-top: 22px;
  height: 54px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  box-shadow: 0 14px 30px -12px rgba(26, 86, 214, 0.7);
  transition: transform .16s ease-out;
}

.k-pass-cta:active { transform: scale(.985); }
.k-pass-big small { font-size: 0.36em; font-weight: 700; color: rgba(16, 32, 74, 0.55); letter-spacing: 0; margin-left: 6px; }

.k-group { margin-top: 26px; }
.k-row-icon { flex: none; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.18); }
.k-row-icon svg { width: 17px; height: 17px; }
.k-row-link .k-chevron { margin-left: auto; width: 16px; height: 16px; color: rgba(255, 255, 255, 0.5); }
.k-cabinet .k-list .k-row + .k-row::before { left: 62px; }
.k-cabinet #rows .k-row + .k-row::before { left: 18px; }
.k-row-method { display: flex; align-items: center; gap: 10px; }
.k-row-method .k-glyph { width: 28px; height: 28px; border-radius: 8px; }

a.k-tile, .k-tile--static { text-decoration: none; }
.k-tile--static { cursor: default; }
.k-tile--static:active { transform: none; }
.k-tile .k-row-icon { width: 38px; height: 38px; border-radius: 11px; }
.k-tile .k-row-icon svg { width: 19px; height: 19px; }
.k-tile[role="switch"][aria-checked="true"] { background: linear-gradient(160deg, rgba(255, 255, 255, 0.20), rgba(255, 255, 255, 0.07)); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.26); }
.k-tile[role="switch"][aria-checked="true"] .k-tile-sub { color: var(--text-3); }
.k-switch--tile { position: absolute; top: 16px; right: 16px; margin: 0; pointer-events: none; }
.k-tile[aria-checked="true"] .k-switch--tile { background: var(--lime); }
.k-tile[aria-checked="true"] .k-switch--tile::after { transform: translateX(20px); }
.k-tile-sub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.k-tile > span:last-child { min-width: 0; }

.k-pay-hero--top { flex: none; justify-content: flex-start; padding: clamp(28px, 7vh, 64px) 0 30px; }
.k-pay-hero--top .k-icon { width: 104px; height: 104px; border-radius: 25px; }
.k-tiles--cabinet .k-tile { min-height: 132px; }

/* Шторка */
.k-sheet-wrap { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.k-sheet-backdrop { position: absolute; inset: 0; background: rgba(6, 18, 70, 0.42); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .26s ease; }
.k-sheet {
  position: relative;
  width: 100%;
  max-width: 480px;
  padding: 10px 20px calc(20px + env(safe-area-inset-bottom));
  border-radius: 30px 30px 0 0;
  background: #fff;
  color: #10204a;
  box-shadow: 0 -20px 60px -20px rgba(6, 18, 70, 0.5);
  transform: translateY(100%);
  transition: transform .32s cubic-bezier(.2, .9, .25, 1);
}
.k-sheet-wrap.is-open .k-sheet-backdrop { opacity: 1; }
.k-sheet-wrap.is-open .k-sheet { transform: none; }
.k-sheet-grip { display: block; width: 38px; height: 5px; margin: 0 auto 18px; border-radius: 3px; background: rgba(16, 32, 74, 0.15); }
.k-sheet h2 { margin: 0; font-family: var(--rounded); font-size: 24px; font-weight: 800; letter-spacing: -0.01em; text-align: center; }
.k-sheet-fact { margin: 6px 0 20px; text-align: center; font-size: 16px; color: rgba(16, 32, 74, 0.6); }
.k-sheet-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.k-sheet-option {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 20px;
  background: #f1f5ff;
  color: inherit;
  text-align: left;
  font: inherit;
  transition: transform .16s ease-out, background .16s ease;
}
.k-sheet-option:hover { background: #e7eeff; }
.k-sheet-option:active { transform: scale(.985); }
.k-sheet-option > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.k-sheet-option b { font-size: 17px; font-weight: 700; }
.k-sheet-option small { font-size: 14px; color: rgba(16, 32, 74, 0.55); }
.k-sheet-option-icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: #fff; }
.k-sheet-option-icon svg { width: 20px; height: 20px; }
.k-sheet .k-error { text-align: center; margin: 0 0 10px; }
.k-sheet .k-error:empty { display: none; }
.k-sheet-keep { width: 100%; background: var(--ink); color: #fff; box-shadow: 0 14px 30px -12px rgba(26, 86, 214, 0.7); }
.k-sheet-off { width: 100%; margin-top: 10px; background: #fff; color: #e5484d; box-shadow: inset 0 0 0 1.5px rgba(229, 72, 77, 0.35); }
.k-sheet button:disabled { opacity: .55; }
.k-sheet button:focus { outline: none; }
.k-sheet button:focus-visible { outline: 3px solid rgba(26, 86, 214, 0.35); outline-offset: 2px; }

/* Поля ввода */
.k-form { display: flex; flex-direction: column; flex: 1; }
.k-auth .k-sub { margin-top: 8px; word-break: break-all; }

.k-forgot {
  align-self: flex-end;
  margin: 2px 6px 0;
  padding: 6px 0;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.k-dock .k-terms a { color: rgba(255, 255, 255, 0.8); }

.k-row-link { color: #fff; }

.k-toast {
  position: fixed;
  z-index: 5;
  left: 50%;
  top: calc(14px + env(safe-area-inset-top));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 10px 12px;
  border-radius: 999px;
  background: #fff;
  color: #10204a;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 18px 40px -14px rgba(10, 20, 80, 0.55);
  animation: k-toast 2.6s var(--spring) both;
}

.k-toast .k-ok { margin: 0; width: 22px; height: 22px; }

@keyframes k-toast {
  0% { opacity: 0; transform: translate(-50%, -16px); }
  12%, 82% { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, -16px); }
}

.k-fields { display: flex; flex-direction: column; gap: 10px; }

.k-input {
  position: relative;
  display: flex;
  align-items: center;
  height: 64px;
  padding: 0 8px 0 20px;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.20), 0 18px 40px -26px rgba(10, 20, 90, 0.55);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  cursor: text;
  transition: box-shadow .2s ease, background .2s ease;
}

.k-input:focus-within {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.12));
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.85), 0 0 0 5px rgba(255, 255, 255, 0.12), 0 18px 40px -22px rgba(10, 20, 90, 0.6);
}

.k-input.is-invalid { box-shadow: inset 0 0 0 1.5px var(--error), 0 0 0 5px rgba(255, 138, 101, 0.16); }
.k-input.is-shaking { animation: k-shake .42s cubic-bezier(.36, .07, .19, .97); }

@keyframes k-shake {
  15%, 85% { transform: translateX(-2px); }
  30%, 70% { transform: translateX(5px); }
  45%, 55% { transform: translateX(-7px); }
}

.k-input input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 22px 0 6px;
  border: 0;
  outline: none;
  background: transparent;
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  caret-color: var(--lime);
}

.k-input input::placeholder { color: transparent; }

.k-input-label {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  transform-origin: left center;
  color: rgba(255, 255, 255, 0.62);
  font-size: 17px;
  font-weight: 500;
  pointer-events: none;
  transition: transform .22s var(--spring), color .2s ease, top .22s var(--spring);
}

.k-input:focus-within .k-input-label,
.k-input input:not(:placeholder-shown) + .k-input-label,
.k-input input:-webkit-autofill + .k-input-label {
  top: 19px;
  transform: translateY(-50%) scale(.76);
  color: rgba(255, 255, 255, 0.78);
}

.k-input.is-invalid .k-input-label { color: #ffc2ad; }

.k-input input:-webkit-autofill,
.k-input input:-webkit-autofill:hover,
.k-input input:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff;
  -webkit-box-shadow: 0 0 0 1000px transparent inset;
  transition: background-color 600000s 0s, color 600000s 0s;
}

.k-input-tools { display: flex; align-items: center; gap: 2px; flex: none; }

.k-tool {
  width: 44px;
  height: 44px;
  border: 0;
  padding: 0;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: none;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}

.k-tool:active { background: rgba(255, 255, 255, 0.12); }
.k-tool svg { width: 22px; height: 22px; }
.k-tool--clear svg { width: 18px; height: 18px; }

.k-ok {
  width: 26px;
  height: 26px;
  margin-right: 10px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--lime);
  color: var(--lime-ink);
  animation: k-pop .4s var(--spring) both;
}

.k-ok svg { width: 13px; height: 13px; }

.k-caps {
  margin-right: 4px;
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.k-msg {
  margin: -2px 6px 2px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  font-size: 14px;
  font-weight: 500;
  color: #ffc2ad;
  animation: k-rise .3s var(--spring) both;
}

.k-msg:empty { display: none; }
.k-msg--hint { color: rgba(255, 255, 255, 0.82); }

.k-msg-action {
  border: 0;
  padding: 0;
  background: none;
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  text-underline-offset: 3px;
  cursor: pointer;
}

.k-strength { display: flex; align-items: center; gap: 10px; margin: 0 6px; }
.k-strength-bars { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.k-strength-bars i { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.18); transition: background .25s ease; }
.k-strength-word { min-width: 74px; text-align: right; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, 0.8); }
.k-strength[data-level="1"] i:nth-child(-n+1) { background: var(--error); }
.k-strength[data-level="2"] i:nth-child(-n+2) { background: #ffd36b; }
.k-strength[data-level="3"] i:nth-child(-n+3) { background: #b8f05a; }
.k-strength[data-level="4"] i { background: var(--lime); }

.k-form-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: #ffc2ad;
}

.k-form-error:empty { display: none; }

.k-sent {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.k-sent .k-sub b { color: #fff; font-weight: 600; word-break: break-all; }

.k-envelope {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 50px -16px rgba(10, 20, 90, 0.55), 0 0 0 10px rgba(255, 255, 255, 0.10);
  animation: k-pop .5s var(--spring) both;
}

.k-envelope svg { width: 40px; height: 40px; }

/* Формы */
.k-field {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
}

.k-field::placeholder { color: rgba(255, 255, 255, 0.46); }
.k-list .k-field + .k-field { box-shadow: inset 0 1px 0 var(--divider); }

.k-alt {
  margin: 0;
  text-align: center;
  font-size: 15px;
  color: var(--text-2);
}

.k-alt a { color: #fff; font-weight: 600; }

/* Состояния оплаты — successView */
.k-state {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
}

.k-state .k-sub { margin: 0; }
.k-state .k-icon { width: 92px; height: 92px; border-radius: 22px; }
.k-code { margin: 4px 0 -10px; font-family: var(--rounded); font-size: 64px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: rgba(255, 255, 255, 0.92); font-variant-numeric: tabular-nums; }

.k-medal {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--lime);
  color: var(--lime-ink);
  box-shadow: 0 0 36px rgba(212, 255, 74, 0.45);
  animation: k-pop .5s var(--spring) both;
}

.k-medal svg { width: 40px; height: 40px; }
.k-medal--fail { background: var(--fill-2); color: #fff; box-shadow: inset 0 0 0 1px var(--stroke-2); }

.k-ring {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .22);
  border-top-color: #fff;
  animation: k-turn .8s linear infinite;
}

@keyframes k-pop {
  0% { transform: scale(.5); opacity: 0; }
  70% { transform: scale(1.06); opacity: 1; }
  100% { transform: scale(1); }
}

.k-skeleton {
  border-radius: 22px;
  background: linear-gradient(90deg, rgba(255,255,255,.06), rgba(255,255,255,.13), rgba(255,255,255,.06));
  background-size: 200% 100%;
  animation: k-shimmer 1.2s ease-in-out infinite;
}

@keyframes k-shimmer { to { background-position: -200% 0; } }

.k-hidden, [hidden] { display: none !important; }

.k-rise { animation: k-rise .5s var(--spring) both; }

@keyframes k-rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.k-sheet { max-height: calc(100dvh - env(safe-area-inset-top) - 12px); overflow-y: auto; overscroll-behavior: contain; }

@media (max-width: 759px), (max-height: 500px) {
.k-dock--sticky {
  position: sticky;
  bottom: 0;
  z-index: 5;
  margin: 0 calc(var(--pad) * -1) calc((18px + env(safe-area-inset-bottom)) * -1);
  padding: 22px var(--pad) calc(18px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(26, 98, 240, 0), #1a62f0 22px);
}
}

/* Невысокие телефоны: iPhone SE, 8, mini, Android 16:9 */
@media (max-height: 740px) {
  .k-bar { margin-bottom: 8px; }
  .k-pay-hero { padding-bottom: 16px; }
  .k-pay-hero .k-icon, .k-auth .k-icon, .k-state .k-icon { width: 72px; height: 72px; border-radius: 17px; }
  .k-pay-hero h1 { margin: 14px 0 4px; font-size: 28px; }
  .k-pay-hero p { font-size: 15px; }
  .k-pay-hero .k-seg { margin-top: 16px; }
  .k-pay-hero--top { padding: 6px 0 18px; }
  .k-pay-hero--top .k-icon { width: 80px; height: 80px; border-radius: 19px; }
  .k-tiles { gap: 10px; }
  .k-tile { min-height: 96px; padding: 13px; gap: 8px; }
  .k-tiles--cabinet .k-tile { min-height: 108px; }
  .k-tile.k-tile--wide { min-height: 68px; }
  .k-auth { min-height: 160px; gap: 16px; padding-bottom: 20px; }
  .k-auth .k-title { font-size: 30px; }
  .k-hero .k-icon { width: 96px; height: 96px; border-radius: 22px; }
  .k-hero .k-title { font-size: 40px; }
  .k-btn { height: 52px; }
  .k-btn-primary { font-size: 17px; }
  .k-dock { gap: 10px; padding-top: 12px; }
  .k-sheet h2 { font-size: 21px; }
  .k-sheet-fact { margin-bottom: 14px; }
  .k-sheet-option { padding: 11px 14px; }
}

/* Узкие телефоны: 320 точек */
@media (max-width: 350px) {
  :root { --pad: 16px; }
  .k-pay-hero h1 { font-size: 26px; }
  .k-seg button { font-size: 14px; gap: 5px; }
  .k-seg .k-badge { font-size: 10px; padding: 2px 5px; }
  .k-tile-name { font-size: 15px; }
  .k-tile-sub { font-size: 12px; }
  .k-sheet { padding-left: 16px; padding-right: 16px; }
}

/* Телефон горизонтально */
@media (max-height: 500px) and (orientation: landscape) {
  .k-pay-hero .k-icon, .k-auth .k-icon, .k-state .k-icon, .k-pay-hero--top .k-icon { width: 56px; height: 56px; border-radius: 14px; box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.10); }
  .k-hero .k-icon { width: 72px; height: 72px; }
  .k-pay-hero h1, .k-auth .k-title, .k-hero .k-title { font-size: 26px; }
  .k-auth { min-height: 0; }
  .k-tile, .k-tiles--cabinet .k-tile { min-height: 84px; }
  .k-sheet { border-radius: 24px 24px 0 0; padding-top: 8px; }
  .k-sheet-grip { margin-bottom: 10px; }
  .k-sheet-options { flex-direction: row; }
  .k-sheet-options > * { flex: 1; }
}

/* Планшеты и компьютеры: шторка — окно по центру */
@media (min-width: 760px) and (min-height: 600px) {
  .k-sheet-wrap { align-items: center; padding: 24px; }
  .k-sheet { border-radius: 30px; padding-bottom: 22px; transform: translateY(24px) scale(.97); opacity: 0; transition: transform .32s cubic-bezier(.2, .9, .25, 1), opacity .2s ease; }
  .k-sheet-wrap.is-open .k-sheet { opacity: 1; }
  .k-sheet-grip { display: none; }
  .k-sheet h2 { margin-top: 12px; }
}

@media (min-width: 760px) and (min-height: 600px) {
  .k-page { justify-content: center; }
  .k-form { flex: 0; }
  .k-form .k-spacer, .k-page > .k-spacer { flex: 0; min-height: 28px; }
  .k-auth { flex: 0; min-height: 0; padding-top: 0; }
  .k-state { flex: 0; padding-bottom: 12px; }
  .k-pay-hero { flex: 0; }
}

@media (min-width: 760px) {
  .k-page { justify-content: center; }
  .k-page > .k-spacer { flex: 0; min-height: 32px; }
  .k-hero { flex: 0; padding: 0 0 36px; }
  .k-landing .k-page { justify-content: center; }
}

/* Оплата: движение */
.k-seg { position: relative; isolation: isolate; }
.k-seg-thumb {
  position: absolute;
  z-index: 0;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 0;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 16px -6px rgba(10, 20, 80, 0.5);
  transition: transform .5s cubic-bezier(.3, 1.35, .45, 1), width .5s cubic-bezier(.3, 1.35, .45, 1);
  will-change: transform;
}
.k-seg:has(.k-seg-thumb) button { position: relative; z-index: 1; transition: color .3s ease, transform .18s ease; }
.k-seg:has(.k-seg-thumb) button[aria-checked="true"] { background: none; box-shadow: none; }
.k-seg button:active { transform: scale(.95); }
.k-seg .k-badge { transition: transform .4s cubic-bezier(.3, 1.4, .45, 1); }
.k-seg button[aria-checked="true"] .k-badge { transform: scale(1.06); }

.k-tile[role="radio"] {
  isolation: isolate;
  transition: transform .45s cubic-bezier(.3, 1.3, .45, 1), color .3s ease, box-shadow .35s ease;
}
.k-tile[role="radio"]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: #fff;
  opacity: 0;
  transform: scale(.94);
  transition: opacity .28s ease, transform .45s cubic-bezier(.3, 1.3, .45, 1);
}
.k-tile[role="radio"][aria-checked="true"] {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.20), rgba(255, 255, 255, 0.07));
}
.k-tile[role="radio"][aria-checked="true"]::before { opacity: 1; transform: none; }
.k-tile[role="radio"]:active { transform: scale(.965); transition-duration: .12s; }
.k-tile-sub { transition: color .3s ease; }
.k-tile .k-glyph { transition: background .3s ease, color .3s ease, box-shadow .3s ease; }

.k-tile[role="radio"] .k-tile-check {
  display: grid;
  opacity: 0;
  transform: scale(.3) rotate(-30deg);
  transition: opacity .18s ease, transform .4s cubic-bezier(.3, 1.6, .45, 1);
}
.k-tile[role="radio"][aria-checked="true"] .k-tile-check { opacity: 1; transform: none; transition-delay: .06s; }

.k-tile.is-picked { animation: k-pick .5s cubic-bezier(.3, 1.3, .45, 1); }
@keyframes k-pick {
  0% { transform: scale(.965); }
  45% { transform: scale(1.025); }
  100% { transform: none; }
}

.k-tile-in { animation: k-tile-in .5s cubic-bezier(.2, .9, .25, 1) both; }
@keyframes k-tile-in {
  from { opacity: 0; transform: translateY(14px) scale(.97); }
  to { opacity: 1; transform: none; }
}

#payGlyph, #payLabel { display: inline-flex; align-items: center; }
#payGlyph.is-picked { animation: k-glyph-pop .45s cubic-bezier(.3, 1.6, .45, 1); }
@keyframes k-glyph-pop {
  0% { transform: scale(.4) rotate(-14deg); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
#planLine, #terms { will-change: transform, opacity; }
.k-tile[role="radio"]:not([aria-checked="true"]) { transition-duration: .45s, .16s, .3s; }
.k-tile[role="radio"]:not([aria-checked="true"])::before { transition-duration: .16s, .3s; }
.k-tile[role="radio"]:not([aria-checked="true"]) .k-tile-sub { transition-duration: .16s; }

.k-terms--fixed { display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 2.9em; }
.k-terms--fixed > span { white-space: nowrap; }
#planLine { min-height: 1.3em; }

/* Результат оплаты */
.k-done { gap: 26px; }
.k-done-text { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.k-done-text .k-sub { font-size: 17px; color: #fff; font-weight: 600; }
.k-done-text .k-sub:empty { display: none; }
.k-done-icon { position: relative; width: 104px; height: 104px; }
.k-done-icon .k-icon { position: relative; z-index: 1; width: 104px; height: 104px; border-radius: 25px; }
.k-icon--dim { filter: saturate(.35) brightness(.95); }

.k-done-badge {
  position: absolute;
  z-index: 2;
  right: -12px;
  bottom: -12px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--lime);
  color: var(--lime-ink);
  box-shadow: 0 0 0 4px #2a74ff, 0 10px 24px -6px rgba(10, 20, 80, 0.55);
  animation: k-badge-in .6s .25s cubic-bezier(.3, 1.6, .45, 1) both;
}
.k-done-badge svg { width: 20px; height: 20px; }
.k-done-badge--fail { background: #fff; color: #e5484d; }

.k-done-burst {
  position: absolute;
  inset: -8px;
  border-radius: 33px;
  background: rgba(212, 255, 74, 0.55);
  animation: k-burst 1s .2s ease-out both;
}

.k-done-orbit {
  position: absolute;
  inset: -12px;
  border-radius: 36px;
  border: 3px solid rgba(255, 255, 255, 0.18);
  border-top-color: #fff;
  animation: k-turn 1s linear infinite;
}
.k-done-icon.is-waiting .k-icon { animation: k-breathe 1.6s ease-in-out infinite; }

.k-receipt { width: 100%; animation: k-rise .5s .35s var(--spring) both; }
.k-receipt .k-row { justify-content: space-between; color: var(--text-2); }
.k-receipt .k-row-value { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.k-receipt .k-glyph { width: 24px; height: 24px; border-radius: 7px; font-size: 8px; }
.k-receipt .k-glyph svg { width: 13px; height: 13px; }
.k-receipt .k-glyph--tpay { font-size: 13px; }
.k-receipt:empty { display: none; }

#ok:not(.k-hidden) .k-done-icon .k-icon { animation: k-pop .55s var(--spring) both; }

@keyframes k-badge-in {
  from { transform: scale(0) rotate(-40deg); }
  to { transform: none; }
}
@keyframes k-burst {
  0% { transform: scale(.85); opacity: 0; }
  25% { opacity: 1; }
  100% { transform: scale(1.7); opacity: 0; }
}
@keyframes k-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(.96); }
}
@media (max-height: 740px) {
  .k-done { gap: 20px; }
  .k-done-icon, .k-done-icon .k-icon { width: 84px; height: 84px; }
  .k-done-icon .k-icon { border-radius: 20px; }
  .k-done-badge { width: 36px; height: 36px; right: -10px; bottom: -10px; }
}
