@font-face {
  font-family: "InterVariable";
  src: url("assets/InterVariable-DiVDrmQJ_v%3D4.1.woff2") format("woff2");
  font-weight: 100 900;
}

:root {
  --bg: #000;
  --card: #171717;
  --card-2: #151515;
  --line: rgba(255, 255, 255, 0.06);
  --line-2: rgba(255, 255, 255, 0.1);
  --text: #fff;
  --muted: rgba(255, 255, 255, 0.42);
  --muted-2: rgba(255, 255, 255, 0.62);
  --green: #00d47e;
  --green-dark: #002e1c;
  --radius: 15px;
  --font: InterVariable, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  letter-spacing: 0;
}

button,
input,
select {
  font: inherit;
}

button {
  color: inherit;
  -webkit-tap-highlight-color: transparent;
  transition: transform 120ms ease, background-color 120ms ease, border-color 120ms ease, opacity 120ms ease;
}

button:active {
  transform: scale(0.985);
}

button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid rgba(0, 119, 255, 0.7);
  outline-offset: 2px;
}

.mini-app {
  width: min(100%, 530px);
  min-height: 100vh;
  margin: 0 auto;
  background: #000;
}

.view {
  display: none;
}

.view.is-active {
  display: block;
  animation: screenIn 180ms var(--ease-out) both;
}

@keyframes screenIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes softPop {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-screen {
  padding: 6px 51px 34px;
}

.auth-screen {
  min-height: 100vh;
  padding: 58px 40px 34px;
}

.auth-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
}

.auth-logo img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.auth-logo strong {
  font-size: 24px;
  font-weight: 950;
}

.auth-button {
  width: 100%;
  margin-bottom: 12px;
}

.telegram-button {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 14px;
  background: #1687ff;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
}

.telegram-button svg {
  width: 22px;
  height: 22px;
  justify-self: end;
  fill: currentColor;
}

.user-card {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 73px;
  margin: 0 0 20px;
  padding: 17px 48px 15px 17px;
  border: 1px solid var(--line-2);
  border-radius: 13px;
  background: var(--card);
  text-align: left;
  cursor: pointer;
}

.user-card span {
  color: var(--muted);
  font-size: 12px;
  line-height: 18px;
}

.user-card strong {
  margin-top: 2px;
  color: #fff;
  font-size: 15px;
  font-weight: 750;
  line-height: 20px;
}

.user-card svg {
  position: absolute;
  top: 28px;
  right: 18px;
  width: 15px;
  height: 15px;
  fill: none;
  stroke: rgba(255, 255, 255, 0.38);
  stroke-width: 1.8;
}

.subscription-summary {
  margin-bottom: 15px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 10px;
  background: #003b21;
  color: var(--green);
  font-size: 14px;
  font-weight: 850;
  line-height: 18px;
  text-transform: lowercase;
}

.subscription-summary h1 {
  margin: 6px 0 0;
  color: #fff;
  font-size: 38px;
  font-weight: 900;
  line-height: 44px;
  letter-spacing: 0;
}

.gift-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 60px;
  margin-bottom: 21px;
  padding: 14px 18px 14px 17px;
  border: 1px solid rgba(0, 212, 126, 0.12);
  border-radius: 20px;
  background: #031b10;
  text-align: left;
  cursor: pointer;
}

.gift-card span {
  color: rgba(255, 255, 255, 0.42);
  font-size: 15px;
  font-weight: 850;
  line-height: 17px;
}

.gift-card b {
  color: #fff;
}

.gift-card strong {
  font-size: 25px;
  line-height: 1;
}

.action-list {
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: var(--card-2);
  overflow: hidden;
  animation: softPop 220ms var(--ease-out) both;
}

.action-list + .action-list {
  margin-top: 0;
}

