@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/font/inter-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/font/inter-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
:root {
  --bs-body-font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --brand: #01a555;
  --brand-rgb: 1, 165, 85;
  --brand-hover: #01914b;
  --brand-active: #017f42;
  --brand-strong: #018747;
  --brand-dark: #007a3d;
  --brand-deep: #005e2f;
  --brand-night: #003d1f;
  --brand-soft: #e8f6ee;
  --brand-ring: rgba(1, 165, 85, 0.2);
  --brand-band:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.14), transparent 42%),
    radial-gradient(circle at 100% 100%, rgba(1, 165, 85, 0.35), transparent 55%),
    linear-gradient(155deg, #003d1f 0%, #005e2f 52%, #018747 100%);
}
.portal-body,
.auth-body,
.admin-body,
.scan-body {
  --bs-primary: #01a555;
  --bs-primary-rgb: 1, 165, 85;
  --bs-link-color: #007a3d;
  --bs-link-color-rgb: 0, 122, 61;
  --bs-link-hover-color: #005e2f;
  --bs-link-hover-color-rgb: 0, 94, 47;
  --bs-focus-ring-color: rgba(1, 165, 85, 0.25);
}
body {
  font-feature-settings: 'cv11';
}

.portal-body {
  --p-bg: #f6f6f5;
  --p-card: #fff;
  --p-border: #e7e7e4;
  --p-text: #18181b;
  --p-muted: #6b6b73;
  --p-soft: var(--brand-soft);
  --p-accent: var(--brand);
  --p-ink: var(--brand-deep);
  --p-gold: #f4b73b;
  --p-gold-soft: #fff5dc;
  --p-gold-ink: #6d4a06;
  --p-green: var(--brand);
  --p-green-soft: var(--brand-soft);
  --p-ring: var(--brand-ring);
  --p-hero: var(--brand-band);
  background: var(--p-bg);
  color: var(--p-text);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.portal-wrap {
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
  padding-inline: 1rem;
}
.portal-hero {
  position: relative;
  overflow: hidden;
  background: var(--p-hero);
  color: #fff;
  padding: max(0.9rem, env(safe-area-inset-top)) 0 3.75rem;
}
.portal-hero::after {
  content: '\f6fd';
  font-family: bootstrap-icons;
  position: absolute;
  top: 3rem;
  right: -1.5rem;
  font-size: 8.5rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.055);
  pointer-events: none;
}
.portal-hero.is-compact {
  padding-bottom: 3.5rem;
}
.portal-hero.is-compact::after {
  display: none;
}
.portal-topbar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.portal-topbar form {
  margin: 0;
}
.portal-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  color: #fff;
  text-decoration: none;
}
.portal-brand:hover {
  color: #fff;
}
.portal-mark {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 1.2rem;
}
.portal-mark img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.portal-brand-text {
  min-width: 0;
  line-height: 1.2;
}
.portal-inst,
.portal-event {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.portal-inst {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
}
.portal-event {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.hero-btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}
.hero-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.hero-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.portal-hero-text {
  position: relative;
  z-index: 1;
  margin-top: 1.6rem;
}
.portal-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.5rem;
  color: var(--p-gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.portal-title {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.portal-lead {
  margin: 0.5rem 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.journey {
  position: relative;
  z-index: 1;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 1.5rem 0 0;
  padding: 0;
}
.journey-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
}
.journey-step + .journey-step::before {
  content: '';
  position: absolute;
  top: 15px;
  left: calc(-50% + 22px);
  right: calc(50% + 22px);
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.25);
}
.journey-step.is-done + .journey-step::before {
  background: var(--p-gold);
}
.journey-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}
.journey-step.is-done,
.journey-step.is-now {
  font-weight: 700;
}
.journey-step.is-done .journey-dot {
  border-color: var(--p-gold);
  background: var(--p-gold);
  color: var(--brand-night);
}
.journey-step.is-now .journey-dot {
  border-color: #fff;
  background: #fff;
  color: var(--p-ink);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.22);
}

.portal-main {
  position: relative;
  z-index: 2;
  flex: 1 0 auto;
  margin-top: -2.5rem;
  padding-bottom: 1.5rem;
}
.portal-main > .portal-wrap {
  display: grid;
  gap: 1rem;
}
.portal-foot {
  padding: 0.5rem 0 max(1.75rem, env(safe-area-inset-bottom));
  color: var(--p-muted);
  font-size: 0.82rem;
  text-align: center;
}
.portal-foot .bi {
  margin-right: 0.3rem;
}

