#fr-promo-card.fr-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 0 0 20px;
  padding: 22px 26px;
  border-radius: 14px;
  background: linear-gradient(120deg, #1f1559 0%, #4f3bf0 58%, #9a7bff 100%);
  color: #fff;
  box-shadow: 0 16px 42px rgba(79, 59, 240, 0.22);
  font-family: inherit;
}
#fr-promo-card .fr-copy { min-width: 0; }
#fr-promo-card .fr-badge {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.32);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
#fr-promo-card .fr-title {
  margin: 10px 0 6px;
  font-size: 26px;
  line-height: 1.25;
  color: #fff;
  font-weight: 700;
}
#fr-promo-card .fr-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.84);
  max-width: 640px;
}
#fr-promo-card .fr-msg {
  margin: 8px 0 0;
  font-size: 12px;
  color: #ffe09a;
  min-height: 0;
}
#fr-promo-card .fr-cta {
  flex: none;
  border: 0;
  border-radius: 999px;
  background: #ffd166;
  color: #24175e;
  height: 44px;
  padding: 0 22px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}
#fr-promo-card .fr-cta:hover { background: #ffe09a; }
#fr-promo-card .fr-cta:disabled { opacity: 0.65; cursor: default; }
#fr-promo-card.claimed { background: linear-gradient(120deg, #3d3d46 0%, #5b5b66 100%); box-shadow: none; }
@media (max-width: 760px) {
  #fr-promo-card.fr-card { flex-direction: column; align-items: flex-start; padding: 20px; }
  #fr-promo-card .fr-title { font-size: 22px; }
  #fr-promo-card .fr-cta { width: 100%; }
}
.fr-modal-mask {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 15, 25, 0.62);
  padding: 20px;
}
.fr-modal {
  width: min(420px, 100%);
  background: #fff;
  color: #1f2430;
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  text-align: center;
  font-family: inherit;
}
.fr-modal-title { margin: 0 0 8px; font-size: 20px; font-weight: 700; }
.fr-modal-sub { margin: 0 0 18px; font-size: 13px; line-height: 1.7; color: #6b7280; }
.fr-modal .fr-qr { width: 220px; height: 220px; object-fit: contain; display: block; margin: 0 auto 16px; }
.fr-modal .fr-pay-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  background: #1677ff;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 14px;
}
.fr-modal .fr-modal-status { font-size: 13px; color: #6b7280; margin: 8px 0 16px; }
.fr-modal .fr-modal-status.ok { color: #15803d; font-weight: 600; }
.fr-modal .fr-modal-check {
  display: block;
  width: 100%;
  height: 42px;
  border: 1px solid #d8dce6;
  border-radius: 10px;
  background: #f8fafc;
  color: #1f2430;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 10px;
}
.fr-modal .fr-modal-close {
  border: 0;
  background: none;
  color: #9aa1ad;
  font-size: 13px;
  cursor: pointer;
}
@media (prefers-color-scheme: dark) {
  .fr-modal { background: #1b1e27; color: #eef1f7; }
  .fr-modal-sub, .fr-modal .fr-modal-status { color: #a9b0bd; }
  .fr-modal .fr-modal-check { background: #252a36; border-color: #343a48; color: #eef1f7; }
}

#fr-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 6px 16px;
  background: linear-gradient(90deg, #4f3bf0, #7c5cff);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  font-family: inherit;
}
#fr-topbar a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  text-decoration: none;
  padding: 2px 12px;
  border-radius: 999px;
  line-height: 26px;
  background: rgba(255, 255, 255, 0.14);
}
#fr-topbar a:hover { background: rgba(255, 255, 255, 0.24); }
@media (max-width: 640px) {
  #fr-topbar { font-size: 12px; padding: 6px 10px; }
}