.action-row {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 0 17px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.action-row:hover,
.device-row:hover,
.settings-row:hover,
.payment-method:hover {
  background: #1d1d1d;
}

.action-row:last-child {
  border-bottom: 0;
}

.action-row svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: rgba(255, 255, 255, 0.54);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.action-row span {
  color: #fff;
  font-size: 18px;
  font-weight: 850;
  line-height: 22px;
}

.action-row i {
  width: 9px;
  height: 9px;
  border-top: 2px solid rgba(255, 255, 255, 0.48);
  border-right: 2px solid rgba(255, 255, 255, 0.48);
  transform: rotate(45deg);
  justify-self: end;
}

.referral-card {
  position: relative;
  display: block;
  width: 100%;
  min-height: 103px;
  margin: 1px 0 20px;
  padding: 19px 150px 16px 17px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--card-2);
  color: #fff;
  text-align: left;
  overflow: hidden;
  cursor: pointer;
  animation: softPop 240ms var(--ease-out) both;
}

.referral-card span {
  display: block;
  font-size: 18px;
  font-weight: 900;
  line-height: 22px;
}

.referral-card b {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 18px;
  font-weight: 850;
  line-height: 22px;
}

.coin {
  position: absolute;
  display: block;
  width: 46px;
  height: 72px;
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 0 19%, rgba(255, 255, 255, 0.8) 19% 34%, rgba(255, 255, 255, 0.2) 34% 49%, transparent 49%),
    radial-gradient(ellipse at center, #f4f4f4 0 43%, #9e9e9e 45% 54%, #e7e7e7 56% 100%);
  transform: rotate(-13deg);
  opacity: 0.94;
}

.coin-a {
  right: 105px;
  bottom: -28px;
}

.coin-b {
  right: 16px;
  top: -34px;
}

.logout-button {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 49px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  color: #050505;
  font-size: 17px;
  font-weight: 850;
  cursor: pointer;
}

.stack-screen {
  min-height: 100vh;
  padding: 12px 51px 34px;
}

.screen-header {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  min-height: 38px;
  margin-bottom: 6px;
}

.screen-header button {
  width: auto;
  height: 28px;
  padding: 0 9px;
  border: 0;
  border-radius: 10px;
  background: #001b34;
  color: #1687ff;
  font-size: 17px;
  line-height: 28px;
  cursor: pointer;
}

.screen-header button::after {
  content: "Назад";
}

.screen-header button {
  font-size: 0;
}

.screen-header h2 {
  visibility: hidden;
  margin: 0;
  text-align: center;
  font-size: 22px;
  font-weight: 900;
}

.screen-title {
  margin: 0 0 18px;
  color: #fff;
  font-size: 29px;
  font-weight: 900;
  line-height: 35px;
}

.screen-subtitle {
  margin: -12px 0 19px;
  color: #8d95a3;
  font-size: 17px;
  font-weight: 650;
}

.setup-steps,
.settings-list {
  display: grid;
  gap: 12px;
}

.setup-steps article,
.support-card,
.settings-list label,
.copy-sub-card,
.referral-detail {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}

.tariff-screen,
.payment-screen,
.email-screen {
  position: relative;
  padding: 14px 46px 124px;
}

.plan-picker {
  margin-bottom: 21px;
  border: 1px dashed rgba(255, 255, 255, 0.13);
  border-top: 0;
  border-radius: 17px;
  background: #050505;
  overflow: hidden;
}

.plan-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 56px;
  border-radius: 17px;
  background: #1a1a1a;
  overflow: hidden;
}

.plan-tabs button {
  border: 0;
  border-radius: 15px;
  background: transparent;
  color: rgba(255, 255, 255, 0.32);
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
}

.plan-tabs button.is-active {
  outline: 2px solid #fff;
  outline-offset: -5px;
  background: #fff;
  color: #151515;
  animation: softPop 130ms var(--ease-out) both;
}

.plan-note {
  min-height: 59px;
  padding: 13px 18px 15px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 16px;
  font-weight: 850;
  line-height: 19px;
}

.plan-note.is-green {
  color: var(--green);
}

