.search-card,
.register-card,
.state-card {
  padding: 24px;
}

.search-card {
  display: grid;
  gap: 18px;
}

.search-card label,
.register-card label {
  display: grid;
  gap: 8px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 600;
}

.register-card {
  display: grid;
  gap: 14px;
}

.register-card label span {
  color: var(--soft);
  font-weight: 400;
}

.phone-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}

.privacy-note {
  margin: -6px 2px 0;
  color: var(--soft);
  font-size: 12px;
  line-height: 1.45;
}

input {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(0, 0, 0, .24);
  color: var(--text);
  outline: 0;
  padding: 0 16px;
}

input:focus {
  border-color: rgba(var(--accent-rgb), .72);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .14);
}

.check-row {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 10px !important;
  line-height: 1.45;
}

.check-row input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--accent);
}

.member-layout {
  display: grid;
  gap: 20px;
  padding-bottom: 18px;
}

.success-strip {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
}

.success-strip strong {
  font-family: "Bai Jamjuree", sans-serif;
  font-size: 16px;
}

.success-strip span {
  color: var(--muted);
  font-size: 13px;
}

.hello {
  padding: 10px 4px 2px;
  text-shadow:
    0 2px 18px rgba(0, 0, 0, .62),
    0 1px 3px rgba(0, 0, 0, .72);
}

.hello h1 {
  font-size: 34px;
  margin-bottom: 8px;
  text-shadow:
    0 3px 24px rgba(0, 0, 0, .66),
    0 1px 3px rgba(0, 0, 0, .72);
}

.member-card {
  min-height: 462px;
  padding: 28px;
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.member-card-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  flex: 1 1 auto;
}

.tier-emblem {
  width: 138px;
  height: 138px;
  object-fit: contain;
  flex: 0 0 auto;
  margin: -12px -18px 0 0;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, .34));
  opacity: .98;
}

.tier-card-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 20px 0 10px;
  padding: 0 13px;
  border: 1px solid rgba(var(--accent-rgb), .32);
  border-radius: 999px;
  background: rgba(var(--accent-rgb), .12);
  color: var(--text);
  font-family: "Bai Jamjuree", sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.tier-label {
  margin: 0 0 6px;
  color: var(--accent);
  font-family: "Bai Jamjuree", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.member-name {
  font-family: "Bai Jamjuree", sans-serif;
  font-size: 40px;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .36);
}

.member-phone {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.point-hero {
  margin-top: 50px;
}

.point-value {
  display: block;
  font-family: "Bai Jamjuree", sans-serif;
  font-size: 84px;
  font-weight: 700;
  line-height: .86;
  letter-spacing: 0;
}

.point-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.benefit-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-top: 34px;
  padding: 0 14px;
  border: 1px solid rgba(var(--accent-rgb), .36);
  border-radius: 999px;
  background: rgba(var(--accent-rgb), .12);
  color: var(--text);
  font-weight: 700;
}

.mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.mini-widget,
.journey-widget,
.benefits-widget {
  padding: 22px;
}

.mini-widget span,
.journey-widget span {
  display: block;
  color: var(--soft);
  font-size: 12px;
}

.mini-widget strong {
  display: block;
  margin-top: 4px;
  font-family: "Bai Jamjuree", sans-serif;
  font-size: 24px;
}

.journey-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.journey-mark {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.journey-mark img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 9px 16px rgba(0, 0, 0, .28));
}

.journey-head h2 {
  margin: 0;
  font-size: 22px;
}

.progress-bar {
  position: relative;
  height: 12px;
  margin-top: 24px;
  overflow: hidden;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .05)),
    rgba(255, 255, 255, .1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .08),
    0 10px 24px rgba(0, 0, 0, .16);
}

.progress-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent calc(12.5% - 1px),
    rgba(255, 255, 255, .24) calc(12.5% - 1px),
    rgba(255, 255, 255, .24) 12.5%
  );
  mix-blend-mode: screen;
  opacity: .62;
}

.progress-bar span {
  position: relative;
  z-index: 1;
  display: block;
  height: 100%;
  width: var(--progress);
  border-radius: inherit;
  background:
    linear-gradient(90deg, var(--brand-red), var(--accent)),
    linear-gradient(180deg, rgba(255, 255, 255, .22), transparent);
  box-shadow: 0 0 18px rgba(var(--accent-rgb), .28);
}

.benefits-list {
  display: grid;
  gap: 16px;
}

.benefit-row {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: center;
}

.benefit-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(var(--accent-rgb), .18);
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(var(--accent-rgb), .16), transparent 60%),
    rgba(255, 255, 255, .04);
}

.benefit-icon img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .2));
}

@media (max-width: 390px) {
  .tier-emblem {
    width: 124px;
    height: 124px;
    margin-right: -22px;
  }

  .member-card {
    min-height: 446px;
  }
}

.benefit-row strong {
  display: block;
}

.benefit-row span {
  color: var(--muted);
  font-size: 13px;
}

.button-stack {
  display: grid;
  gap: 10px;
}

.form-error {
  margin: 4px 0 0;
  color: #ff9b9b;
  font-size: 13px;
  font-weight: 600;
}

.state-card {
  margin-top: 34px;
  text-align: center;
}

.state-icon {
  width: 86px;
  aspect-ratio: 338 / 202;
  height: auto;
  object-fit: contain;
  margin-bottom: 18px;
}

.loading-card {
  margin-top: 96px;
}

.loading-icon {
  width: 76px;
  height: 76px;
  object-fit: contain;
  margin-bottom: 18px;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .32));
}

.loading-bar {
  height: 8px;
  margin-top: 22px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .11);
}

.loading-bar span {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-red), var(--accent));
  animation: loadingSweep 1.15s ease-in-out infinite;
}

.loading-actions {
  margin-top: 22px;
}

@media (max-width: 374px) {
  .phone-row {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 33px;
  }

  .point-value {
    font-size: 72px;
  }
}
