:root {
  --bg: #05090a;
  --card: #0a1213;
  --card-soft: #0e181a;
  --line: rgba(96, 222, 228, 0.16);
  --line-strong: rgba(96, 222, 228, 0.42);
  --text: #f3f7f7;
  --muted: #8fa0a2;
  --muted-strong: #bdc9ca;
  --cyan: #39d9e5;
  --cyan-deep: #0da5b0;
  --gold: #f4c963;
  --gold-deep: #bf8a26;
  --danger: #ff7b7e;
  --ok: #47dc9b;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.3);
}

html {
  background: var(--bg);
}

body {
  min-width: 0;
  background:
    linear-gradient(rgba(57, 217, 229, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 217, 229, 0.025) 1px, transparent 1px),
    #05090a;
  background-size: 42px 42px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  z-index: 20;
  pointer-events: none;
  background: linear-gradient(90deg, var(--cyan), var(--gold), var(--cyan));
  background-size: 200% 100%;
  animation: dashboardLine 9s linear infinite;
}

.app {
  width: min(100%, 1160px);
  padding: 16px 18px 118px;
}

.dashboardHeader {
  position: sticky;
  top: 8px;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  margin: 0 0 16px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 12, 13, 0.92);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.dashboardBrand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--text);
  text-decoration: none;
}

.dashboardBrand img {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  object-fit: cover;
}

.dashboardBrand span {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.dashboardBrand b {
  font-size: 16px;
  line-height: 1.15;
}

.dashboardBrand small {
  color: var(--muted);
  font-size: 11px;
}

.secureState {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted-strong);
  font-size: 12px;
}

.secureState i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 14px rgba(71, 220, 155, 0.58);
}

.brandCard,
.subscriptionCard,
.setupCard,
.infoCard,
.planCard,
.emptyAccountCard,
.installAppCard {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(10, 18, 19, 0.94);
  box-shadow: var(--shadow);
}

.dashboardIntro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 148px;
  margin: 0 0 16px;
  padding: 26px 28px;
  overflow: hidden;
  text-align: left;
}

.dashboardIntro > div:first-child {
  position: relative;
  z-index: 2;
  max-width: 520px;
}

.dashboardIntro h1 {
  margin: 4px 0 8px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1;
}

.dashboardIntro p {
  max-width: 480px;
}

.dashboardEyebrow,
.sectionKicker {
  margin: 0;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
}

.dashboardSignal {
  position: relative;
  width: 148px;
  height: 92px;
  flex: 0 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 7px;
  padding: 18px 54px 18px 18px;
  border-left: 1px solid var(--line);
}

.dashboardSignal span {
  width: 7px;
  border-radius: 2px;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(57, 217, 229, 0.35);
  animation: signalRise 1.8s ease-in-out infinite alternate;
}

.dashboardSignal span:nth-child(1) {
  height: 24px;
}

.dashboardSignal span:nth-child(2) {
  height: 42px;
  animation-delay: 0.2s;
}

.dashboardSignal span:nth-child(3) {
  height: 62px;
  background: var(--gold);
  animation-delay: 0.4s;
}

.dashboardSignal .uiIcon {
  position: absolute;
  right: 8px;
  top: 26px;
  width: 38px;
  height: 38px;
  color: var(--cyan);
}

.subscriptionCard,
.setupCard,
.infoCard {
  margin: 0 0 16px;
  padding: 24px;
}

.subscriptionCard {
  overflow: hidden;
}

.subTop {
  align-items: flex-start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.subTop > div {
  display: grid;
  gap: 7px;
}

.subTop p {
  color: var(--text);
  font-size: 20px;
  font-weight: 760;
}

.activeBadge {
  border: 1px solid rgba(71, 220, 155, 0.28);
  border-radius: 999px;
  background: rgba(71, 220, 155, 0.1);
  color: var(--ok);
}

.subscriptionMetrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 18px 0 10px;
}

.subscriptionMetrics > div {
  min-width: 0;
  padding: 0 16px;
  border-right: 1px solid var(--line);
}

.subscriptionMetrics > div:first-child {
  padding-left: 0;
}

