.fs-faq-offer-links {
      margin-top: 8px;
      font-size: 11px;
      line-height: 1.4;
      color: #9ca3af;
    }

    .fs-faq-offer-links a {
      color: #93c5fd;
      text-decoration: underline;
    }

    .fs-faq-offer-links a:hover {
      text-decoration: none;
    }

    .fs-faq-offer-pending {
      color: #cbd5e1;
      font-weight: 600;
    }

    .fs-auth-status {
      position: fixed;
      z-index: 1000;
      top: 8px;
      left: 8px;
      max-width: min(62vw, 300px);
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 6px 10px;
      border: 1px solid rgba(74, 222, 128, 0.42);
      border-radius: 999px;
      background: rgba(2, 8, 23, 0.94);
      color: #d1fae5;
      font: 600 11px/1.2 system-ui, sans-serif;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
    }

    .fs-auth-status button {
      border: 0;
      border-radius: 999px;
      padding: 4px 8px;
      background: #22c55e;
      color: #022c22;
      font: inherit;
      cursor: pointer;
    }

    .fs-auth-status[data-state="loading"] {
      opacity: 0.72;
    }

    .fs-auth-status[data-state="guest"] {
      border-color: rgba(250, 204, 21, 0.5);
    }

    /* ===== ЭКРАН FAQ (бывший "Саппорт") ===== */

.fs-screen-support {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 0;        /* сразу под RU/EN, без лишнего воздуха */
  padding-bottom: 4px;
  padding-right: 4px;
  overflow-y: auto;      /* скроллится весь FAQ-экран целиком */
}

/* чуть подтягиваем первую карточку кверху */
.fs-screen-support .fs-card:first-child {
  margin-top: 4px;
}




/* Общий список вопросов */

.fs-faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Одна карточка вопроса */

.fs-faq-item {
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(55, 65, 81, 0.9);
  padding: 10px 12px;
}

/* Заголовок-вопрос */

.fs-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: #e5e7eb;
  text-align: left;
}

.fs-faq-question-text {
  flex: 1;
}

/* Стрелка */

.fs-faq-question-icon {
  font-size: 14px;
  opacity: 0.7;
  transition: transform 0.2s ease;
}

.fs-faq-item.fs-faq-open .fs-faq-question-icon {
  transform: rotate(180deg);
}

/* Текст-ответ */

.fs-faq-answer {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.45;
  color: #9ca3af;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.2s ease;
}

.fs-faq-answer p,
.fs-faq-answer ul {
  margin-bottom: 6px;
}

.fs-faq-answer ul {
  padding-left: 16px;
}

.fs-faq-answer li {
  margin-bottom: 4px;
}

/* Подвал FAQ */

.fs-faq-footer {
  margin-top: 8px;
  font-size: 10px;
  line-height: 1.4;
  color: #6b7280;
  text-align: left;
}

    /* ===== БАЗА ===== */

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top, #0f172a, #020617 55%);
  color: #e5e7eb;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow: hidden; /* важное отличие — убираем общий скролл страницы */
}


    /* Больше НИКАКОГО flex на body — иначе дерётся с Telegram WebApp */
    body {
      overflow-x: hidden;  /* на всякий случай убираем горизонтальный скролл */
    }

    [hidden] {
      display: none !important;
    }

    /* Язык должен применяться и к элементам, созданным JavaScript после загрузки. */
    html[data-lang="ru"] [data-lang="en"],
    html[data-lang="en"] [data-lang="ru"] {
      display: none !important;
    }

    .fs-app {
  position: relative;
  width: 100%;
  max-width: 420px;      /* под телефон */
  height: 100vh;         /* ровно высота окна, без роста */
  padding: 16px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;      /* ничего не вылезает и не даёт лишний скролл */
}


    .fs-app::before,
.fs-app::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
  width: 0;
  height: 0;
  opacity: 0;
}

/* Верхний бар (кнопка "О проекте" + языковой список) вынесен в styles/components/top-bar.css */

    /* ===== ГЛАВНАЯ ОБЛАСТЬ ===== */

    .fs-main {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 22px;      /* было 32px — подняли экраны ближе к RU/EN */
  padding-bottom: 90px;   /* отступ под нижней плашкой */
  overflow: hidden;       /* экраны сами рулят своим скроллом */
  z-index: 1;
}

/* Интро-экран: контейнер, сам не скроллится */
.fs-screen-intro {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden; /* убрали scroll с самого экрана */
}

/* Внутренняя зона с текстом, именно она скроллится */
.fs-intro-scroll {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  padding-right: 4px;
}

/* Переиспользуемая плашка "В разработке" — временно закрывает содержимое
   любого экрана целиком (сам контент рядом остаётся в разметке под hidden,
   просто не рендерится, поэтому его легко вернуть). */
.fs-screen-maintenance[hidden] {
  display: none !important;
}

.fs-screen-maintenance {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px 20px;
  text-align: center;
}

.fs-screen-maintenance-icon {
  font-size: 34px;
  line-height: 1;
}

.fs-screen-maintenance-title {
  font-size: 20px;
  font-weight: 700;
  color: #f9fafb;
}

.fs-screen-maintenance-copy {
  max-width: 320px;
  font-size: 13px;
  line-height: 1.5;
  color: #9ca3af;
}

/* Контента на welcome-экране намеренно мало — центрируем группу
   заголовок+CTA по вертикали вместо прилипания к верху экрана. */
.fs-intro-scroll--centered {
  justify-content: center;
}