.feature-card,
.period-card,
.payment-summary,
.payment-method,
.promo-panel {
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--card);
}

.feature-card {
  display: grid;
  gap: 18px;
  margin-bottom: 20px;
  padding: 18px 18px 19px;
}

.feature-row {
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: center;
  gap: 1px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  line-height: 21px;
}

.feature-row em {
  font-style: normal;
  font-size: 17px;
}

.period-card {
  overflow: hidden;
}

.period-row {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  width: 100%;
  min-height: 65px;
  padding: 0 14px 0 17px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 0;
  background: transparent;
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.period-row:last-child {
  border-bottom: 0;
}

.radio-mark {
  width: 24px;
  height: 24px;
  border: 2px dashed rgba(255, 255, 255, 0.38);
  border-radius: 50%;
}

.period-row.is-selected .radio-mark {
  display: grid;
  place-items: center;
  border-style: solid;
  border-color: #fff;
  background: #fff;
  animation: softPop 130ms var(--ease-out) both;
}

.period-row.is-selected .radio-mark::after {
  content: "";
  width: 7px;
  height: 12px;
  border-right: 2px solid #111;
  border-bottom: 2px solid #111;
  transform: rotate(45deg) translate(-1px, -1px);
}

.period-name,
.period-price {
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.period-price {
  text-align: right;
}

.period-discount {
  display: inline-block;
  margin-right: 6px;
  padding: 1px 5px;
  border-radius: 999px;
  background: rgba(230, 72, 61, 0.18);
  color: #ff4b4b;
  font-size: 13px;
  font-weight: 850;
}

.period-month {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 16px;
  font-weight: 850;
}

.period-note {
  padding: 12px 16px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.42);
  font-size: 15px;
  font-weight: 850;
  line-height: 17px;
}

.bottom-actions {
  position: fixed;
  right: max(27px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  left: max(27px, env(safe-area-inset-left));
  z-index: 10;
  display: grid;
  gap: 12px;
  max-width: 436px;
  margin: 0 auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: #000;
}

.bottom-actions.single {
  padding-top: 12px;
}

.promo-button,
.pay-button {
  min-height: 51px;
  border: 0;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
}

.promo-button {
  background: #1a1a1a;
  color: #fff;
}

.pay-button {
  background: #fff;
  color: #050505;
}

.payment-summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 3px;
  min-height: 46px;
  margin-bottom: 43px;
  padding: 0 16px;
}

.payment-summary strong,
.payment-summary b {
  color: #fff;
  font-size: 19px;
  font-weight: 900;
}

.payment-summary span {
  justify-self: start;
  color: #ff4b4b;
  font-size: 13px;
  font-weight: 850;
}

.muted-title {
  margin: 0 0 18px;
  color: #8d95a3;
  font-size: 18px;
  font-weight: 800;
}

.payment-method {
  display: grid;
  grid-template-columns: 25px 1fr 25px;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 58px;
  padding: 0 14px 0 17px;
  color: #fff;
  text-align: left;
}

.payment-method svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
}

.payment-method span {
  font-size: 18px;
  font-weight: 900;
}

.payment-method i {
  position: relative;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #fff;
}

.payment-method i::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 5px;
  width: 7px;
  height: 12px;
  border-right: 2px solid #111;
  border-bottom: 2px solid #111;
  transform: rotate(45deg);
}

.email-input {
  height: 47px;
  margin-bottom: 21px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #1a1a1a;
  color: #fff;
  font-size: 18px;
  font-weight: 850;
}

.code-input {
  letter-spacing: 0.24em;
  text-align: center;
}

.telegram-widget {
  display: grid;
  justify-items: center;
  min-height: 1px;
}

.telegram-widget:empty {
  display: none;
}

.offer-check {
  display: grid;
  grid-template-columns: 23px 1fr;
  gap: 11px;
  margin: 0 0 21px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 16px;
  font-weight: 750;
  line-height: 19px;
}

.offer-check input {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  accent-color: #fff;
}

.final-pay {
  width: 100%;
}