.subscriptionMetrics > div:last-child {
  padding-right: 0;
  border-right: 0;
}

.subscriptionMetrics span {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.subscriptionMetrics .uiIcon {
  width: 15px;
  height: 15px;
  color: var(--cyan);
}

.subscriptionMetrics strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: clamp(16px, 2.1vw, 24px);
  line-height: 1.1;
}

#expireDate {
  margin: 0 0 20px;
}

.primaryButton,
.outlineButton,
.darkButton,
.renewAction,
.deviceAction {
  min-height: 52px;
  border-radius: 8px;
  font-weight: 740;
}

.primaryButton {
  border: 1px solid transparent;
  background: var(--cyan);
  color: #031011;
  box-shadow: 0 10px 28px rgba(57, 217, 229, 0.16);
}

.primaryButton:hover {
  background: #67e6ed;
}

.connectButton {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  margin: 0 0 10px;
}

.connectButton .uiIcon {
  width: 20px;
  height: 20px;
}

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

.subscriptionActions button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: #0c1719;
  color: var(--muted-strong);
}

.subscriptionActions .renewAction {
  border-color: rgba(244, 201, 99, 0.28);
  color: var(--gold);
}

.subscriptionActions .uiIcon {
  width: 18px;
  height: 18px;
}

.emptyAccountCard {
  margin: 0 0 16px;
  padding: 24px;
}

.emptyAccountIcon {
  border-radius: 8px;
  background: rgba(57, 217, 229, 0.1);
  color: var(--cyan);
}

.emptyAccountHint {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.quickPurchase {
  margin: 0 0 12px;
}

.utilityActions {
  gap: 8px;
  margin: 0 0 12px;
}

.trialButton,
.webLoginButton,
.logoutButton,
.starsLinkButton,
.channelButton {
  min-width: 0;
  border-radius: 8px;
  border-color: var(--line);
  background: rgba(10, 18, 19, 0.86);
}

.actionLead {
  min-width: 0;
}

.actionLead span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.legalLinks {
  margin-bottom: 0;
}

.legalLinks a {
  border-radius: 8px;
}

.brandCard.compact {
  margin: 0 0 16px;
  padding: 22px;
}

.brandCard.compact .brandLogo {
  width: 72px;
  height: 72px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 0 26px rgba(57, 217, 229, 0.12);
}

.brandCard.compact .dashboardEyebrow {
  color: var(--cyan);
}

.backButton,
.sheetClose {
  border-radius: 8px;
}

.plansGrid {
  gap: 12px;
}

.planCard {
  border-radius: 8px;
  background: rgba(10, 18, 19, 0.94);
}

.planCard:last-child {
  border-color: rgba(244, 201, 99, 0.38);
}

.planCard:last-child .primaryButton {
  background: var(--gold);
  color: #171003;
}

.profileStatusCard {
  border-left: 3px solid var(--cyan);
}

.profileActions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.referralPromo {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 174px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  padding: 17px 16px 25px;
  overflow: hidden;
  border: 1px solid rgba(244, 201, 99, 0.3);
  border-radius: 8px;
  background: #0b1212;
  color: var(--text);
  text-align: left;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.24);
}

.referralPromoIcon,
.referralHeroIcon {
  display: grid;
  place-items: center;
  border: 1px solid rgba(244, 201, 99, 0.34);
  border-radius: 8px;
  background: rgba(244, 201, 99, 0.1);
  color: var(--gold);
}

.referralPromoIcon {
  grid-column: 1;
  grid-row: 1;
  width: 48px;
  height: 48px;
}

.referralPromoCopy {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  display: grid;
  gap: 3px;
}

.referralPromoCopy small {
  color: var(--gold);
  font-size: 11px;
  font-style: normal;
  font-weight: 760;
  text-transform: uppercase;
}

.referralPromoCopy strong {
  overflow-wrap: anywhere;
  font-size: 16px;
  line-height: 1.25;
}

.referralPromoCopy strong b {
  color: var(--cyan);
}

.referralPromoCopy em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  line-height: 1.35;
}

