/* ==========================================================================
   ASCENT Card — экраны аккаунта (SPEC §11: 7 История, 8 Профиль, 9 Рефералка,
   11 Админка, база знаний). Только то, чего нет в app.css: переменные, кнопки,
   поля, листы, строки операций — оттуда.
   ========================================================================== */

/* --- Общее: фильтры-пилюли, маленькие кнопки, метки статуса --- */

.filters {
  display: flex;
  gap: 8px;
  margin: 12px calc(-1 * var(--pad)) 0;
  padding: 2px var(--pad) 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filters::-webkit-scrollbar,
.ref-strip::-webkit-scrollbar {
  display: none;
}

.filters .pill {
  flex: 0 0 auto;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filters .pill .ic {
  margin-right: -2px;
  opacity: 0.8;
}

.btn.btn-mini {
  height: 38px;
  padding: 0 16px;
  gap: 6px;
  font-size: 14.5px;
}

.btn.btn-mini .ic {
  width: 16px;
  height: 16px;
}

.st {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 12px;
  background: rgba(245, 239, 227, 0.07);
  border: 1px solid rgba(245, 239, 227, 0.12);
  color: var(--muted);
  font: 600 12px/1 var(--font-text);
  white-space: nowrap;
}

.st.is-ok {
  background: rgba(61, 214, 140, 0.1);
  border-color: rgba(61, 214, 140, 0.3);
  color: var(--success);
}

.st.is-bad {
  background: rgba(229, 72, 77, 0.1);
  border-color: rgba(229, 72, 77, 0.35);
  color: #F2878A;
}

.st.is-wait {
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.35);
  color: var(--gold-hi);
}

.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --- Лист выбора (карты, тип операции) --- */

.opt-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 4px;
}

.opt {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 60px;
  padding: 10px 12px 10px 12px;
  border-radius: var(--r-field);
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: inherit;
  text-align: left;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.opt.is-selected {
  border-color: var(--gold);
  box-shadow: inset 0 0 0 1px var(--gold);
}

.opt-art {
  flex: 0 0 60px;
  width: 60px;
  border-radius: 6px;
}

.opt-ic {
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  height: 40px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--line-strong);
  color: var(--gold-hi);
}

.opt-ic .ic {
  width: 20px;
  height: 20px;
}

.opt-txt {
  flex: 1;
  min-width: 0;
}

.opt-title {
  display: block;
  font: 600 15.5px/1.3 var(--font-text);
}