.setup-steps article {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 70px;
  padding: 15px;
}

.setup-steps strong {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: #003b21;
  color: var(--green);
}

.setup-steps span,
.support-card p {
  color: var(--muted-2);
  font-weight: 750;
  line-height: 1.45;
}

.copy-sub-card {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 14px;
  background: var(--card);
  color: #fff;
  text-align: left;
}

.copy-sub-card span,
.referral-detail strong {
  color: var(--green);
  overflow-wrap: anywhere;
}

.copy-sub-card b {
  color: #fff;
}

.support-card,
.referral-detail {
  padding: 17px;
}

.settings-list label {
  display: grid;
  gap: 8px;
  padding: 15px;
  color: var(--muted-2);
  font-weight: 800;
}

.settings-section-title {
  margin: 29px 0 22px;
  color: #8d95a3;
  font-size: 18px;
  font-weight: 850;
}

.settings-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto 13px;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.settings-row:last-child {
  border-bottom: 0;
}

.settings-row svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.settings-row span {
  font-size: 18px;
  font-weight: 900;
}

.settings-row b {
  color: #8d95a3;
  font-size: 15px;
  font-weight: 850;
}

.settings-row i {
  width: 9px;
  height: 9px;
  border-top: 2px solid rgba(255, 255, 255, 0.45);
  border-right: 2px solid rgba(255, 255, 255, 0.45);
  transform: rotate(45deg);
}

.setup-intro-screen {
  position: relative;
  padding: 16px 37px 120px;
}

.phone-hero {
  display: grid;
  place-items: center;
  height: 384px;
  margin-top: 12px;
  overflow: hidden;
}

.phone-frame {
  position: relative;
  width: 292px;
  height: 256px;
  margin-top: 150px;
  border: 6px solid #383838;
  border-bottom: 0;
  border-radius: 52px 52px 0 0;
}

.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 88px;
  height: 26px;
  border-radius: 999px;
  background: #242424;
  transform: translateX(-50%);
}

.app-icons {
  display: grid;
  grid-template-columns: repeat(4, 43px);
  gap: 27px 21px;
  margin: 65px 0 0 25px;
}

.app-icons span,
.app-icons i {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 9px;
  background: #101010;
  color: #fff;
  font-weight: 900;
}

.app-icons .youtube { background: #ff1010; }
.app-icons .discord { background: #5865f2; font-size: 13px; }
.app-icons .chatgpt { background: #76a99b; }

.benefit-list {
  display: grid;
  gap: 21px;
  margin-top: -6px;
}

.benefit-list article {
  display: grid;
  grid-template-columns: 31px 1fr;
  gap: 17px;
  align-items: start;
}

.benefit-list em {
  color: rgba(255, 255, 255, 0.24);
  font-size: 28px;
  font-style: normal;
  line-height: 22px;
}

.benefit-list span {
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  line-height: 18px;
}

.benefit-list b {
  color: rgba(255, 255, 255, 0.35);
}

.benefit-list .blue em,
.benefit-list .blue span {
  color: #0077ff;
}

.device-screen,
.setup-guide-screen {
  padding: 16px 37px 122px;
}

.device-hero {
  margin: 8px 0 18px;
  text-align: center;
}

.shark-mark {
  height: 76px;
  font-size: 54px;
  line-height: 76px;
}

.device-hero h1 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 900;
  line-height: 25px;
}

.device-hero p {
  margin: 0 auto;
  max-width: 300px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 17px;
  font-weight: 700;
  line-height: 18px;
}

.device-list {
  display: grid;
  gap: 20px;
}

.device-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 14px;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--card);
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.device-row svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: rgba(255, 255, 255, 0.75);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.device-row b {
  display: block;
  font-size: 18px;
  font-weight: 900;
  line-height: 20px;
}

.device-row small {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 17px;
  font-weight: 850;
  line-height: 18px;
}

.device-row i {
  width: 10px;
  height: 10px;
  border-top: 2px solid rgba(255, 255, 255, 0.45);
  border-right: 2px solid rgba(255, 255, 255, 0.45);
  transform: rotate(45deg);
}

.link-row {
  grid-template-columns: 28px minmax(0, 1fr) 22px;
}

.link-row.is-copied b,
.link-row.is-copied strong {
  color: #34c759;
}

.link-row strong {
  font-size: 25px;
  line-height: 1;
}

.or-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin: 21px 0;
  color: rgba(255, 255, 255, 0.35);
  font-size: 15px;
  font-weight: 850;
}