.p-card,
.portal-body .card {
  background: var(--p-card);
  border: 1px solid var(--p-border);
  border-radius: 20px;
  box-shadow:
    0 1px 2px rgba(16, 24, 40, 0.04),
    0 10px 28px rgba(16, 24, 40, 0.06);
}
.p-card {
  padding: 1.35rem;
}
.p-card-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.p-card-title .bi {
  color: var(--p-accent);
}
legend.p-card-title {
  float: none;
  width: auto;
  padding: 0;
  line-height: inherit;
}
.card-note {
  display: flex;
  gap: 0.5rem;
  margin: 1.1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--p-border);
  color: var(--p-muted);
  font-size: 0.86rem;
}
.card-note .bi {
  flex: none;
  line-height: 1.45;
}

.btn-portal,
.btn-pay,
.btn-soft {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.1rem;
  padding: 0.6rem 1.25rem;
  border-radius: 14px;
  font-weight: 700;
}
.btn-portal {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--p-accent);
  --bs-btn-border-color: var(--p-accent);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--brand-hover);
  --bs-btn-hover-border-color: var(--brand-hover);
  --bs-btn-focus-shadow-rgb: var(--brand-rgb);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--brand-active);
  --bs-btn-active-border-color: var(--brand-active);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--p-accent);
  --bs-btn-disabled-border-color: var(--p-accent);
  box-shadow: 0 6px 16px rgba(var(--brand-rgb), 0.28);
  font-size: 1.1875rem;
}
.btn-pay {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--p-green);
  --bs-btn-border-color: var(--p-green);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--brand-hover);
  --bs-btn-hover-border-color: var(--brand-hover);
  --bs-btn-focus-shadow-rgb: var(--brand-rgb);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--brand-active);
  --bs-btn-active-border-color: var(--brand-active);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--p-green);
  --bs-btn-disabled-border-color: var(--p-green);
  box-shadow: 0 6px 16px rgba(var(--brand-rgb), 0.28);
  font-size: 1.1875rem;
}
.btn-soft {
  --bs-btn-color: var(--p-ink);
  --bs-btn-bg: var(--p-soft);
  --bs-btn-border-color: #cdeedb;
  --bs-btn-hover-color: var(--p-ink);
  --bs-btn-hover-bg: #dcf2e5;
  --bs-btn-hover-border-color: #bfe6cf;
  --bs-btn-focus-shadow-rgb: var(--brand-rgb);
  --bs-btn-active-color: var(--p-ink);
  --bs-btn-active-bg: #d0eedb;
  --bs-btn-active-border-color: #b2e0c4;
  font-weight: 600;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--p-muted);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}
.back-link:hover {
  color: var(--p-text);
}

.notice {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border: 1px solid;
  border-radius: 16px;
  font-size: 0.92rem;
}
.notice > .bi {
  flex: none;
  font-size: 1.15rem;
  line-height: 1.3;
}
.notice b {
  display: block;
}
.notice a {
  color: inherit;
  font-weight: 700;
}
.notice-warn {
  background: #fdf4e3;
  border-color: #f0d9a8;
  color: var(--p-gold-ink);
}
.notice-bad {
  background: #fdecec;
  border-color: #f5c2c5;
  color: #9b1c25;
}

