/* =====================
   Invite Page Layout
===================== */

.gp-main {
  min-height: calc(100vh - 120px); /* header + footer 分 */
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 24px 16px 80px;
}
body[data-page='invite'] .gp-main {
  padding-bottom: 140px;
}
/* =====================
   Central Invite Card
===================== */

.invite-description,
.invite-tabs,
.invite-link-card,
.invite-qr {
  margin: 0;
}

.invite-card {
  width: 100%;
  max-width: 420px;

  background: rgba(15, 25, 45, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border-radius: 20px;
  padding: 20px 18px 24px;

  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);

  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (min-width: 768px) {
  .invite-card {
    max-width: 560px;
    padding: 36px;
  }
}

@media (min-width: 1024px) {
  .invite-card {
    max-width: 680px;
    padding: 44px;
  }
}

@media (min-width: 1440px) {
  .invite-card {
    max-width: 760px;
  }
}
@media (min-width: 1024px) {
  .gp-main {
    padding-top: 80px;
  }
}

/* =====================
   Text
===================== */

.invite-description {
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

/* =====================
   Tabs
===================== */

.invite-tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.invite-tab {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #fff;
  font-size: 13px;
  cursor: pointer;
}

.invite-tab.active {
  background: linear-gradient(135deg, #00ffd5, #4af0ff);
  color: #000;
  border: none;
}

/* =====================
   Link Card
===================== */

.invite-link-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px;
}

.invite-link {
  word-break: break-all;
  font-size: 13px;
  color: #fff;
}

.invite-hint {
  margin-top: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

/* =====================
   QR
===================== */

.invite-qr {
  display: flex;
  justify-content: center;
}

.invite-qr img {
  background: #fff;
  padding: 8px;
  border-radius: 12px;
}
/* =====================
   QR 拡大モーダル
===================== */
.qr-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
}

.qr-modal.hidden {
  display: none;
}

.qr-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
}

.qr-modal-content {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.qr-modal-content img {
  width: min(80vw, 320px);
  height: auto;
  background: #fff;
  padding: 16px;
  border-radius: 16px;
}

.qr-modal-hint {
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}
.gp-toast {
  position: fixed;
  top: 90px;
  left: 16px;
  right: 16px;
  background: linear-gradient(90deg, #1edc8c, #17c3b2);
  color: #0b1f16;
  padding: 14px 18px;
  border-radius: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.gp-toast.hidden {
  display: none;
}
@media (min-width: 1024px) {
  .invite-qr img {
    width: 180px;
    height: 180px;
  }
}
.invite-status-box {
  margin-top: 16px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  white-space: pre-line;
  font-size: 13px;
  line-height: 1.5;
  color: #fff;
}
.invite-status-box {
  margin-top: 16px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;

  white-space: pre-line;
  font-size: 13px;
  line-height: 1.6;
  color: #fff;

  text-align: center; /* ← これ追加 */
}
