.guest-access-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  width: 100%;
  min-height: 10rem;
  padding: 1.15rem;
  border: 1px solid color-mix(in srgb, var(--color-primary, #8b5cf6) 38%, transparent);
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at 100% 0%, rgb(139 92 246 / 0.17), transparent 42%),
    linear-gradient(145deg, rgb(13 17 32 / 0.96), rgb(21 25 44 / 0.9));
  box-shadow: 0 18px 52px rgb(3 7 18 / 0.26);
  color: #f8fafc;
}

.guest-access-card-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgb(167 139 250 / 0.44);
  border-radius: 1rem;
  background: rgb(124 58 237 / 0.2);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.12);
  font-size: 1.3rem;
}

.guest-access-card > div {
  display: grid;
  gap: 0.42rem;
  min-width: 0;
}

.guest-access-card small {
  color: #c4b5fd;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.guest-access-card strong {
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.25;
}

.guest-access-card p {
  max-width: 58rem;
  margin: 0;
  color: #cbd5e1;
  line-height: 1.55;
}

.guest-access-login {
  justify-self: start;
  min-height: 2.65rem;
  margin-top: 0.45rem;
  border: 1px solid rgb(196 181 253 / 0.46);
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  color: #fff;
  box-shadow: 0 10px 28px rgb(79 70 229 / 0.28);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.guest-access-login:hover,
.guest-access-login:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgb(79 70 229 / 0.38);
  filter: brightness(1.08);
}

.guest-mode .replay-access-button.guest-locked,
.guest-mode .shop-chest-open.is-guest-locked,
.guest-mode .live-pass-chest-open.is-guest-locked {
  cursor: not-allowed;
  border-color: rgb(148 163 184 / 0.28);
  background: rgb(51 65 85 / 0.62);
  color: #cbd5e1;
  box-shadow: none;
  opacity: 0.78;
}

.guest-mode .auth-message.warning {
  border-color: rgb(245 158 11 / 0.36);
  background: rgb(120 53 15 / 0.16);
  color: #fde68a;
}

@media (max-width: 760px) {
  .guest-access-card {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    min-height: 0;
    padding: 1rem;
    border-radius: 1rem;
  }

  .guest-access-card-icon {
    width: 2.65rem;
    height: 2.65rem;
    border-radius: 0.85rem;
  }

  .guest-access-login {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .guest-access-login {
    transition: none;
  }
}