.cta-head {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}
.cta-icon {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--p-gold-soft);
  color: #b07800;
  font-size: 1.45rem;
}
.cta-icon.is-whatsapp {
  background: var(--p-green-soft);
  color: var(--brand-strong);
}
.cta-join {
  width: 100%;
  margin-top: 1.1rem;
}
.cta-title {
  margin: 0.1rem 0 0.2rem;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.cta-text {
  margin: 0;
  color: var(--p-muted);
}
.perks {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  margin: 1.1rem 0 1.25rem;
  padding: 0;
}
.perks li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
}
.perks .bi {
  flex: none;
  color: var(--p-green);
  line-height: 1.4;
}
.cta-pay {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem 1rem;
  padding-top: 1.1rem;
  border-top: 1px dashed #dcdcd7;
}
.cta-pay .btn {
  flex: 1 1 100%;
}
@media (min-width: 480px) {
  .cta-pay .btn {
    flex: 0 0 auto;
  }
}
.fee-label {
  display: block;
  color: var(--p-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.fee-value {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.info-list {
  list-style: none;
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
}
.info-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.info-icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--p-soft);
  color: var(--p-accent);
  font-size: 1.1rem;
}
.info-label,
.details dt {
  display: block;
  color: var(--p-muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.info-value {
  display: block;
  font-weight: 600;
}
.details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem 1rem;
  margin: 0;
}
.details .wide {
  grid-column: 1 / -1;
}
.details dt {
  margin-bottom: 0.15rem;
}
.details dd {
  margin: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.guest-options {
  position: relative;
  display: grid;
  gap: 0.65rem;
}
.guest-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.guest-option {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--p-border);
  border-radius: 16px;
  background: var(--p-card);
  cursor: pointer;
  transition:
    border-color 0.15s,
    background-color 0.15s,
    box-shadow 0.15s;
}
.guest-option:hover {
  border-color: #a6dcbd;
}
.guest-input:checked + .guest-option {
  border-color: var(--p-accent);
  background: #f1faf5;
  box-shadow: 0 0 0 3px var(--p-ring);
}
.guest-input:focus-visible + .guest-option {
  outline: 2px solid var(--p-accent);
  outline-offset: 2px;
}
.guest-people {
  flex: none;
  width: 64px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--p-soft);
  color: var(--p-ink);
  font-size: 1.25rem;
  transition:
    background-color 0.15s,
    color 0.15s;
}
.guest-people .bi + .bi {
  margin-left: -0.4rem;
}
.guest-input:checked + .guest-option .guest-people {
  background: var(--p-accent);
  color: #fff;
}
.guest-text {
  flex: 1;
  min-width: 0;
}
.guest-title {
  display: block;
  font-weight: 700;
}
.guest-sub {
  display: block;
  color: var(--p-muted);
  font-size: 0.85rem;
}
.guest-radio {
  flex: none;
  width: 22px;
  height: 22px;
  border: 2px solid #c9c9c4;
  border-radius: 50%;
}
.guest-input:checked + .guest-option .guest-radio {
  border-color: var(--p-accent);
  background: var(--p-accent);
  box-shadow: inset 0 0 0 4px #fff;
}
.form-hint {
  margin: 0.65rem 0 0;
  color: var(--p-muted);
  font-size: 0.86rem;
}
.pay-summary {
  margin: 1.25rem 0 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid #bfe6cf;
  border-radius: 16px;
  background: var(--p-green-soft);
}
.pay-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.pay-row span {
  font-weight: 600;
}
.pay-row strong {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.pay-note {
  margin: 0.35rem 0 0;
  color: #2f5e44;
  font-size: 0.82rem;
}
.secure-note,
.pass-mail {
  margin: 0.75rem 0 0;
  color: var(--p-muted);
  font-size: 0.85rem;
  text-align: center;
  overflow-wrap: anywhere;
}
.secure-note .bi,
.pass-mail .bi {
  margin-right: 0.35rem;
}

.pass-buttons {
  display: grid;
  gap: 0.6rem;
  width: 100%;
  max-width: 400px;
  margin-inline: auto;
}
.pass-mail {
  margin: 0;
}
.day-steps {
  list-style: none;
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
}
.day-steps li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.day-steps b {
  display: block;
  font-weight: 700;
}
.day-steps li > div > span {
  display: block;
  color: var(--p-muted);
  font-size: 0.88rem;
}
.day-icon {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.15rem;
}
.day-icon.is-attendance {
  background: var(--brand);
}
.day-icon.is-robe {
  background: #6f42c1;
}
.day-icon.is-food {
  background: #fd7e14;
}
.day-icon.is-return {
  background: #fff;
  border: 2px solid #6f42c1;
  color: #6f42c1;
}
.tip {
  display: flex;
  gap: 0.55rem;
  margin: 1rem 0 0;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: var(--p-gold-soft);
  color: var(--p-gold-ink);
  font-size: 0.88rem;
}
.tip .bi {
  flex: none;
  line-height: 1.45;
}
.qr-full {
  position: fixed;
  inset: 0;
  z-index: 1050;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: max(1rem, env(safe-area-inset-top)) 1.25rem max(1.25rem, env(safe-area-inset-bottom));
  background: #fff;
  color: var(--p-text);
  text-align: center;
}
.qr-full:target {
  display: flex;
}
.qr-full-code {
  width: min(86vw, 62vh, 460px);
}
.qr-full-code svg {
  display: block;
  width: 100%;
  height: auto;
}
.qr-full-token {
  font-family: var(--bs-font-monospace);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.qr-full-name {
  font-size: 1.1rem;
  font-weight: 700;
}
.qr-full-hint {
  margin: 0;
  color: var(--p-muted);
  font-size: 0.9rem;
}

.result-card {
  position: relative;
  overflow: hidden;
  padding: 2.25rem 1.35rem 1.6rem;
  text-align: center;
}
.result-badge {
  position: relative;
  width: 76px;
  height: 76px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2.1rem;
}
.result-badge.tone-good {
  background: var(--p-green-soft);
  color: var(--p-green);
}
.result-badge.tone-bad {
  background: #fdecec;
  color: #c0392b;
}
.result-badge.tone-warn {
  background: #fdf4e3;
  color: #b07800;
}
.result-badge.tone-muted {
  background: #f0f0ee;
  color: var(--p-muted);
}
.result-badge.tone-good::after {
  content: '';
  position: absolute;
  inset: -8px;
  border: 2px solid rgba(var(--brand-rgb), 0.35);
  border-radius: 50%;
  animation: badge-ring 1.2s ease-out 2;
  opacity: 0;
}
@keyframes badge-ring {
  from {
    transform: scale(0.85);
    opacity: 1;
  }
  to {
    transform: scale(1.35);
    opacity: 0;
  }
}
.result-title {
  margin: 0 0 0.4rem;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.result-text {
  max-width: 30rem;
  margin: 0 auto 1.4rem;
  color: var(--p-muted);
}
.result-next {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: 1rem 0 0;
  color: var(--p-muted);
  font-size: 0.86rem;
}
.confetti {
  position: absolute;
  inset: 0 0 auto;
  height: 100%;
  pointer-events: none;
}
.confetti i {
  position: absolute;
  top: -12px;
  width: 8px;
  height: 14px;
  border-radius: 2px;
  opacity: 0;
  animation: confetti-fall 1.9s cubic-bezier(0.25, 0.7, 0.4, 1) forwards;
}
.confetti i:nth-child(4n + 1) {
  background: var(--p-gold);
}
.confetti i:nth-child(4n + 2) {
  background: var(--p-accent);
}
.confetti i:nth-child(4n + 3) {
  background: #ff922b;
}
.confetti i:nth-child(4n + 4) {
  background: #f06595;
}
.confetti i:nth-child(1) {
  left: 6%;
  animation-delay: 0.05s;
}
.confetti i:nth-child(2) {
  left: 16%;
  animation-delay: 0.3s;
}
.confetti i:nth-child(3) {
  left: 25%;
  animation-delay: 0.12s;
}
.confetti i:nth-child(4) {
  left: 35%;
  animation-delay: 0.42s;
}
.confetti i:nth-child(5) {
  left: 44%;
  animation-delay: 0.2s;
}
.confetti i:nth-child(6) {
  left: 53%;
  animation-delay: 0s;
}
.confetti i:nth-child(7) {
  left: 62%;
  animation-delay: 0.36s;
}
.confetti i:nth-child(8) {
  left: 71%;
  animation-delay: 0.1s;
}
.confetti i:nth-child(9) {
  left: 80%;
  animation-delay: 0.28s;
}
.confetti i:nth-child(10) {
  left: 89%;
  animation-delay: 0.16s;
}
.confetti i:nth-child(11) {
  left: 95%;
  animation-delay: 0.48s;
}
.confetti i:nth-child(12) {
  left: 11%;
  animation-delay: 0.55s;
}
@keyframes confetti-fall {
  0% {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translateY(260px) rotate(540deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .confetti {
    display: none;
  }
  .result-badge.tone-good::after {
    animation: none;
  }
  .guest-option,
  .guest-people {
    transition: none;
  }
}
@media (min-width: 768px) {
  .portal-wrap {
    max-width: 600px;
  }
  .portal-hero {
    padding-top: 1.25rem;
    padding-bottom: 4.5rem;
  }
  .portal-hero-text {
    margin-top: 2.25rem;
  }
  .portal-title {
    font-size: 2.15rem;
  }
  .portal-main {
    margin-top: -3rem;
  }
  .p-card {
    padding: 1.75rem;
  }
}

.pass-actions {
  max-width: 400px;
}
.pass-card {
  width: 100%;
  max-width: 400px;
  background: #fff;
  color: #18181b;
  border-radius: 22px;
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(16, 24, 40, 0.05),
    0 18px 40px rgba(0, 61, 31, 0.16);
}
.pass-head {
  background:
    radial-gradient(circle at 100% 0%, rgba(1, 165, 85, 0.45), transparent 55%),
    linear-gradient(155deg, #003d1f 0%, #005e2f 60%, #018747 100%);
  color: #fff;
  text-align: center;
  padding: 1.25rem 1rem 1.35rem;
}
.pass-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: #f4b73b;
  color: #3d2a00;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.pass-inst {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
}
.pass-event {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.pass-when {
  margin-top: 0.15rem;
  font-size: 0.85rem;
  opacity: 0.85;
}
.pass-perf {
  position: relative;
  height: 22px;
  margin-inline: 18px;
  background: linear-gradient(to right, #d9d9d4 50%, transparent 0) center / 12px 2px repeat-x;
}
.portal-body .pass-perf::before,
.portal-body .pass-perf::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--p-bg);
  transform: translateY(-50%);
}
.portal-body .pass-perf::before {
  left: -29px;
}
.portal-body .pass-perf::after {
  right: -29px;
}
.pass-body {
  text-align: center;
  padding: 0.6rem 1.25rem 1.4rem;
}
.pass-qr {
  max-width: 250px;
  margin: 0 auto 0.4rem;
  padding: 0.4rem;
  border: 1px solid #ececea;
  border-radius: 14px;
  background: #fff;
}
.pass-qr svg {
  display: block;
  width: 100%;
  height: auto;
}
.pass-token {
  color: #3f3f46;
  font-family: var(--bs-font-monospace);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.pass-name {
  margin-top: 0.9rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.pass-meta {
  color: #52525b;
  font-size: 0.95rem;
}
.pass-addons {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.8rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 0.9rem;
  font-weight: 600;
}

.station-attendance {
  background: var(--brand-strong);
}
.station-food {
  background: #fd7e14;
}
.station-robe {
  background: #6f42c1;
}

.scan-body {
  background: #000;
  color: #fff;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.scan-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  padding-top: max(0.5rem, env(safe-area-inset-top));
}
.scan-title {
  font-size: 1.2rem;
  font-weight: 700;
  white-space: nowrap;
}
.scan-counts {
  display: flex;
  gap: 0.75rem;
  font-size: 0.9rem;
}
.scan-counts b {
  font-size: 1.15rem;
}
.scan-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  background: #000;
  overflow: hidden;
}
.scan-stage video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.scan-stage.busy::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #fff;
  animation: scan-busy 0.6s linear infinite;
}
@keyframes scan-busy {
  from {
    opacity: 1;
  }
  to {
    opacity: 0.2;
  }
}
.scan-hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.75rem;
  text-align: center;
  font-size: 0.95rem;
  text-shadow: 0 1px 3px #000;
  pointer-events: none;
}
.scan-result {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  z-index: 5;
}
.scan-result.tone-ok {
  background: rgba(1, 135, 71, 0.95);
}
.scan-result.tone-info {
  background: rgba(0, 94, 47, 0.96);
}
.scan-result.tone-warn {
  background: rgba(255, 193, 7, 0.97);
  color: #111;
}
.scan-result.tone-bad {
  background: rgba(220, 53, 69, 0.96);
}
.scan-result-icon {
  font-size: 4.5rem;
  line-height: 1;
}
.scan-result-title {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-top: 0.5rem;
}
.scan-result-name {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 0.25rem;
}
.scan-result-meta {
  font-size: 1rem;
  opacity: 0.9;
}
.scan-result-note {
  margin-top: 0.5rem;
  font-size: 1rem;
}
.scan-footer {
  background: #111;
  padding: 0.75rem;
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
}
.scan-tools {
  display: flex;
  gap: 0.5rem;
  margin: 0.5rem 0;
  flex-wrap: wrap;
}
.scan-recent {
  font-size: 0.8rem;
  max-height: 7.5rem;
  overflow: hidden;
}
.scan-recent li {
  padding: 0.1rem 0;
  border-left: 4px solid #6c757d;
  padding-left: 0.4rem;
  margin-bottom: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.scan-recent li.tone-ok {
  border-color: var(--brand);
}
.scan-recent li.tone-info {
  border-color: #8fdcb4;
}
.scan-recent li.tone-warn {
  border-color: #ffc107;
}
.scan-recent li.tone-bad {
  border-color: #dc3545;
}

.scan-body[data-station='attendance'] {
  --station: var(--brand-strong);
}
.scan-body[data-station='food'] {
  --station: #fd7e14;
}
.scan-body[data-station='robe'] {
  --station: #6f42c1;
}
.scan-confirm {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0, 0, 0, 0.62);
}
.confirm-card {
  width: 100%;
  max-width: 480px;
  max-height: 100%;
  overflow-y: auto;
  background: #fff;
  color: #18181b;
  border-radius: 20px 20px 0 0;
  border-top: 5px solid var(--station);
  padding: 1.25rem 1.25rem max(1.25rem, env(safe-area-inset-bottom));
  animation: confirm-in 0.16s ease-out;
}
@keyframes confirm-in {
  from {
    transform: translateY(24px);
    opacity: 0;
  }
}
@media (min-width: 576px) {
  .scan-confirm {
    align-items: center;
    padding: 1rem;
  }
  .confirm-card {
    border-radius: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .confirm-card {
    animation: none;
  }
}
.confirm-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b6b73;
}
.confirm-name {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 0.3rem;
  overflow-wrap: anywhere;
}
.confirm-reg {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #3f3f46;
  margin-top: 0.15rem;
}
.confirm-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1rem;
  margin: 1.1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid #e7e7e4;
}
.confirm-details [data-detail='programme'] {
  grid-column: 1 / -1;
}
.confirm-details dt {
  font-size: 0.75rem;
  font-weight: 500;
  color: #6b6b73;
}
.confirm-details dd {
  margin: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.confirm-error {
  margin-top: 0.9rem;
  color: #b4232c;
  font-weight: 600;
}
.confirm-error:empty {
  display: none;
}
.confirm-actions {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0.6rem;
  margin-top: 1.25rem;
}
.confirm-actions .btn {
  min-height: 3.5rem;
  border-radius: 14px;
  font-weight: 600;
}
.confirm-yes {
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
  --bs-btn-active-color: #fff;
  --bs-btn-disabled-color: #fff;
  --bs-btn-bg: var(--station);
  --bs-btn-border-color: var(--station);
  --bs-btn-hover-bg: var(--station);
  --bs-btn-hover-border-color: var(--station);
  --bs-btn-active-bg: var(--station);
  --bs-btn-active-border-color: var(--station);
  --bs-btn-disabled-bg: var(--station);
  --bs-btn-disabled-border-color: var(--station);
}
.confirm-yes:hover {
  filter: brightness(1.08);
}
.scan-body .dropdown-menu {
  --bs-dropdown-link-active-bg: var(--brand-strong);
}
.scan-footer .form-control:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 0.25rem rgba(var(--brand-rgb), 0.35);
}

input.text-uppercase::placeholder {
  text-transform: none;
}

.auth-body {
  --auth-bg: #f6f6f5;
  --auth-card: #fff;
  --auth-border: #e7e7e4;
  --auth-input: #d4d4cf;
  --auth-text: #18181b;
  --auth-muted: #6b6b73;
  --auth-hover: #f3f3f1;
  --auth-soft: var(--brand-soft);
  --auth-accent: var(--brand);
  --auth-accent-text: var(--brand-dark);
  --auth-ring: var(--brand-ring);
  --auth-list-bg: var(--brand-soft);
  --auth-list-fg: var(--brand-deep);
  --auth-brand-bg: var(--brand-band);
  background: var(--auth-bg);
  color: var(--auth-text);
  min-height: 100vh;
}
.auth-shell {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.auth-brand {
  background: var(--auth-brand-bg);
  color: #fff;
  padding: max(1.5rem, env(safe-area-inset-top)) 1.25rem 3.75rem;
}
.auth-brand > *,
.auth-main > *,
.auth-points > * {
  max-width: 440px;
  margin-inline: auto;
}
.auth-brand-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.auth-brand-head > div {
  min-width: 0;
}
.auth-mark {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 1.45rem;
}
.auth-mark img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.auth-inst {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
}
.auth-event {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.auth-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}
.auth-chips span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.85rem;
  font-weight: 500;
}
.auth-main {
  flex: 1 0 auto;
  padding: 0 1rem;
  margin-top: -2.5rem;
}
.auth-card {
  background: var(--auth-card);
  border: 1px solid var(--auth-border);
  border-radius: 18px;
  box-shadow:
    0 12px 32px rgba(16, 24, 40, 0.1),
    0 2px 6px rgba(16, 24, 40, 0.05);
  padding: 1.75rem 1.35rem;
}
.auth-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.auth-card-head .auth-title {
  margin: 0;
}
.auth-progress {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.auth-progress span {
  flex: 1;
  height: 4px;
  border-radius: 99px;
  background: var(--auth-border);
}
.auth-progress span.on {
  background: var(--auth-accent);
}
.auth-body .btn-primary {
  --bs-btn-bg: var(--brand);
  --bs-btn-border-color: var(--brand);
  --bs-btn-hover-bg: var(--brand-hover);
  --bs-btn-hover-border-color: var(--brand-hover);
  --bs-btn-focus-shadow-rgb: var(--brand-rgb);
  --bs-btn-active-bg: var(--brand-active);
  --bs-btn-active-border-color: var(--brand-active);
  --bs-btn-disabled-bg: var(--brand);
  --bs-btn-disabled-border-color: var(--brand);
}
.auth-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--auth-accent-text, var(--auth-accent));
  margin-bottom: 0.4rem;
}
.auth-title {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}
.auth-lead {
  color: var(--auth-muted);
  margin-bottom: 1.35rem;
}
.auth-card .form-label {
  font-weight: 500;
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
}
.auth-card .form-control,
.auth-card .form-select {
  border-color: var(--auth-input);
  border-radius: 12px;
  background-color: var(--auth-card);
  color: var(--auth-text);
}
.auth-card .form-control-lg,
.auth-card .form-select-lg {
  min-height: 3.25rem;
  font-size: 1.1rem;
}
.auth-card .form-control:focus,
.auth-card .form-select:focus {
  border-color: var(--auth-accent);
  box-shadow: 0 0 0 4px var(--auth-ring);
}
.auth-card .form-control.is-invalid,
.auth-card .form-select.is-invalid {
  border-color: var(--bs-form-invalid-border-color);
}
.auth-card .form-control.is-invalid:focus,
.auth-card .form-select.is-invalid:focus {
  box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.16);
}
.auth-card .form-select:invalid {
  color: var(--auth-muted);
}
.auth-card .form-select option {
  color: var(--auth-text);
}
.auth-card .form-text {
  color: var(--auth-muted);
  margin-top: 0.5rem;
}
.auth-submit {
  margin-top: 1.35rem;
  min-height: 3.25rem;
  border-radius: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.input-icon {
  position: relative;
}
.input-icon > .bi {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--auth-muted);
  font-size: 1.1rem;
  pointer-events: none;
  z-index: 2;
}
.input-icon > .form-control,
.input-icon > .form-select {
  padding-left: 2.85rem;
}
.input-icon > .form-control.has-action {
  padding-right: 3.25rem;
}
.input-icon > .form-control.has-action.is-invalid {
  background-image: none;
}
.input-action {
  position: absolute;
  right: 0.4rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--auth-muted);
  font-size: 1.15rem;
  z-index: 2;
}
.input-action:hover {
  color: var(--auth-text);
  background: var(--auth-hover);
}
.input-action:focus-visible {
  outline: 2px solid var(--auth-accent);
  outline-offset: 1px;
}
.field-error {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.5rem;
  color: var(--bs-form-invalid-color);
  font-size: 0.88rem;
  font-weight: 500;
}
.field-error::before {
  content: '\f332';
  font-family: bootstrap-icons;
  line-height: 1.35;
}
.field-error:empty {
  display: none;
}
.caps-warning {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  color: #9a5a1c;
  font-size: 0.86rem;
  font-weight: 500;
}
.auth-alert {
  display: flex;
  gap: 0.6rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid;
  border-radius: 12px;
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
}
.auth-alert > .bi {
  flex: none;
  line-height: 1.4;
}
.auth-alert-bad {
  background: #fdecec;
  border-color: #f5c2c5;
  color: #9b1c25;
}
.auth-alert-warn {
  background: #fdf4e3;
  border-color: #f0d9a8;
  color: #7a5207;
}
.auth-alert-good {
  background: #e8f5ec;
  border-color: #b8dfc5;
  color: #1d6b3a;
}
.auth-dest {
  list-style: none;
  padding: 0;
  margin: -0.6rem 0 1.35rem;
  display: grid;
  gap: 0.4rem;
}
.auth-dest li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.8rem;
  border-radius: 10px;
  background: var(--auth-soft);
  font-weight: 500;
  overflow-wrap: anywhere;
}
.auth-dest .bi {
  color: var(--auth-accent);
}