.referralPromoArrow {
  grid-column: 3;
  grid-row: 1;
  color: var(--cyan);
  font-size: 30px;
  line-height: 1;
  transition: transform 0.18s ease;
}

.referralPromo:active .referralPromoArrow {
  transform: translateX(3px);
}

.referralPromoFacts {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding-top: 12px;
  border-top: 1px solid rgba(244, 201, 99, 0.13);
}

.referralPromoFacts > span {
  display: grid;
  min-width: 0;
  gap: 2px;
  text-align: center;
}

.referralPromoFacts b {
  color: var(--cyan);
  font-size: 9px;
  line-height: 1;
}

.referralPromoFacts small {
  overflow: hidden;
  color: #9dabad;
  font-size: 9px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.referralPromoFacts > i {
  position: relative;
  min-width: 10px;
  height: 1px;
  overflow: hidden;
  background: rgba(57, 217, 229, 0.18);
}

.referralPromoFacts > i::after {
  position: absolute;
  top: -1px;
  left: -8px;
  width: 8px;
  height: 3px;
  border-radius: 2px;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(57, 217, 229, 0.65);
  content: "";
  animation: referralFactFlow 2.2s linear infinite;
}

.referralPromoFacts > i:nth-of-type(2)::after {
  animation-delay: 0.35s;
}

.referralPromoFacts > i:nth-of-type(3)::after {
  animation-delay: 0.7s;
}

.referralPromoFlow {
  position: absolute;
  left: 76px;
  right: 16px;
  bottom: 10px;
  height: 2px;
  display: flex;
  justify-content: space-between;
  background: rgba(57, 217, 229, 0.13);
}

.referralPromoFlow i {
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  background: #0b1212;
  box-shadow: 0 0 10px rgba(57, 217, 229, 0.42);
  animation: referralNode 2.4s ease-in-out infinite;
}

.referralPromoFlow i:nth-child(2) {
  animation-delay: 0.3s;
}

.referralPromoFlow i:nth-child(3) {
  animation-delay: 0.6s;
}

.referralPageHero {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin: 0 0 16px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(57, 217, 229, 0.28);
  border-radius: 8px;
  background: #081112;
  box-shadow: var(--shadow);
}

.affiliateGuideLink {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  padding: 13px 15px;
  border: 1px solid rgba(57, 217, 229, 0.28);
  border-radius: 8px;
  background: rgba(57, 217, 229, 0.07);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.affiliateGuideLink:hover,
.affiliateGuideLink:focus-visible {
  border-color: rgba(57, 217, 229, 0.56);
  background: rgba(57, 217, 229, 0.11);
  transform: translateY(-2px);
}

.affiliateGuideLink span {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.affiliateGuideLink b {
  color: var(--cyan);
  font-size: 14px;
}

.affiliateGuideLink small {
  color: var(--muted);
  font-size: 10px;
}

.affiliateGuideLink i {
  min-width: 74px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 11px;
  border: 1px solid rgba(244, 201, 99, 0.34);
  border-radius: 7px;
  background: rgba(244, 201, 99, 0.07);
  color: var(--gold);
  font-size: 9px;
  font-weight: 900;
  font-style: normal;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.referralPageHero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: var(--cyan);
  transform-origin: left;
  animation: referralLine 3.4s ease-in-out infinite;
}

.referralHeroIcon {
  width: 58px;
  height: 58px;
}

.referralHeroIcon .uiIcon {
  width: 26px;
  height: 26px;
}

.referralPageHero h1 {
  margin: 4px 0 8px;
  font-size: 34px;
  line-height: 1.04;
}

.referralPageHero h1 span {
  color: var(--gold);
}

.referralPageHero p {
  max-width: 570px;
  margin: 0;
  color: var(--muted-strong);
  font-size: 14px;
  line-height: 1.5;
}

.referralHeroRate {
  display: grid;
  justify-items: center;
  gap: 3px;
  padding: 14px 16px;
  border: 1px solid rgba(244, 201, 99, 0.34);
  border-radius: 8px;
  background: rgba(244, 201, 99, 0.08);
}

.referralHeroRate strong {
  color: var(--gold);
  font-size: 28px;
  line-height: 1;
}

.referralHeroRate span {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.referralMotionTrack {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(24px, 1fr) auto minmax(24px, 1fr) auto;
  align-items: center;
  margin-top: 4px;
}

.referralMotionTrack > span {
  display: grid;
  justify-items: center;
  gap: 5px;
}

.referralMotionTrack b {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(57, 217, 229, 0.36);
  border-radius: 50%;
  background: #0c1819;
  color: var(--cyan);
  font-size: 12px;
}

.referralMotionTrack small {
  color: var(--muted);
  font-size: 10px;
}

.referralMotionTrack > i {
  position: relative;
  height: 1px;
  margin-bottom: 15px;
  overflow: hidden;
  background: rgba(57, 217, 229, 0.2);
}

.referralMotionTrack > i::after {
  content: "";
  position: absolute;
  top: -1px;
  width: 28%;
  height: 3px;
  background: var(--cyan);
  animation: referralFlow 2.2s ease-in-out infinite;
}

.referralHow {
  margin: 0 0 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #091112;
  box-shadow: var(--shadow);
}

.referralHowHead h2 {
  margin: 4px 0 18px;
  font-size: 23px;
}

.referralSteps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.referralSteps li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.referralSteps li > b {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(57, 217, 229, 0.32);
  border-radius: 50%;
  background: rgba(57, 217, 229, 0.08);
  color: var(--cyan);
  font-size: 12px;
}

.referralSteps li > span {
  display: grid;
  gap: 4px;
}

.referralSteps strong {
  font-size: 14px;
}

.referralSteps small,
.referralRulesNote {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.referralRulesNote {
  margin: 12px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.referralCard,
.referralCard * {
  min-width: 0;
}

.referralHead b {
  border-color: rgba(244, 201, 99, 0.32);
  border-radius: 999px;
  background: rgba(244, 201, 99, 0.1);
  color: var(--gold);
}

.referralLinkBox {
  display: grid;
  gap: 12px;
  min-width: 0;
  border-radius: 8px;
  background: #071012;
}

.referralLinkBox span {
  display: block;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted-strong);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 13px;
}

.referralActions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
}

.referralActions button {
  min-width: 0;
}

.referralStats {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.referralStats div {
  border-color: var(--line);
}

.referralInviteItem {
  border-radius: 8px;
}

.affiliatePayoutBox,
.affiliateCommissionItem {
  border-radius: 8px;
  background: #071012;
}

.affiliateWallet {
  border-radius: 8px;
  background: #04090a;
}

.affiliatePayoutBox .primaryButton {
  background: var(--cyan);
  color: #031012;
}

.installAppCard {
  margin: 0 0 16px;
  border-color: rgba(57, 217, 229, 0.32);
}

.webEmailCard,
.supportBotCard,
.supportChatCard {
  border-left: 3px solid var(--cyan);
}

.webInput,
.supportForm textarea {
  border-radius: 8px;
  border-color: var(--line);
  background: #071012;
}

.sheetOverlay {
  z-index: 50;
}

.devicesSheet {
  border-radius: 8px 8px 0 0;
  border-color: var(--line);
  background: #081012;
}

.tabbar {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(calc(100% - 24px), 640px);
  bottom: max(10px, env(safe-area-inset-bottom));
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 12, 13, 0.94);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(18px);
}

.tab {
  min-height: 58px;
  border-radius: 6px;
}

.tab.active {
  background: rgba(57, 217, 229, 0.11);
  color: var(--cyan);
}

.tab.active::before {
  background: var(--cyan);
}

.statusToast {
  border-radius: 8px;
  border-color: var(--line);
  background: #0a1416;
}

@media (min-width: 860px) {
  #screen-subscriptions.active {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    align-items: start;
    gap: 0 16px;
  }

  #screen-subscriptions .dashboardIntro,
  #screen-subscriptions .installAppCard {
    grid-column: 1 / -1;
  }

  #screen-subscriptions #activeSubscriptionCard,
  #screen-subscriptions .emptyAccountCard,
  #screen-subscriptions .webLinkCard {
    grid-column: 1;
  }

  #screen-subscriptions .quickPurchase,
  #screen-subscriptions .utilityActions,
  #screen-subscriptions .referralPromo,
  #screen-subscriptions .legalLinks {
    grid-column: 2;
  }

  #screen-profile.active {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    align-items: start;
    gap: 16px;
  }

  #screen-profile .brandCard {
    grid-row: span 2;
    position: sticky;
    top: 90px;
  }

  #screen-referrals.active {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
    align-items: start;
    gap: 0 16px;
  }

  #screen-referrals .referralPageHero {
    grid-column: 1 / -1;
  }

  #screen-referrals .referralCard {
    grid-column: 1;
  }

  #screen-referrals .referralHow {
    grid-column: 2;
  }

  .plansGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 859px) {
  .app {
    padding: 10px 14px 112px;
  }

  .dashboardHeader {
    top: 6px;
    min-height: 58px;
    margin-bottom: 12px;
  }

  .dashboardIntro {
    min-height: 134px;
    padding: 22px 18px;
  }

  .dashboardIntro h1 {
    font-size: 32px;
  }

  .dashboardSignal {
    width: 108px;
    height: 78px;
    padding-right: 42px;
  }

  .dashboardSignal .uiIcon {
    right: 2px;
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 520px) {
  .secureState {
    font-size: 0;
  }

  .dashboardIntro {
    min-height: 0;
  }

  .dashboardSignal {
    display: none;
  }

  .subscriptionCard,
  .setupCard,
  .infoCard,
  .emptyAccountCard {
    padding: 18px;
  }

  .subscriptionMetrics {
    grid-template-columns: 1fr 1fr;
    row-gap: 16px;
  }

  .subscriptionMetrics > div {
    padding: 0 12px;
  }

  .subscriptionMetrics > div:nth-child(2) {
    padding-right: 0;
    border-right: 0;
  }

  .subscriptionMetrics > div:nth-child(3) {
    grid-column: 1 / -1;
    padding: 14px 0 0;
    border-top: 1px solid var(--line);
    border-right: 0;
  }

  .subscriptionMetrics strong {
    font-size: 18px;
  }

  .referralHead {
    align-items: flex-start;
  }

  .referralActions,
  .profileActions {
    grid-template-columns: 1fr;
  }

  .referralStats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .referralPageHero {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    padding: 20px 18px;
  }

  .referralHeroIcon {
    width: 48px;
    height: 48px;
  }

  .referralPageHero h1 {
    font-size: 28px;
  }

  .referralHeroRate {
    grid-column: 1 / -1;
    grid-template-columns: auto auto;
    justify-content: center;
    align-items: baseline;
  }

  .referralMotionTrack {
    margin-top: 0;
  }

  .tabbar {
    padding-inline: 5px;
  }

  .tab b {
    font-size: 11px;
  }
}

@media (max-width: 360px) {
  .dashboardBrand small {
    display: none;
  }

  .dashboardIntro h1 {
    font-size: 27px;
  }

  .subscriptionActions {
    grid-template-columns: 1fr;
  }
}

@keyframes signalRise {
  from {
    opacity: 0.55;
    transform: scaleY(0.78);
  }
  to {
    opacity: 1;
    transform: scaleY(1);
  }
}

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

@keyframes referralNode {
  0%,
  100% {
    border-color: rgba(57, 217, 229, 0.32);
    box-shadow: none;
  }
  50% {
    border-color: var(--cyan);
    box-shadow: 0 0 12px rgba(57, 217, 229, 0.7);
  }
}

@keyframes referralFactFlow {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(70px);
  }
}

@keyframes referralLine {
  0%,
  100% {
    transform: scaleX(0.15);
    opacity: 0.3;
  }
  50% {
    transform: scaleX(1);
    opacity: 0.9;
  }
}

@keyframes referralFlow {
  from {
    left: -30%;
  }
  to {
    left: 102%;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  .dashboardSignal span,
  .referralPromoFlow i,
  .referralPromoFacts > i::after,
  .referralPageHero::after,
  .referralMotionTrack > i::after {
    animation: none;
  }
}