.opt-sub {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.opt-check {
  flex: 0 0 26px;
  display: grid;
  place-items: center;
  height: 26px;
  border-radius: 50%;
  background: var(--gold-grad);
  color: var(--ink);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.opt.is-selected .opt-check {
  opacity: 1;
  transform: none;
}

.opt-check .ic {
  width: 15px;
  height: 15px;
}

/* --- 7. История --- */

.hist {
  min-height: 200px;
}

.hist > .tx-list > .tx-day:first-child {
  margin-top: 16px;
}

/* --- 8. Профиль и пункты меню --- */

.prof-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26px 0 6px;
  text-align: center;
}

.prof-head .avatar-lg {
  box-shadow: 0 18px 44px rgba(212, 175, 55, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.prof-name {
  max-width: 100%;
  margin-top: 16px;
  overflow-wrap: anywhere;
  font: 800 26px/1.2 var(--font-head);
  letter-spacing: -0.01em;
}

.prof-nick {
  margin-top: 2px;
  color: var(--muted);
  font-size: 14px;
}

.prof-email {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  margin-top: 10px;
}

.prof-email-txt {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prof-email-txt.is-empty {
  color: rgba(163, 155, 139, 0.7);
}

.btn-edit {
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  color: var(--gold-hi);
}

.menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 26px;
}

.menu > .skel-box {
  margin-top: 0;
}

.menu.is-tight {
  margin-top: 0;
  gap: 8px;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 12px 16px 16px;
  border-radius: var(--r-tile);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #1A1713 0%, var(--surface) 70%);
  color: var(--text);
  text-align: left;
  transition: transform 0.12s ease, border-color 0.2s ease;
}

.menu-item:active {
  transform: scale(0.99);
  border-color: var(--line-strong);
}

.menu-ic {
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  height: 48px;
  border-radius: 15px;
  border: 1px solid var(--line-strong);
  background: radial-gradient(90% 90% at 30% 20%, rgba(243, 212, 122, 0.18), rgba(212, 175, 55, 0.05) 70%), var(--surface-2);
  color: var(--gold-hi);
}

.menu-txt {
  flex: 1;
  min-width: 0;
}

.menu-title {
  display: block;
  font: 700 16.5px/1.3 var(--font-head);
}

.menu-sub {
  display: -webkit-box;
  margin-top: 3px;
  overflow: hidden;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.4;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.menu-chev {
  color: var(--muted);
}

.menu-item.is-owner {
  border-color: rgba(212, 175, 55, 0.4);
  background: linear-gradient(120deg, #2A2113 0%, #17120B 60%, var(--surface) 100%);
}

.menu-item.is-owner .menu-ic {
  border-color: transparent;
  background: var(--gold-grad);
  color: var(--ink);
}

.menu-item.is-kb {
  padding-top: 13px;
  padding-bottom: 13px;
}

.menu-item.is-kb .menu-ic {
  flex-basis: 40px;
  height: 40px;
  border-radius: 12px;
}

.menu-item.is-kb .menu-ic .ic {
  width: 20px;
  height: 20px;
}

.menu-item.is-kb .menu-title {
  font-size: 15.5px;
}

.email-form .sheet-title {
  margin-bottom: 2px;
}

/* --- 9. Реферальная программа --- */

.ref-hero {
  position: relative;
  margin: -8px calc(-1 * var(--pad)) 0;
  padding: 18px 20px 30px;
  overflow: hidden;
  border-radius: 0 0 32px 32px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.28);
  background:
    radial-gradient(80% 60% at 50% 34%, rgba(243, 212, 122, 0.24), rgba(243, 212, 122, 0) 70%),
    linear-gradient(165deg, #2B2213 0%, #16110A 58%, #0B0906 100%);
  text-align: center;
}

/* Золотые искры на фоне. */
.ref-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  background:
    radial-gradient(1.6px 1.6px at 11% 16%, rgba(246, 222, 141, 0.95), rgba(246, 222, 141, 0)),
    radial-gradient(2px 2px at 86% 11%, rgba(246, 222, 141, 0.9), rgba(246, 222, 141, 0)),
    radial-gradient(1.4px 1.4px at 74% 44%, rgba(246, 222, 141, 0.8), rgba(246, 222, 141, 0)),
    radial-gradient(1.8px 1.8px at 20% 56%, rgba(246, 222, 141, 0.85), rgba(246, 222, 141, 0)),
    radial-gradient(1.2px 1.2px at 93% 63%, rgba(246, 222, 141, 0.8), rgba(246, 222, 141, 0)),
    radial-gradient(1.6px 1.6px at 6% 84%, rgba(246, 222, 141, 0.7), rgba(246, 222, 141, 0)),
    radial-gradient(1.3px 1.3px at 58% 8%, rgba(246, 222, 141, 0.75), rgba(246, 222, 141, 0));
  pointer-events: none;
  animation: ref-twinkle 3.6s ease-in-out infinite alternate;
}

@keyframes ref-twinkle {
  from {
    opacity: 0.45;
  }
  to {
    opacity: 1;
  }
}

.ref-hero > * {
  position: relative;
}

.ref-ill {
  width: min(72%, 280px);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.5));
  animation: ref-float 6s ease-in-out infinite;
}

@keyframes ref-float {
  50% {
    transform: translateY(-6px);
  }
}

.ref-title {
  margin-top: 8px;
  font: 800 28px/1.15 var(--font-head);
  letter-spacing: -0.01em;
}

.ref-sub {
  max-width: 320px;
  margin: 8px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.4;
}

.ref-section {
  margin-top: 16px;
  padding: 18px 16px;
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: var(--surface);
}

.ref-h {
  margin-bottom: 14px;
  font: 700 19px/1.25 var(--font-head);
}

.ref-strip {
  display: flex;
  gap: 10px;
  margin: 0 -16px;
  padding: 0 16px 2px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 16px;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.ref-tier {
  flex: 0 0 148px;
  scroll-snap-align: start;
  text-align: center;
}

.ref-tier-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  height: 148px;
  padding: 16px 10px 12px;
  overflow: hidden;
  border-radius: var(--r-tile);
  border: 1px solid rgba(212, 175, 55, 0.26);
  background: var(--t-grad);
}

.ref-tier-art {
  width: 84%;
  margin-bottom: auto;
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.5);
  transform: rotate(-4deg);
}

.ref-tier-deal {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  height: 28px;
  padding: 0 10px;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: rgba(10, 9, 8, 0.72);
  color: var(--gold-hi);
  font: 700 12.5px/1 var(--font-text);
  white-space: nowrap;
}

.ref-tier-name {
  margin-top: 8px;
  font: 600 14.5px/1.3 var(--font-text);
}

.ref-steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: start;
  gap: 2px;
}