.otp-field {
  position: relative;
}
.otp-input {
  letter-spacing: 0.5em;
  font-weight: 600;
  text-align: center;
}
.otp-slots {
  display: none;
}
.otp-field.is-enhanced .otp-slots {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 0.5rem;
}
.otp-field.is-enhanced .otp-input {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  color: transparent;
  -webkit-text-fill-color: transparent;
  caret-color: transparent;
  letter-spacing: 0;
}
.otp-field.is-enhanced .otp-input::selection {
  background: transparent;
}
.otp-slot {
  height: 3.5rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--auth-input);
  border-radius: 12px;
  background: var(--auth-card);
  font-size: 1.55rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.otp-slot.filled {
  border-color: var(--auth-muted);
}
.otp-slot.active {
  border-color: var(--auth-accent);
  box-shadow: 0 0 0 4px var(--auth-ring);
}
.otp-slot.active:empty::after {
  content: '';
  width: 2px;
  height: 1.5rem;
  background: var(--auth-text);
  animation: otp-caret 1.1s steps(1) infinite;
}
.otp-input.is-invalid ~ .otp-slots .otp-slot {
  border-color: var(--bs-form-invalid-border-color);
}
@keyframes otp-caret {
  50% {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .otp-slot.active:empty::after {
    animation: none;
  }
}
.otp-expiry {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  color: var(--auth-muted);
  font-size: 0.88rem;
  font-variant-numeric: tabular-nums;
}
.otp-expiry.expired {
  color: var(--bs-form-invalid-color);
  font-weight: 500;
}
.auth-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-top: 1.1rem;
}
.auth-actions form {
  margin: 0;
}
.auth-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0;
  border: 0;
  background: none;
  color: var(--auth-accent-text, var(--auth-accent));
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.auth-link:hover {
  text-decoration: underline;
}
.auth-link:disabled {
  color: var(--auth-muted);
  text-decoration: none;
  cursor: default;
}
.auth-note {
  display: flex;
  gap: 0.55rem;
  margin: 1.35rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--auth-border);
  color: var(--auth-muted);
  font-size: 0.85rem;
}
.auth-note .bi {
  flex: none;
  line-height: 1.45;
}
.auth-help {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.1rem;
  color: var(--auth-muted);
  font-size: 0.85rem;
}
.auth-help .bi {
  flex: none;
  line-height: 1.45;
}
.auth-points {
  padding: 1.25rem 1.25rem max(2.5rem, env(safe-area-inset-bottom));
}
.auth-points-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--auth-muted);
  margin-bottom: 1rem;
}
.auth-list {
  list-style: none;
  padding: 0;
  margin-bottom: 0;
  display: grid;
  gap: 1rem;
}
.auth-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.auth-list b {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
}
.auth-list li > div > span {
  display: block;
  color: var(--auth-muted);
  font-size: 0.87rem;
}
.auth-list-icon {
  flex: none;
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--auth-list-bg);
  color: var(--auth-list-fg);
  font-size: 0.9rem;
  font-weight: 700;
}
@media (min-width: 576px) {
  .auth-brand {
    padding-top: 2.25rem;
    padding-bottom: 4.5rem;
  }
  .auth-main {
    margin-top: -3rem;
  }
  .auth-card {
    padding: 2rem;
  }
}
@media (min-width: 992px) {
  .auth-shell {
    display: grid;
    grid-template-columns: minmax(400px, 5fr) minmax(0, 7fr);
    grid-template-rows: 1fr auto auto 1fr;
  }
  .auth-shell::before {
    content: '';
    grid-column: 1;
    grid-row: 1 / -1;
    background: var(--auth-brand-bg);
  }
  .auth-brand,
  .auth-points {
    grid-column: 1;
    background: none;
    padding-inline: clamp(2.5rem, 5vw, 5rem);
  }
  .auth-brand {
    grid-row: 2;
    padding-block: 3rem 0;
  }
  .auth-points {
    grid-row: 3;
    padding-block: 2.5rem 3rem;
    color: #fff;
  }
  .auth-brand > *,
  .auth-points > * {
    max-width: 460px;
    margin-inline: 0;
  }
  .auth-brand-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.75rem;
  }
  .auth-mark {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    font-size: 1.7rem;
  }
  .auth-mark img {
    width: 40px;
    height: 40px;
  }
  .auth-inst {
    font-size: 0.8rem;
  }
  .auth-event {
    font-size: clamp(2.1rem, 3.2vw, 2.9rem);
    margin-top: 0.35rem;
  }
  .auth-chips {
    margin-top: 1.25rem;
  }
  .auth-points-title {
    color: rgba(255, 255, 255, 0.65);
  }
  .auth-list-icon {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
  }
  .auth-list li > div > span {
    color: rgba(255, 255, 255, 0.72);
  }
  .auth-main {
    grid-column: 2;
    grid-row: 1 / -1;
    margin: 0;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .auth-main > * {
    width: 100%;
    max-width: 420px;
  }
  .auth-card {
    padding: 2.25rem 2rem;
    box-shadow:
      0 1px 2px rgba(16, 24, 40, 0.04),
      0 16px 40px rgba(16, 24, 40, 0.06);
  }
}