/* (по желанию) красивый скролл у текста */
.fs-intro-scroll::-webkit-scrollbar {
  width: 4px;
}
.fs-intro-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.fs-intro-scroll::-webkit-scrollbar-thumb {
  background: #4b5563;
  border-radius: 999px;
}



    .fs-screen {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .fs-screen[hidden] {
      display: none !important;
    }

    /* ===== КАРТОЧКИ ===== */

    .fs-card {
      position: relative;
      background: rgba(15, 23, 42, 0.96);
      border-radius: 18px;
      border: 1px solid rgba(55, 65, 81, 0.7);
      padding: 10px 12px 10px;
      box-shadow:
        0 18px 35px rgba(15, 23, 42, 0.85),
        0 0 0 1px rgba(15, 23, 42, 0.8);
    }

    .fs-card-title {
      font-size: 14px;
      font-weight: 600;
      margin-bottom: 6px;
      color: #e5e7eb;
    }

    .fs-card p {
      font-size: 13px;
      line-height: 1.4;
      color: #9ca3af;
      margin-bottom: 6px;
    }

    .fs-card p:last-child {
      margin-bottom: 0;
    }

    /* ===== HERO / ШАПКА (только на интро) ===== */

    .fs-intro-hero {
      padding: 16px 14px 14px;
      background: radial-gradient(circle at top left, #0f172a, #020617 55%);
      border: 1px solid rgba(55, 65, 81, 0.9);
    }

    .fs-intro-title {
      font-size: 20px;
      font-weight: 700;
      letter-spacing: 0.03em;
      margin-bottom: 4px;
      color: #f9fafb;
    }

    .fs-intro-headline {
      font-size: 19px;
      font-weight: 700;
      line-height: 1.25;
      color: #f9fafb;
      margin-bottom: 6px;
    }

    .fs-intro-subtitle {
      font-size: 13px;
      color: #cbd5f5;
      margin-bottom: 6px;
    }

    .fs-intro-note {
      font-size: 12px;
      color: #9ca3af;
    }

    /* ===== ПРОГРЕСС ДО СТАРТА РАСПРЕДЕЛЕНИЯ ===== */

    .fs-intro-launch {
      background: radial-gradient(circle at top right, rgba(34, 197, 94, 0.16), #0f172a 60%);
      border: 1px solid rgba(34, 197, 94, 0.35);
    }

    .fs-launch-widget--cabinet {
      margin-bottom: 10px;
      border: 1px solid rgba(34, 197, 94, 0.55);
      box-shadow:
        0 18px 35px rgba(15, 23, 42, 0.85),
        0 0 0 1px rgba(15, 23, 42, 0.8),
        0 0 24px rgba(34, 197, 94, 0.25);
    }

    .fs-launch-widget--cabinet .fs-launch-heading {
      font-size: 15px;
    }

    .fs-launch-widget--cabinet .fs-launch-icon {
      font-size: 20px;
    }

    .fs-launch-header {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 6px;
    }

    .fs-launch-icon {
      font-size: 16px;
      line-height: 1;
    }

    .fs-launch-heading {
      font-size: 14px;
      font-weight: 600;
      color: #e5e7eb;
    }

    .fs-launch-copy {
      font-size: 12px;
      line-height: 1.4;
      color: #9ca3af;
      margin-bottom: 8px;
    }

    .fs-launch-copy strong {
      color: #22c55e;
      font-weight: 600;
    }

    .fs-launch-progress-track {
      height: 8px;
      border-radius: 999px;
      background: rgba(148, 163, 184, 0.18);
      overflow: hidden;
    }

    .fs-launch-progress-bar {
      display: block;
      height: 100%;
      width: 0%;
      border-radius: 999px;
      background: linear-gradient(135deg, #22c55e, #3b82f6);
      transition: width 0.4s ease;
    }

    .fs-launch-progress-meta[hidden] {
      display: none !important;
    }

    .fs-launch-progress-meta {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-top: 6px;
      font-size: 11px;
      color: #9ca3af;
    }

    .fs-launch-launched-meta {
      margin-top: 6px;
      font-size: 12px;
      font-weight: 700;
      color: #22c55e;
    }

    /* ===== ИСТОРИЯ ===== */

    .fs-intro-story p + p {
      margin-top: 4px;
    }

    /* ===== HOW IT WORKS ===== */

    .fs-intro-list {
      list-style: none;
      margin-top: 4px;
    }

    .fs-intro-list li {
      font-size: 13px;
      color: #9ca3af;
      margin-bottom: 5px;
      padding-left: 16px;
      position: relative;
    }

    .fs-intro-list li::before {
      content: "•";
      position: absolute;
      left: 4px;
      top: 0;
      color: #22c55e;
    }

    .fs-intro-list strong {
      color: #e5e7eb;
      font-weight: 600;
    }

    .fs-link {
      border: none;
      background: none;
      padding: 0;
      margin: 0;
      color: #22c55e;
      font: inherit;
      cursor: pointer;
      text-decoration: underline;
      text-decoration-style: dotted;
      text-underline-offset: 2px;
    }

    /* ===== WHY ===== */

    .fs-intro-bullets {
      list-style: none;
      margin-top: 4px;
    }

    .fs-intro-bullets li {
      font-size: 13px;
      color: #9ca3af;
      margin-bottom: 5px;
      padding-left: 14px;
      position: relative;
    }

    .fs-intro-bullets li::before {
      content: "—";
      position: absolute;
      left: 0;
      top: 0;
      color: #6b7280;
    }

    .fs-intro-bullets strong {
      color: #e5e7eb;
      font-weight: 600;
    }

    /* ===== CTA ===== */

    .fs-intro-cta {
      text-align: center;
      margin-bottom: 4px;
    }

    .fs-intro-cta-text {
      font-size: 14px;
      color: #e5e7eb;
      margin-bottom: 8px;
    }

    .fs-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 999px;
      border: none;
      cursor: pointer;
      font-size: 14px;
      font-weight: 600;
      padding: 10px 18px;
      transition: 0.16s ease;
      white-space: nowrap;
    }

    .fs-btn-primary {
      width: 100%;
      background: linear-gradient(135deg, #22c55e, #3b82f6);
      color: #f9fafb;
      box-shadow:
        0 12px 25px rgba(34, 197, 94, 0.35),
        0 0 0 1px rgba(15, 23, 42, 0.8);
    }

    .fs-btn-primary:hover {
      filter: brightness(1.05);
      transform: translateY(-0.5px);
    }

    /* Главная (и единственная) CTA приветственного экрана — заметно крупнее
       обычной .fs-btn-primary, чтобы сразу читаться как основное действие. */
    .fs-btn-primary.fs-btn-primary--game {
      padding: 18px 24px;
      font-size: 17px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.03em;
      box-shadow:
        0 18px 38px rgba(34, 197, 94, 0.45),
        0 0 0 1px rgba(15, 23, 42, 0.8);
    }

    .fs-btn-secondary {
      background: transparent;
      color: #cbd5e1;
      border: 1px solid rgba(148, 163, 184, 0.45);
      padding: 8px 14px;
      font-size: 13px;
    }

    .fs-btn-secondary:hover {
      border-color: rgba(148, 163, 184, 0.75);
      background: rgba(148, 163, 184, 0.08);
    }

    .fs-intro-cta-secondary {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 14px;
      margin-top: 8px;
    }

    .fs-intro-cta-note {
      margin-top: 6px;
      font-size: 11px;
      color: #9ca3af;
    }

    .fs-intro-how-short {
      border-color: rgba(56, 189, 248, 0.35);
    }

    .fs-intro-how-more {
      display: inline-block;
      margin-top: 4px;
      font-size: 12px;
    }

    /* ===== SCROLL BAR ===== */

    .fs-main::-webkit-scrollbar {
      width: 4px;
    }

    .fs-main::-webkit-scrollbar-track {
      background: transparent;
    }

    .fs-main::-webkit-scrollbar-thumb {
      background: #4b5563;
      border-radius: 999px;
    }

    /* ===== POPUP КАТЕГОРИЙ ===== */

    .fs-groups-popup {
      position: fixed;
      inset: 0;
      z-index: 80;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .fs-groups-backdrop {
      position: absolute;
      inset: 0;
      background: rgba(15, 23, 42, 0.75);
      backdrop-filter: blur(4px);
    }

    .fs-groups-card {
      position: relative;
      max-width: 460px;
      width: calc(100% - 32px);
      max-height: 80vh;
      background: rgba(15, 23, 42, 0.98);
      border-radius: 18px;
      border: 1px solid rgba(75, 85, 99, 0.9);
      box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.85),
        0 0 0 1px rgba(15, 23, 42, 0.9);
      padding: 12px 14px 10px;
      z-index: 81;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .fs-groups-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 14px;
      font-weight: 600;
      color: #e5e7eb;
      margin-bottom: 4px;
    }

    .fs-groups-close {
      border: none;
      background: transparent;
      color: #9ca3af;
      font-size: 18px;
      line-height: 1;
      cursor: pointer;
    }

    .fs-groups-body {
      overflow-y: auto;
      padding-right: 4px;
    }

    .fs-groups-row {
      display: flex;
      gap: 8px;
      margin-bottom: 6px;
    }

    .fs-groups-label {
      flex: 0 0 52px;
      height: 26px;
      border-radius: 999px;
      background: rgba(34, 197, 94, 0.15);
      border: 1px solid rgba(34, 197, 94, 0.7);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 13px;
      font-weight: 600;
      color: #bbf7d0;
    }

    .fs-groups-text {
      font-size: 12px;
      line-height: 1.4;
      color: #9ca3af;
    }

    .fs-groups-footnote {
      margin-top: 4px;
      font-size: 11px;
      line-height: 1.35;
      color: #6b7280;
    }

    .fs-groups-body::-webkit-scrollbar {
      width: 3px;
    }
    .fs-groups-body::-webkit-scrollbar-thumb {
      background: #4b5563;
      border-radius: 999px;
    }

   /* ===== ЛИЧНЫЙ КАБИНЕТ ===== */

.fs-screen-cabinet {
  padding-top: 0;
  padding-bottom: 4px;
  padding-right: 4px;     /* небольшой отступ под скроллбар */
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;       /* ВАЖНО: весь кабинет скроллится */
}



    /* Экран "Рефералы" */
.fs-screen-referrals {
  padding-top: 0;
  padding-bottom: 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Стили экрана "Рефералы" вынесены в styles/components/referrals-card.css */
/* Стили экрана "Статистика" вынесены в styles/components/stats-card.css */



    .fs-cab-card-main {
  position: relative;
  border-radius: 24px;
  border: 1px solid rgba(55, 65, 81, 0.9); /* обычная серая рамка */
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.16), transparent 60%),
    radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.18), transparent 60%),
    rgba(15, 23, 42, 0.96);
    padding: 14px 14px 14px;
  overflow: visible;   /* чтобы ничего внутри не обрезалось */
}

/* убрали жёлтые «монетки» и свет */
.fs-cab-card-main::before,
.fs-cab-card-main::after {
  content: none;
}

    .fs-cab-main-header {
      display: flex;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 6px;
      position: relative;
      z-index: 1;
    }

    .fs-cab-main-balance-row--hint .fs-cab-main-label {
      color: #6b7280;
      font-size: 10px;
    }

.fs-cab-need {
  cursor: pointer;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 2px;
}


    .fs-cab-main-balance-row--hint .fs-cab-main-value {
      font-size: 11px;
      color: #bbf7d0;
    }

    .fs-cab-main-left {
      flex: 1;
      min-width: 0;
    }

    .fs-cab-main-title-row {
      display: flex;
      align-items: center;
      gap: 6px;
      margin-bottom: 4px;
    }

    .fs-cab-main-icon {
      width: 18px;
      height: 18px;
      border-radius: 5px;
      background: linear-gradient(135deg, #facc15, #f97316);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 11px;
      color: #1f2937;
    }

    .fs-cab-main-title {
      font-size: 14px;
      font-weight: 600;
    }

    .fs-cab-main-extra {
      display: flex;
      flex-wrap: wrap;
      gap: 6px 14px;
      margin-bottom: 4px;
      font-size: 11px;
      color: #e5e7eb;
    }

    .fs-cab-main-balance {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .fs-cab-main-balance-row {
      display: flex;
      gap: 6px;
    }

    .fs-cab-main-label {
      color: #9ca3af;
    }

    .fs-cab-main-value {
      font-weight: 600;
    }

    .fs-cab-main-weeks {
      align-self: center;
      padding: 4px 9px;
      border-radius: 999px;
      background: rgba(15, 23, 42, 0.85);
      border: 1px solid rgba(51, 65, 85, 0.85);
      font-size: 11px;
      white-space: nowrap;
    }

    .fs-cab-main-weeks strong {
      color: #bbf7d0;
    }

    .fs-cab-main-lines {
      font-size: 12px;
      color: #e5e7eb;
      display: flex;
      flex-direction: column;
      gap: 1px;
      margin-bottom: 6px;
    }
    .fs-cab-main-bonuses {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-size: 11px;
  color: #bbf7d0;
}


    .fs-cab-main-payouts {
  margin-top: 10px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
}

.fs-cab-main-payout {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.fs-cab-main-payout-label {
  color: rgba(255, 255, 255, 0.7);
}

.fs-cab-main-payout-value {
  font-weight: 600;
  color: #3ddc84; /* зелёная цифра 1000 / 3000 */
}


    .fs-cab-main-lines span {
      display: inline-flex;
      align-items: baseline;
      gap: 4px;
    }

    .fs-cab-main-lines small {
      font-size: 11px;
      color: #9ca3af;
    }

    .fs-cab-main-link {
      cursor: pointer;
      text-decoration: underline;
      text-decoration-style: dotted;
    }




    .fs-cab-amounts {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .fs-cab-amounts-main {
      margin-bottom: 4px;
    }

    .fs-cab-amount-btn {
      flex: 1;
      min-width: 0;
      border-radius: 999px;
      border: none;
      background: linear-gradient(135deg, #22c55e, #16a34a);
      color: #022c22;
      padding: 9px 10px;
      font-size: 11px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 2px;
      cursor: pointer;
      box-shadow:
        0 12px 26px rgba(22, 163, 74, 0.45),
        0 0 0 1px rgba(4, 47, 46, 0.9);
      transition: 0.16s ease;
    }

    .fs-cab-amount-btn:hover {
      filter: brightness(1.05);
      transform: translateY(-0.5px);
    }

    .fs-cab-amount-btn--primary {
      box-shadow:
        0 14px 30px rgba(22, 163, 74, 0.6),
        0 0 0 1px rgba(4, 47, 46, 0.9);
    }

    .fs-cab-amount-main {
      font-size: 13px;
      font-weight: 700;
    }

    .fs-cab-amount-sub {
      font-size: 10px;
      color: #d1fae5;
    }

    .fs-cab-main-status {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 6px;
    }
    .fs-cab-amount-old,
.fs-price-old {
  text-decoration: line-through;
  opacity: 0.7;
  font-size: 0.8em;
  margin-left: 4px;
}


    .fs-cab-status-pill {
      padding: 3px 9px;
      border-radius: 999px;
      background: rgba(22, 163, 74, 0.22);
      border: 1px solid rgba(22, 163, 74, 0.9);
      color: #bbf7d0;
      font-size: 11px;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      white-space: nowrap;
    }

        .fs-cab-status-pill--inactive {
      background: rgba(185, 28, 28, 0.16);            /* красный фон */
      border-color: rgba(248, 113, 113, 0.95);        /* красная рамка */
      color: #fecaca;                                 /* светло-красный текст */
    }


    .fs-cab-status-pill span:last-child {
      font-size: 12px;
    }

    .fs-cab-circle {
      width: 82px;
      height: 82px;
      border-radius: 50%;
      background:
        conic-gradient(#22c55e 0deg 180deg, #1f2937 180deg 360deg);
      padding: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 6px 18px rgba(34, 197, 94, 0.35);
    }

    .fs-cab-circle-inner {
      width: 100%;
      height: 100%;
      border-radius: 50%;
      background: radial-gradient(circle at top, #020617, #020617 65%, #111827 100%);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      color: #e5e7eb;
      text-align: center;
      padding: 4px;
    }

    .fs-cab-circle-inner strong {
      font-size: 18px;
      line-height: 1;
    }

    .fs-cab-circle-inner span {
      margin-top: 2px;
      font-size: 10px;
      color: #9ca3af;
    }

    .fs-cab-bonus-tap,
.fs-cab-bonus-ref {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.fs-cab-bonus-value {
  font-weight: 600;
}


    .fs-cab-category {
      margin-top: 4px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 2px;
    }

    .fs-cab-category-label {
      font-size: 10px;
      color: #9ca3af;
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    .fs-cab-category-letter {
      font-size: 24px;
      font-weight: 700;
      color: #e5e7eb;
      text-shadow: 0 0 10px rgba(34, 197, 94, 0.55);
      line-height: 1;
    }

    .fs-cab-bonus-tap span,
.fs-cab-bonus-ref span {
  color: #22c55e;
  font-weight: 600;
}

    .fs-cab-main-note-area {
      position: relative;
      z-index: 1;
      margin-top: 4px;
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .fs-cab-main-btn {
      width: 100%;
      border-radius: 999px;
      border: none;
      padding: 10px 14px;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      background: linear-gradient(135deg, #22c55e, #16a34a);
      color: #022c22;
      box-shadow:
        0 12px 26px rgba(22, 163, 74, 0.45),
        0 0 0 1px rgba(15, 23, 42, 0.9);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      margin-bottom: 4px;
    }

    .fs-cab-main-btn span:first-child {
      font-size: 16px;
    }

    .fs-cab-wallet-hint {
      width: 100%;
      margin-bottom: 4px;
      padding: 8px 10px;
      border: 1px solid rgba(56, 189, 248, 0.45);
      border-radius: 14px;
      background: rgba(14, 116, 144, 0.12);
      color: #e0f2fe;
      display: flex;
      align-items: center;
      gap: 8px;
      text-align: left;
      cursor: pointer;
    }

    .fs-cab-wallet-icon {
      flex: 0 0 auto;
      width: 28px;
      height: 28px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: rgba(56, 189, 248, 0.16);
      font-size: 15px;
    }

    .fs-cab-wallet-copy {
      flex: 1;
      min-width: 0;
      display: flex;
      flex-direction: column;
      gap: 1px;
    }

    .fs-cab-wallet-copy strong {
      font-size: 11px;
      color: #f0f9ff;
    }

    .fs-cab-wallet-copy small {
      font-size: 10px;
      line-height: 1.25;
      color: #94a3b8;
    }

    .fs-cab-wallet-action {
      flex: 0 0 auto;
      padding: 4px 8px;
      border-radius: 999px;
      background: rgba(56, 189, 248, 0.16);
      border: 1px solid rgba(56, 189, 248, 0.5);
      color: #bae6fd;
      font-size: 10px;
      font-weight: 700;
    }


    .fs-cab-main-note {
      font-size: 11px;
      color: #9ca3af;
    }

    .fs-cab-main-lock {
      margin-top: 3px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 11px;
      color: #9ca3af;
      gap: 6px;
      flex-wrap: wrap;
    }

.fs-cab-main-first500 {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.18);
  border: 1px solid rgba(34, 197, 94, 0.9);
  font-size: 11px;
  color: #bbf7d0;
}

.fs-first500-icon {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  background: #facc15;
  color: #1f2937;
}


    .fs-cab-main-lock-status {
      padding: 2px 8px;
      border-radius: 999px;
      border: 1px solid rgba(251, 146, 60, 0.8);
      color: #fed7aa;
      background: rgba(251, 146, 60, 0.18);
      font-size: 10px;
      white-space: nowrap;
    }

    /* Блок "Выплата 1000 USDT" */
.fs-cab-payout {
  margin-top: 16px;  /* можно 18–20, если захочешь ещё ниже */
  border-radius: 22px;
  border: 1px solid rgba(55, 65, 81, 0.9); /* без зелёной рамки */
  background:
    radial-gradient(circle at top left, rgba(34, 197, 94, 0.24), transparent 60%),
    radial-gradient(circle at bottom right, rgba(21, 128, 61, 0.25), transparent 60%),
    rgba(6, 95, 70, 0.95);
}



    .fs-cab-payout-header {
      margin-bottom: 8px;
    }

    .fs-cab-payout-label {
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: #bbf7d0;
      margin-bottom: 4px;
    }

    .fs-cab-payout-state {
      padding: 6px 8px;
      border-radius: 12px;
      background: rgba(15, 23, 42, 0.75);
      border: 1px solid rgba(22, 163, 74, 0.6);
    }

    .fs-cab-payout-title {
      display: block;
      font-size: 14px;
      font-weight: 600;
      color: #ecfdf5;
      margin-bottom: 2px;
    }

    .fs-cab-payout-desc {
      font-size: 12px;
      color: #a7f3d0;
    }

    .fs-cab-payout-amount {
      margin-top: 10px;
      font-size: 24px;
      font-weight: 700;
      color: #bbf7d0;
      text-shadow: 0 0 12px rgba(34, 197, 94, 0.9);
    }

    .fs-cab-payout-amount span {
      font-size: 13px;
      margin-left: 4px;
      font-weight: 500;
    }

    .fs-cab-payout-buttons {
      margin-top: 10px;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .fs-cab-payout-btn {
      width: 100%;
      border-radius: 999px;
      border: none;
      padding: 10px 14px;
      font-size: 14px;
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      cursor: pointer;
      transition: 0.16s ease;
    }

    .fs-cab-payout-btn--primary {
      background: linear-gradient(135deg, #22c55e, #16a34a);
      color: #022c22;
      box-shadow:
        0 12px 26px rgba(22, 163, 74, 0.55),
        0 0 0 1px rgba(4, 47, 46, 0.9);
    }

    .fs-cab-payout-btn--primary:hover:not(:disabled) {
      filter: brightness(1.05);
      transform: translateY(-0.5px);
    }

    .fs-cab-payout-btn--ghost {
      background: rgba(15, 23, 42, 0.9);
      color: #e5e7eb;
      border: 1px solid rgba(55, 65, 81, 0.9);
    }

    .fs-cab-payout-btn--ghost:hover:not(:disabled) {
      border-color: rgba(148, 163, 184, 0.9);
    }

    .fs-cab-payout-btn:disabled {
      opacity: 0.6;
      cursor: default;
      transform: none;
      box-shadow: none;
    }

    .fs-cab-payout-note {
      margin-top: 6px;
      font-size: 11px;
      color: #a7f3d0;
    }

    .fs-cab-bonus500 {
      margin-top: 6px;
      padding: 5px 8px;
      border-radius: 12px;
      background: rgba(15, 23, 42, 0.85);
      font-size: 11px;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .fs-cab-bonus500-icon {
      width: 16px;
      height: 16px;
      border-radius: 999px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 11px;
      font-weight: 700;
      background: #991b1b;
      color: #fee2e2;
    }

    .fs-cab-bonus500--on .fs-cab-bonus500-icon {
      background: #16a34a;
      color: #ecfdf5;
    }

    .fs-cab-bonus500 span:last-child {
      color: #e5e7eb;
    }

    /* Сетка нижних блоков */

    .fs-cab-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);  /* одна колонка на весь экран */
  gap: 8px;
  margin-top: 6px;
}


    /* Экран "Рефералы" вынесен в styles/components/referrals-card.css */

    /* Статистика сезона */

    .fs-cab-season-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4px;
  font-size: 12px;
  margin-bottom: 4px;
  flex-wrap: wrap; /* позволяем многострочность, если узкий экран */
}

.fs-cab-season-row span:first-child {
  max-width: 60%; /* текст слева может занимать до 60% ширины */
}

.fs-cab-season-row strong {
  font-size: 16px;
  white-space: nowrap;
}


    .fs-cab-season-subrow {
      font-size: 11px;
      color: #9ca3af;
      display: flex;
      justify-content: space-between;
      gap: 6px;
      margin-bottom: 6px;
    }

    .fs-cab-positive {
      color: #22c55e;
      font-weight: 600;
    }

    .fs-cab-tag {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 3px 8px;
      border-radius: 999px;
      font-size: 10px;
      background: rgba(15, 23, 42, 0.9);
      border: 1px solid rgba(75, 85, 99, 0.9);
      color: #e5e7eb;
    }

    .fs-cab-tag span:first-child {
      font-size: 12px;
    }

    .fs-cab-season-note {
      font-size: 11px;
      color: #9ca3af;
    }

    /* ===== ТАПАЛКА: ЭКРАН И ШАПКА ===== */

.fs-screen-tap {
  position: relative;      /* нужно для оверлея прокачки */
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 8px;
}


.fs-tap-header {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  font-size: 11px;
  padding: 6px 4px 0;
}

.fs-tap-header-item {
  flex: 1;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(55, 65, 81, 0.8);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fs-tap-balance-card {
  appearance: none;
  width: 100%;
  color: #e5e7eb;
  text-align: left;
  cursor: pointer;
  border-color: rgba(34, 197, 94, 0.58);
  box-shadow: inset 0 0 18px rgba(34, 197, 94, 0.05);
  transition: transform 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}

.fs-tap-balance-card:hover,
.fs-tap-balance-card:focus-visible {
  border-color: rgba(74, 222, 128, 0.95);
  background: rgba(22, 101, 52, 0.2);
  outline: none;
}

.fs-tap-balance-card:active {
  transform: scale(0.985);
}

.fs-tap-balance-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.fs-tap-balance-arrow {
  color: #4ade80;
  font-size: 16px;
  line-height: 0.8;
}

.fs-tap-label {
  opacity: 0.8;
}

.fs-tap-header-item strong {
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

/* ===== ИГРОВОЕ ПОЛЕ ===== */

.fs-tap-game {
  position: relative;
  flex: 1;
  margin-top: 4px;
  border-radius: 24px;
  border: 1px solid rgba(34, 197, 94, 0.4);
  background: radial-gradient(circle at top, #020617, #020617 45%, #0b1120);
  overflow: hidden;
  touch-action: manipulation;
}

.fs-tap-hint {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 80%;
  font-size: 13px;
  opacity: 0.8;
}

/* Монетки – крупнее и с ускорением */

/* ===== Монета: рельеф, гравировка F, рёбра ===== */

.fs-tap-coin {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #fff9d6 0%, #f7d86b 20%, #f2b12b 50%, #d6860d 100%);
  box-shadow:
    0 6px 18px rgba(0,0,0,0.6),
    inset 0 6px 12px rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  cursor: pointer;
  transform-origin: center;
  opacity: 1;              /* ← БЫЛО 0, теперь монета видимая */
  top: -12%;               /* стартуем чуть выше экрана */
  will-change: transform, opacity;
  transition: transform 3.2s linear, opacity 0.25s ease-out;
  z-index: 5;              /* чтобы точно было поверх фона/подсказки */
}


/* тонкая кайма (имитация фаски) */
.fs-tap-coin::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 2px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(0,0,0,0.08)) padding-box,
    repeating-linear-gradient(
      90deg,
      rgba(0,0,0,0.05) 0 2px,
      rgba(255,255,255,0.02) 2px 4px
    ) border-box;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 0.95;
}

/* рёбра (тонкие штрихи по окружности) */
.fs-tap-coin-rim {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.12) inset;
  background-image: radial-gradient(circle at 50% 0%, rgba(0,0,0,0.05), rgba(0,0,0,0.00) 30%);
  mask-image: conic-gradient(#0000 0deg 360deg);
}

/* внутри монеты — SVG логотип F (слегка вдавленный) */
.fs-tap-coin svg {
  width: 60%;
  height: 60%;
  opacity: 0.9;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,0.08));
}

/* «настоящая» монета — чуть сильнее подсветка */
.fs-tap-coin--real {
  box-shadow:
    0 8px 26px rgba(34,197,94,0.18),
    inset 0 6px 18px rgba(255,255,255,0.14);
  border: 1px solid rgba(255,230,120,0.05);
}

/* осколки (мелкие частицы при взрыве) */
.fs-tap-coin-piece {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff7d2, #f6c847 60%, #d08a0d 100%);
  box-shadow: 0 6px 12px rgba(0,0,0,0.5);
  pointer-events: none;
  opacity: 1;
  transform-origin: center;
  will-change: transform, opacity;
  transition: transform 0.4s ease-out, opacity 0.4s ease-out;
}

/* Золотая всплывающая цифра */
.fs-coin-fly {
  position: absolute;
  font-weight: 800;
  color: #FFD54A;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
  font-size: 16px;
  pointer-events: none;
  transform: translate(-50%, 0) scale(1);
  opacity: 1;
  will-change: transform, opacity;
}

/* ===== прокачка: вкладки и скролл контент ===== */

.fs-tap-upgrade-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}

.fs-tap-upgrade-tab {
  flex: 1;
  padding: 8px;
  text-align: center;
  border-radius: 999px;
  background: rgba(15,23,42,0.85);
  color: #9ca3af;
  cursor: pointer;
  border: 1px solid rgba(55,65,81,0.9);
  font-weight: 600;
}

.fs-tap-upgrade-tab--active {
  background: linear-gradient(90deg, rgba(34,197,94,0.18), rgba(34,197,94,0.08));
  color: #e6ffef;
  border-color: rgba(34,197,94,0.9);
}

/* контейнеры вкладок — скроллятся отдельно */
.fs-tap-upgrade-pane {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-right: 6px;
  overscroll-behavior: contain;
}



/* ===== НИЖНЯЯ ПАНЕЛЬ И МЕНЮ ===== */

.fs-tap-bottom {
  margin-top: 6px;
  padding-bottom: 4px;
}

.fs-tap-info-toggle {
  width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(55, 65, 81, 0.8);
  background: rgba(15, 23, 42, 0.95);
  color: #e5e7eb;
  padding: 8px 12px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.fs-tap-info-arrow {
  margin-left: auto;
  opacity: 0.8;
}

.fs-tap-info-panel {
  margin-top: 6px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(55, 65, 81, 0.9);
  padding: 8px 10px;
  max-height: 260px;
  overflow: auto;
}

.fs-tap-info-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}

.fs-tap-info-tab {
  flex: 1;
  border-radius: 999px;
  padding: 6px 8px;
  font-size: 11px;
  border: 1px solid transparent;
  background: transparent;
  color: #9ca3af;
  cursor: pointer;
}
/* ===== НИЖНЯЯ ЗОНА ТАПАЛКИ + КНОПКА ПРОКАЧКИ ===== */

.fs-tap-upgrade-btn {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: radial-gradient(circle at left, rgba(34, 197, 94, 0.2), rgba(15, 23, 42, 0.98));
  color: #e5e7eb;
  padding: 8px 12px;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.9);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.fs-tap-upgrade-btn:hover {
  filter: brightness(1.04);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.95);
}

.fs-tap-upgrade-btn:active {
  transform: translateY(1px) scale(0.99);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.9);
}

.fs-tap-upgrade-btn-main {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.fs-tap-upgrade-btn-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #22c55e, #16a34a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.fs-tap-upgrade-btn-sub {
  font-size: 11px;
  color: #9ca3af;
}

/* ===== ЭКРАН ПРОКАЧКИ ===== */

.fs-tap-upgrade-screen {
  position: absolute;
  inset: 0;
  padding: 12px 10px 16px;
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(55, 65, 81, 0.9);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(15, 23, 42, 0.9);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 120;
}

.fs-tap-upgrade-screen--hidden {
  display: none;
}

.fs-tap-upgrade-header {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: flex-start;
}

.fs-tap-upgrade-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.fs-tap-upgrade-current {
  font-size: 12px;
  color: #9ca3af;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fs-tap-upgrade-current span strong {
  color: #e5e7eb;
}

.fs-tap-upgrade-close {
  border: none;
  background: rgba(15, 23, 42, 0.9);
  color: #9ca3af;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.12s ease;
}

.fs-tap-upgrade-close:hover {
  background: rgba(30, 64, 175, 0.9);
  color: #e5e7eb;
}

.fs-tap-upgrade-section-title {
  font-size: 13px;
  font-weight: 600;
  margin: 6px 0 4px;
}

.fs-tap-upgrade-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fs-tap-upgrade-showall {
  align-self: center;
  margin-top: 8px;
  padding: 7px 14px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  border-radius: 999px;
  background: transparent;
  color: #cbd5e1;
  font-size: 12px;
  cursor: pointer;
}

.fs-tap-upgrade-showall:hover {
  border-color: rgba(148, 163, 184, 0.7);
  background: rgba(148, 163, 184, 0.08);
}

.fs-upgrade-row[hidden] {
  display: none !important;
}

.fs-upgrade-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 9px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(55, 65, 81, 0.9);
  font-size: 12px;
}

.fs-upgrade-row-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fs-upgrade-row-title {
  font-weight: 600;
}

.fs-upgrade-row-meta {
  font-size: 11px;
  color: #9ca3af;
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.25;
}

.fs-upgrade-btn {
  flex: 0 0 auto;
  min-width: 86px;
  border-radius: 999px;
  border: none;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #022c22;
  box-shadow: 0 8px 18px rgba(22, 163, 74, 0.5);
  transition: 0.12s ease;
}

.fs-upgrade-btn:hover:not(:disabled) {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.fs-upgrade-btn:active:not(:disabled) {
  transform: translateY(0px) scale(0.98);
  box-shadow: 0 4px 10px rgba(22, 163, 74, 0.5);
}

.fs-upgrade-btn:disabled {
  opacity: 1;
  cursor: default;
  box-shadow: none;
}

.fs-upgrade-row--available {
  border-color: rgba(34, 197, 94, 0.72);
  box-shadow: inset 0 0 18px rgba(34, 197, 94, 0.06);
}

.fs-upgrade-row--current .fs-upgrade-btn {
  background: rgba(22, 101, 52, 0.85);
  border: 1px solid rgba(74, 222, 128, 0.45);
  color: #dcfce7;
}

.fs-upgrade-row--locked .fs-upgrade-btn {
  background: rgba(51, 65, 85, 0.78);
  border: 1px solid rgba(100, 116, 139, 0.48);
  color: #cbd5e1;
}

/* уже купленный уровень */

.fs-upgrade-row--owned {
  background: rgba(22, 163, 74, 0.18);
  border-color: rgba(34, 197, 94, 0.9);
}

.fs-upgrade-row--owned .fs-upgrade-btn {
  background: rgba(15, 23, 42, 0.95);
  color: #bbf7d0;
  border: 1px solid rgba(34, 197, 94, 0.4);
  box-shadow: none;
}

/* шейк, если не хватает монет */

@keyframes fs-upgrade-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-2px); }
  75% { transform: translateX(2px); }
}

.fs-upgrade-row--shake {
  animation: fs-upgrade-shake 0.25s linear;
}

/* ===== ЭКРАН FSCOINS ===== */

.fs-screen-fscoins {
  padding-top: 0;
  padding-bottom: 4px;
  padding-right: 4px;
  overflow-y: auto;
  gap: 10px;
}

.fs-fscoins-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.fs-fscoins-back {
  border: 1px solid rgba(71, 85, 105, 0.85);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  color: #cbd5e1;
  padding: 6px 10px;
  font-size: 11px;
  cursor: pointer;
}

.fs-fscoins-title {
  flex: 1;
  font-size: 17px;
  font-weight: 750;
}

/* ===== ПЛАШКА "ДЕМОНСТРАЦИОННЫЙ ПРИМЕР" (переиспользуется на нескольких экранах) ===== */

.fs-demo-banner {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 10px;
  margin-bottom: 8px;
  border-radius: 12px;
  border: 1px solid rgba(250, 204, 21, 0.45);
  background: rgba(161, 98, 7, 0.14);
}

.fs-demo-banner-icon {
  font-size: 14px;
  line-height: 1.3;
}

.fs-demo-banner-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.fs-demo-banner-copy strong {
  color: #fde68a;
  font-size: 11px;
  font-weight: 750;
}

.fs-demo-banner-copy small {
  color: #fcd34d;
  opacity: 0.85;
  font-size: 10px;
  line-height: 1.4;
}

.fs-fscoins-dev-badge {
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(250, 204, 21, 0.55);
  background: rgba(161, 98, 7, 0.14);
  color: #fde68a;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.fs-fscoins-balance-card {
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(250, 204, 21, 0.16), transparent 48%),
    radial-gradient(circle at bottom left, rgba(34, 197, 94, 0.18), transparent 54%),
    rgba(15, 23, 42, 0.98);
}

.fs-fscoins-balance-label {
  font-size: 11px;
  color: #94a3b8;
}

.fs-fscoins-balance-value {
  margin-top: 4px;
  font-size: 30px;
  font-weight: 800;
  color: #fef3c7;
  font-variant-numeric: tabular-nums;
}

.fs-fscoins-balance-note {
  margin-top: 5px;
  font-size: 11px;
  line-height: 1.4;
  color: #94a3b8;
}

.fs-fscoins-status-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.fs-fscoins-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 9px;
  border-radius: 12px;
  background: rgba(2, 6, 23, 0.48);
  border: 1px solid rgba(51, 65, 85, 0.72);
  font-size: 11px;
}

.fs-fscoins-status-row span:last-child {
  color: #fde68a;
  text-align: right;
}

.fs-fscoins-roadmap {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.fs-fscoins-step {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  font-size: 12px;
  line-height: 1.35;
  color: #cbd5e1;
}

.fs-fscoins-step-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(71, 85, 105, 0.8);
  background: rgba(30, 41, 59, 0.85);
  color: #94a3b8;
  font-size: 11px;
}

.fs-fscoins-step--done .fs-fscoins-step-icon {
  border-color: rgba(34, 197, 94, 0.65);
  background: rgba(22, 101, 52, 0.35);
  color: #bbf7d0;
}

.fs-fscoins-chart-placeholder {
  min-height: 150px;
  margin-top: 8px;
  border-radius: 16px;
  border: 1px dashed rgba(71, 85, 105, 0.9);
  background:
    linear-gradient(rgba(51, 65, 85, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(51, 65, 85, 0.18) 1px, transparent 1px),
    rgba(2, 6, 23, 0.42);
  background-size: 24px 24px;
  display: grid;
  place-items: center;
  padding: 18px;
  color: #64748b;
  text-align: center;
  font-size: 11px;
  line-height: 1.4;
}

.fs-fscoins-actions {
  margin-top: 8px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
}

.fs-fscoins-action {
  width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(71, 85, 105, 0.8);
  padding: 9px 12px;
  background: rgba(30, 41, 59, 0.72);
  color: #94a3b8;
  font-size: 12px;
  font-weight: 650;
}

.fs-fscoins-network-note {
  font-size: 11px;
  line-height: 1.45;
  color: #94a3b8;
}

.fs-fscoins-network-note strong {
  color: #e2e8f0;
}


.fs-tap-info-tab--active {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.9);
  color: #bbf7d0;
}

.fs-tap-subtitle {
  font-size: 12px;
  margin: 6px 0 4px;
}

.fs-tap-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  margin-bottom: 8px;
}

.fs-tap-table th,
.fs-tap-table td {
  border-bottom: 1px solid rgba(30, 64, 175, 0.4);
  padding: 2px 4px;
  text-align: right;
}

.fs-tap-table th:first-child,
.fs-tap-table td:first-child {
  text-align: left;
}

.fs-tap-top-list {
  list-style: none;
  padding-left: 0;
  font-size: 11px;
  margin-bottom: 6px;
}

.fs-tap-top-note {
  font-size: 10px;
  opacity: 0.75;
}


    /* ===== НИЖНЯЯ НАВИГАЦИЯ ===== */

    .fs-bottom-nav {
  position: fixed;                 /* фиксируем к окну */
  left: 50%;
  bottom: 12px;                    /* отступ от низа */
  transform: translateX(-50%);
  width: calc(100% - 32px);        /* как у .fs-app с паддингами */
  max-width: 420px;

  z-index: 100;
  border-radius: 999px;
  padding: 10px 10px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(55, 65, 81, 0.85);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(15, 23, 42, 0.9);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}


    .fs-bottom-hidden {
      display: none;
    }

    body.fs-upgrade-open .fs-bottom-nav {
      visibility: hidden;
      pointer-events: none;
    }

    .fs-bottom-item {
      flex: 1;
      min-width: 0;
      border-radius: 999px;
      border: none;
      background: transparent;
      color: #9ca3af;
      font-size: 12px;
      padding: 8px 4px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 3px;
      cursor: pointer;
    }

    .fs-bottom-item span:first-child {
      font-size: 18px;
      line-height: 1;
    }

    .fs-bottom-item-active {
      background: rgba(30, 64, 175, 0.9);
      color: #eef2ff;
    }

    /* RESPONSIVE */

    @media (max-width: 400px) {
      .fs-card {
        padding: 12px 11px 10px;
        border-radius: 14px;
      }

      .fs-cab-season-row strong {
    font-size: 14px;
  }

      .fs-intro-hero {
        border-radius: 16px;
      }
      .fs-intro-title {
        font-size: 18px;
      }
      .fs-btn-primary {
        font-size: 13px;
      }

      .fs-cab-card-main {
        border-radius: 20px;
      }

      .fs-cab-main-header {
        align-items: flex-start;
      }

      .fs-cab-grid {
        grid-template-columns: minmax(0, 1fr);
      }
    }