.ref-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.ref-step-ic {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  border: 1px solid var(--line-strong);
  background: radial-gradient(90% 90% at 30% 20%, rgba(243, 212, 122, 0.22), rgba(212, 175, 55, 0.04) 70%), var(--surface-2);
  color: var(--gold-hi);
}

.ref-step-ic .ic {
  width: 28px;
  height: 28px;
}

.ref-step-txt {
  font: 500 14px/1.3 var(--font-text);
}

.ref-arrow {
  padding-top: 23px;
  color: rgba(163, 155, 139, 0.6);
}

.ref-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.45;
}

.ref-bal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ref-bal-lbl {
  color: var(--muted);
  font-size: 14px;
}

.ref-bal {
  margin-top: 2px;
  font: 800 32px/1.1 var(--font-head);
  letter-spacing: -0.01em;
}

.ref-bal-note {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.ref-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 16px;
  padding: 14px 6px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface-2);
}

.ref-stat {
  min-width: 0;
  padding: 0 6px;
  text-align: center;
}

.ref-stat + .ref-stat {
  border-left: 1px solid var(--line);
}

.ref-stat-val {
  font: 800 22px/1.2 var(--font-head);
}

.ref-stat-lbl {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.3;
}

.ref-w-note {
  margin-top: 12px;
}

.ref-qr-sub {
  margin: -6px 2px 18px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.45;
}

.ref-qr-code {
  padding: 4px 0;
}

.ref-qr-link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: var(--r-field);
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--muted);
  font: 500 13.5px/1.4 var(--font-text);
  text-align: left;
}

.ref-qr-link span {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}

.ref-qr-link .ic {
  color: var(--gold);
}

.ref-qr-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

/* --- База знаний --- */

.kb-lead {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.45;
}

.kb-title {
  margin: 14px 2px 16px;
  font: 800 26px/1.2 var(--font-head);
  letter-spacing: -0.01em;
}

.kb-body {
  padding: 18px 16px;
}

.kb-p {
  font-size: 15.5px;
  line-height: 1.6;
  white-space: pre-line;
}

.kb-body > * + * {
  margin-top: 12px;
}

.kb-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kb-list li {
  display: flex;
  gap: 12px;
  font-size: 15.5px;
  line-height: 1.5;
}

.kb-num {
  flex: 0 0 24px;
  display: grid;
  place-items: center;
  height: 24px;
  margin-top: 0;
  border-radius: 50%;
  background: var(--gold-grad);
  color: var(--ink);
  font: 800 12.5px/1 var(--font-head);
}

.kb-dot {
  flex: 0 0 6px;
  height: 6px;
  margin: 9px 9px 0;
  border-radius: 50%;
  background: var(--gold);
}

