#club91-invite-root {
  position: fixed;
  inset: 0;
  z-index: 99988;
  display: none;
  flex-direction: column;
  background: #f1f1f1;
  color: #0b2320;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

#club91-invite-root.is-open {
  display: flex;
}

.c91-inv-header {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  min-height: 60px;
  padding: 0 8px;
  background: #fff;
  border-bottom: 1px solid rgba(20, 40, 36, 0.06);
}

.c91-inv-back {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #0a2a25;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.c91-inv-title {
  margin: 0;
  text-align: center;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: 0;
}

.c91-inv-head-spacer {
  display: block;
}

.c91-inv-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px 16px 28px;
}

.c91-inv-hero {
  position: relative;
  overflow: hidden;
  min-height: 170px;
  border-radius: 10px;
  padding: 20px 18px;
  margin-bottom: 12px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 10%, rgba(255, 255, 255, 0.22), transparent 34%),
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.16), transparent 42%),
    linear-gradient(135deg, #20df8c 0%, #05d47b 46%, #05c987 100%);
}

.c91-inv-hero-kicker {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 13px;
  font-weight: 700;
}

.c91-inv-hero-title {
  max-width: 290px;
  margin-top: 14px;
  font-size: 25px;
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: 0;
}

.c91-inv-hero-copy {
  max-width: 330px;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.35;
  opacity: 0.92;
}

.c91-inv-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.c91-inv-stats div {
  min-height: 64px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.c91-inv-stats strong,
.c91-inv-stats span {
  display: block;
}

.c91-inv-stats strong {
  font-size: 24px;
  line-height: 1;
}

.c91-inv-stats span {
  margin-top: 6px;
  font-size: 12px;
  opacity: 0.9;
}

.c91-inv-card {
  margin-bottom: 12px;
  padding: 18px 20px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(16, 185, 129, 0.08);
}

.c91-inv-label {
  margin-bottom: 10px;
  color: #55746e;
  font-size: 15px;
  font-weight: 500;
}

.c91-inv-code {
  min-height: 46px;
  display: flex;
  align-items: center;
  flex: 1;
  padding: 0 16px;
  border-radius: 999px;
  background: #eef7f3;
  color: #09231f;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1px;
  word-break: break-all;
}

.c91-inv-link {
  flex: 1;
  padding: 13px 16px;
  border-radius: 14px;
  background: #eef7f3;
  color: #55746e;
  font-size: 13px;
  line-height: 1.45;
  word-break: break-all;
}

.c91-inv-copy-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.c91-inv-copy-row.link-row {
  align-items: center;
}

.c91-inv-copy-btn {
  flex: 0 0 82px;
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  background: #10d884;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(16, 216, 132, 0.18);
}

.c91-inv-copy-btn.is-copied {
  background: #0ab870;
}

.c91-inv-btn {
  width: 100%;
  min-height: 52px;
  margin-top: 16px;
  border: 0;
  border-radius: 999px;
  background: #10d884;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(16, 216, 132, 0.18);
}

.c91-inv-btn.secondary {
  background: #fff;
  color: #10b978;
  border: 1px solid rgba(16, 216, 132, 0.32);
  box-shadow: none;
}

.c91-inv-tip {
  margin: 12px 0 0;
  color: #55746e;
  font-size: 13px;
  line-height: 1.5;
}

.c91-inv-msg {
  margin-bottom: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  background: #e7fbf2;
  color: #087848;
  font-size: 14px;
  font-weight: 600;
}

.c91-inv-msg.err {
  background: #fff0f0;
  color: #d33a3a;
}

@media (min-width: 540px) {
  .c91-inv-body {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
  }
}