.or-divider::before,
.or-divider::after {
  content: "";
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.manual-row,
.problem-row {
  grid-template-columns: 28px minmax(0, 1fr) 14px;
}

.guide-device-title {
  margin: 40px 0 27px;
  text-align: center;
}

.guide-device-title svg {
  width: 56px;
  height: 56px;
  fill: none;
  stroke: rgba(255, 255, 255, 0.45);
  stroke-width: 1.8;
}

.guide-device-title h1 {
  margin: 6px 0 0;
  font-size: 18px;
  font-weight: 900;
}

.guide-device-title p {
  margin: 0;
  color: rgba(255, 255, 255, 0.36);
  font-size: 17px;
  font-weight: 850;
}

.guide-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  min-height: 58px;
  margin-bottom: 19px;
  padding: 5px;
  border-radius: 17px;
  background: #1a1a1a;
}

.guide-tabs button {
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: rgba(255, 255, 255, 0.42);
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

.guide-tabs button.is-active {
  background: #fff;
  color: #111;
  animation: softPop 130ms var(--ease-out) both;
}

.guide-card {
  margin-bottom: 20px;
  padding: 18px 17px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--card);
}

.guide-step {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.guide-step:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.guide-step-number {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #343434;
  color: rgba(255, 255, 255, 0.65);
  font-size: 15px;
  font-weight: 900;
}

.guide-step h3 {
  margin: 0 0 7px;
  font-size: 18px;
  font-weight: 900;
  line-height: 21px;
}

.guide-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 16px;
  font-weight: 850;
  line-height: 19px;
}

.guide-step code {
  display: block;
  margin: 14px 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 17px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.step-button {
  display: inline-grid;
  place-items: center;
  min-height: 42px;
  margin-top: 13px;
  padding: 0 14px;
  border: 0;
  border-radius: 14px;
  background: #303030;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
}

input,
select {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line-2);
  border-radius: 13px;
  background: #0c0c0c;
  color: #fff;
  padding: 0 12px;
}

.switch-row {
  display: flex !important;
  align-items: center;
  gap: 12px !important;
}

.switch-row input {
  width: 20px;
  height: 20px;
  accent-color: var(--green);
}

.referral-detail {
  display: grid;
  gap: 12px;
}

.referral-detail span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.toast {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  left: max(16px, env(safe-area-inset-left));
  z-index: 20;
  width: min(428px, calc(100% - 32px));
  margin: 0 auto;
  padding: 13px 16px;
  border: 1px solid rgba(0, 212, 126, 0.25);
  border-radius: 15px;
  background: #101512;
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms var(--ease-out);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 529px) {
  .mini-app {
    width: 100%;
  }

  .home-screen,
  .stack-screen,
  .auth-screen {
    padding-right: max(16px, env(safe-area-inset-right));
    padding-left: max(16px, env(safe-area-inset-left));
  }

  .tariff-screen,
  .payment-screen,
  .email-screen {
    padding-right: max(46px, env(safe-area-inset-right));
    padding-left: max(46px, env(safe-area-inset-left));
  }
}

@media (max-width: 380px) {
  .subscription-summary h1 {
    font-size: 34px;
  }

  .action-row span,
  .referral-card span,
  .referral-card b {
    font-size: 16px;
  }

  .tariff-screen,
  .payment-screen,
  .email-screen {
    padding-right: 20px;
    padding-left: 20px;
  }
}