.kb-help {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

.kb-help-txt {
  flex: 1;
  min-width: 0;
}

.kb-help-title {
  font: 700 16px/1.3 var(--font-head);
}

.kb-help-sub {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.4;
}

/* --- 11. Админка --- */

.adm-tabs {
  margin-top: 8px;
}

.adm-section {
  padding-top: 4px;
}

.adm-hint {
  margin: 10px 2px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.adm-mode {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.adm-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 14px;
  padding: 14px;
  border-radius: var(--r-field);
  border: 1px solid rgba(229, 72, 77, 0.45);
  background: rgba(229, 72, 77, 0.08);
  color: #F2878A;
  font: 600 14.5px/1.35 var(--font-text);
  text-align: left;
}

.adm-alert span {
  flex: 1;
}

.adm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}

.adm-stat {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  text-align: left;
}

button.adm-stat:active {
  transform: scale(0.98);
}

.adm-stat.is-alert {
  border-color: rgba(229, 72, 77, 0.5);
  background: rgba(229, 72, 77, 0.07);
}

.adm-stat-lbl {
  overflow: hidden;
  color: var(--muted);
  font-size: 12.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.adm-stat-val {
  margin-top: 4px;
  overflow: hidden;
  font: 800 21px/1.2 var(--font-head);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.adm-stat-sub {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.adm-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.adm-list > .skel-box {
  margin-top: 0;
}

.adm-row {
  min-width: 0;
  padding: 14px;
  border-radius: var(--r-tile);
  border: 1px solid var(--line);
  background: var(--surface);
}

.adm-row-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.adm-row-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  min-width: 0;
  font: 700 15.5px/1.3 var(--font-head);
  overflow-wrap: anywhere;
}

.adm-row-sum {
  flex-shrink: 0;
  color: var(--gold-hi);
  font: 700 15.5px/1.3 var(--font-head);
  white-space: nowrap;
}

.adm-row-meta {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.adm-row-err {
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(229, 72, 77, 0.3);
  background: rgba(229, 72, 77, 0.07);
  color: #F2A7A9;
  font-size: 13px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

/* Заказ, который нельзя просто «Повторить» (сбой оплаты), и предупреждение у тарифа-предзаказа. */
.adm-row-warn,
.adm-hint.is-warn {
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(212, 175, 55, 0.08);
  color: var(--gold-hi);
  font-size: 13px;
  line-height: 1.4;
}

.adm-row-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
}

.adm-code {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text);
  font: 700 15.5px/1.3 var(--font-head);
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
  text-align: left;
}

.adm-code .ic {
  color: var(--gold);
}

.kv .adm-code {
  font: 600 15px/1.3 var(--font-text);
  letter-spacing: 0;
}

.adm-del {
  color: #F2878A;
  border-color: rgba(229, 72, 77, 0.35);
}

.adm-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.adm-avatar {
  flex-basis: 40px;
  width: 40px;
  height: 40px;
  font-size: 15px;
}

.adm-user-txt {
  flex: 1;
  min-width: 0;
}

.adm-kv {
  margin-top: 10px;
  padding-top: 4px;
  border-top: 1px solid rgba(212, 175, 55, 0.08);
}

.adm-kv .kv {
  padding: 5px 0;
  font-size: 14px;
}

.adm-kv .kv > :first-child {
  color: var(--muted);
}

.adm-search {
  margin-top: 12px;
}

.adm-search .input::-webkit-search-cancel-button {
  filter: grayscale(1) brightness(1.6);
}

.adm-result {
  margin-top: 6px;
}

/* Формы админки */

.adm-form {
  margin-top: 12px;
  padding-top: 2px;
}

.adm-tariff .acc-body {
  padding-bottom: 16px;
}

.adm-acc-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.adm-acc-sub {
  color: var(--muted);
  font: 500 13px/1.3 var(--font-text);
}

.adm-acc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.adm-h {
  margin: 24px 2px 0;
  color: var(--gold);
  font: 700 12px/1.3 var(--font-text);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.adm-h:first-child {
  margin-top: 4px;
}

.adm-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 10px;
}

.adm-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
}

.adm-checks .check {
  margin-top: 14px;
  color: var(--text);
}

.adm-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.adm-rows:empty {
  display: none;
}

.adm-item {
  position: relative;
  padding: 0 12px 14px;
  border-radius: 16px;
  border: 1px dashed var(--line-strong);
  background: rgba(10, 9, 8, 0.25);
}

.adm-item > .field:first-of-type .field-lbl {
  padding-right: 40px;
}

.adm-item-del {
  position: absolute;
  z-index: 1;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--muted);
}

.adm-add {
  margin-top: 10px;
}

.adm-foot {
  margin-top: 20px;
}

.input-wrap.is-select {
  position: relative;
  padding-right: 12px;
}

.input-wrap.is-select .ic {
  flex-shrink: 0;
  color: var(--muted);
  pointer-events: none;
}

.select {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  text-overflow: ellipsis;
}

.select option {
  background: var(--surface-2);
  color: var(--text);
}

.input-wrap.is-area {
  align-items: stretch;
  height: auto;
  padding: 12px 16px;
}

textarea.input {
  min-height: 64px;
  resize: vertical;
  font: 500 16px/1.45 var(--font-text); /* 16px — iOS не зумит поле (масштаб страницы теперь разрешён) */
}

.input[type="date"] {
  min-height: 100%;
}

/* --- Узкие экраны --- */

@media (max-width: 370px) {
  .ref-title {
    font-size: 24px;
  }

  .ref-step-ic {
    width: 56px;
    height: 56px;
  }

  .ref-arrow {
    padding-top: 19px;
  }

  .ref-step-txt {
    font-size: 13px;
  }

  .adm-2 {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ref-hero::before,
  .ref-ill {
    animation: none !important;
  }
}
