/* Account modal, checkout gate, and client area. Loaded by auth.js. */
.auth-pending { display: inline-block; width: 92px; height: 36px; }
[data-auth-slot] { display: inline-flex; min-width: 92px; min-height: 36px; align-items: center; justify-content: flex-end; position: relative; }
.nav-right [data-auth-tickets], .seat-tools [data-auth-tickets], .head-nav [data-auth-tickets] {
  background: none; border: 0; padding: 0; font: inherit; font-weight: 600; font-size: 14px; color: inherit; cursor: pointer;
}
.au-signin {
  background: #6842F4; color: #fff; border: 0; border-radius: 12px; padding: 9px 14px;
  font-weight: 700; font-size: 14px; cursor: pointer;
}
.au-signin:hover { background: #5428E0; }
.au-avatar {
  width: 34px; height: 34px; border-radius: 50%; background: #6842F4; color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 14px; border: 0; cursor: pointer;
}
.au-menu {
  position: absolute; top: calc(100% + 8px); right: 0; width: 240px; z-index: 40;
  background: #fff; border: 1px solid #e6e4f2; border-radius: 16px;
  box-shadow: 0 24px 64px rgba(23, 21, 45, .22); padding: 8px;
}
.au-menu button, .au-menu a {
  display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: 10px;
  color: #17152D; text-decoration: none; font-size: 14px; font-weight: 600; background: none; border: 0; cursor: pointer;
}
.au-menu button:hover, .au-menu a:hover, .au-menu button:focus-visible, .au-menu a:focus-visible { background: #F5F3FF; }
.au-menu hr { border: 0; border-top: 1px solid #e6e4f2; margin: 6px 0; }
.au-menu .au-out { color: #d4253b; }

.au-stage {
  position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 24px 16px;
  background: rgba(23, 21, 45, .45); backdrop-filter: blur(2px);
}
.au-modal {
  position: relative; width: 100%; max-width: 440px; background: #fff; border-radius: 22px;
  box-shadow: 0 24px 64px rgba(23, 21, 45, .22); padding: 28px; max-height: calc(100vh - 48px); overflow: auto;
  font-family: Manrope, "Avenir Next", system-ui, sans-serif; color: #17152D;
}
.au-x, .au-back {
  position: absolute; top: 16px; width: 34px; height: 34px; border-radius: 50%; border: 0;
  background: #F5F3FF; cursor: pointer; font-size: 18px;
}
.au-x { right: 16px; }
.au-back { left: 16px; }
.au-modal h1 { font-size: 24px; letter-spacing: -.02em; margin: 6px 0 6px; }
.au-sub { color: #6e6888; font-size: 14px; margin: 0 0 22px; line-height: 1.5; }
.au-pill {
  display: inline-flex; align-items: center; gap: 6px; background: #F5F3FF; color: #5428E0;
  border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700;
}
.au-field { margin-bottom: 14px; }
.au-field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.au-input {
  width: 100%; border: 1.5px solid #d4d0e6; border-radius: 12px; padding: 13px 14px; font-size: 15px;
  background: #fff; outline: none; font: inherit; color: inherit;
}
.au-input:focus { border-color: #6842F4; box-shadow: 0 0 0 4px rgba(104, 66, 244, .14); }
.au-input.au-bad { border-color: #d4253b; }
.au-hint { font-size: 12px; color: #6e6888; margin-top: 6px; }
.au-hint.au-bad { color: #d4253b; }
.au-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.au-btn {
  border: 0; border-radius: 12px; padding: 13px 18px; font-weight: 700; cursor: pointer; font: inherit;
}
.au-btn:disabled { opacity: .65; cursor: progress; }
.au-btn-primary { background: #6842F4; color: #fff; width: 100%; }
.au-btn-primary:hover:not(:disabled) { background: #5428E0; }
.au-btn.is-busy { position: relative; color: transparent; }
.au-btn.is-busy:after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px;
  border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: au-spin .7s linear infinite;
}
@keyframes au-spin { to { transform: rotate(360deg); } }
.au-or { display: flex; align-items: center; gap: 12px; color: #6e6888; font-size: 12px; margin: 18px 0; }
.au-or:before, .au-or:after { content: ""; height: 1px; background: #e6e4f2; flex: 1; }
.au-social { display: grid; gap: 10px; }
.au-social button {
  display: flex; align-items: center; justify-content: center; gap: 10px; background: #fff;
  border: 1.5px solid #d4d0e6; border-radius: 12px; padding: 12px; font-weight: 700; cursor: pointer; font: inherit; width: 100%;
}
.au-social button:hover { background: #F5F3FF; }
.au-logo { width: 18px; height: 18px; flex: none; display: block; }
.au-brand { display: flex; align-items: center; gap: 10px; }
.au-brand small { display: block; font-weight: 500; color: #6e6888; }
.au-legal { font-size: 12px; color: #6e6888; line-height: 1.5; margin-top: 16px; text-align: center; }
.au-legal a, .au-link { color: #6842F4; font-weight: 700; text-decoration: none; }
.au-pw { position: relative; }
.au-pw .au-eye { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: #6e6888; font-weight: 700; font-size: 12px; cursor: pointer; }
.au-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 8px; }
.au-meter span { height: 4px; border-radius: 4px; background: #e6e4f2; }
.au-meter .on { background: #0f9d58; }
.au-checks { list-style: none; padding: 0; margin: 8px 0 0; font-size: 12px; color: #6e6888; display: grid; gap: 3px; }
.au-checks li.ok { color: #0f9d58; }
.au-cb { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: #3c365c; margin: 10px 0; line-height: 1.45; }
.au-cb input { margin-top: 2px; accent-color: #6842F4; width: 16px; height: 16px; }
.au-otp { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 6px 0 10px; }
.au-otp input { text-align: center; font-size: 22px; font-weight: 800; padding: 12px 0; border: 1.5px solid #d4d0e6; border-radius: 12px; font: inherit; }
.au-otp input:focus { border-color: #6842F4; box-shadow: 0 0 0 4px rgba(104, 66, 244, .14); outline: none; }
.au-center { text-align: center; }
.au-ok {
  width: 64px; height: 64px; border-radius: 50%; background: #D9FF65; display: grid; place-items: center;
  margin: 4px auto 14px; font-size: 30px; font-weight: 800;
}
.au-who { width: 52px; height: 52px; margin: 0 auto 10px; font-size: 20px; }

.au-gate-stage { position: fixed; inset: 0; z-index: 70; overflow: auto; background: linear-gradient(180deg, #efeaff 0, #faf9ff 60%); padding: 28px 16px 40px; }
.au-gate { max-width: 920px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; }
.au-card { background: #fff; border: 1px solid #e6e4f2; border-radius: 18px; padding: 22px; box-shadow: 0 1px 4px rgba(23, 21, 45, .06); font-family: Manrope, "Avenir Next", system-ui, sans-serif; color: #17152D; }
.au-timer { display: flex; align-items: center; gap: 8px; background: #fff7e6; color: #8a5a00; border-radius: 10px; padding: 10px 12px; font-size: 13px; font-weight: 700; margin-bottom: 14px; }
.au-sum { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 6px 0; color: #3c365c; }
.au-sum.au-tot { border-top: 1px solid #e6e4f2; margin-top: 8px; padding-top: 12px; font-weight: 800; color: #17152D; font-size: 16px; }
.au-evt { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.au-evt img, .au-ph { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: linear-gradient(135deg, #2b1d6b, #6842F4); }
.au-trust { display: grid; gap: 8px; margin-top: 14px; font-size: 13px; color: #3c365c; }
.au-trust div:before { content: "✓"; color: #0f9d58; font-weight: 800; margin-right: 8px; }
.au-guest { margin-top: 16px; padding-top: 14px; border-top: 1px solid #e6e4f2; }
.au-guest h3 { margin: 0 0 6px; font-size: 16px; }

.au-acct { max-width: 1120px; margin: 0 auto; padding: 28px 24px 60px; display: grid; grid-template-columns: 240px 1fr; gap: 28px; font-family: Manrope, "Avenir Next", system-ui, sans-serif; color: #17152D; }
.au-side { position: sticky; top: 84px; align-self: start; }
.au-me { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; }
.au-me .au-avatar { width: 46px; height: 46px; font-size: 18px; cursor: default; }
.au-side a { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px; color: #3c365c; text-decoration: none; font-weight: 600; font-size: 14px; }
.au-side a.on { background: #F5F3FF; color: #5428E0; }
.au-tabs { display: flex; gap: 6px; border-bottom: 1px solid #e6e4f2; margin: 14px 0 18px; }
.au-tabs button { border: 0; background: none; padding: 10px 4px; margin-right: 14px; font-weight: 700; color: #6e6888; border-bottom: 2px solid transparent; cursor: pointer; font: inherit; }
.au-tabs button.on { color: #17152D; border-color: #6842F4; }
.au-tk { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; align-items: center; background: #fff; border: 1px solid #e6e4f2; border-radius: 18px; padding: 14px; margin-bottom: 12px; }
.au-date { background: #F5F3FF; border-radius: 12px; text-align: center; padding: 10px 0; color: #5428E0; }
.au-date b { display: block; font-size: 24px; line-height: 1; }
.au-date small { font-size: 11px; font-weight: 800; text-transform: uppercase; }
.au-tk h3 { margin: 0 0 4px; font-size: 16px; }
.au-tk p { margin: 0; color: #6e6888; font-size: 13px; }
.au-tag { display: inline-block; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 999px; margin-right: 6px; }
.au-tag.ready { background: #e7f7ee; color: #0f9d58; }
.au-tag.pending { background: #fff3d6; color: #8a5a00; }
.au-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.au-btn-sm { padding: 9px 14px; border-radius: 10px; font-size: 14px; width: auto; }
.au-ghost { background: #fff; border: 1px solid #d4d0e6; color: #17152D; }
.au-empty { text-align: center; padding: 40px 20px; background: #fff; border: 1px dashed #d4d0e6; border-radius: 18px; color: #6e6888; }
.au-empty b { color: #17152D; }
.au-set { display: grid; gap: 14px; }
.au-line { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid #e6e4f2; font-size: 14px; }
.au-line:first-of-type { border-top: 0; }
.au-tgl { width: 42px; height: 24px; border-radius: 999px; background: #6842F4; position: relative; border: 0; cursor: pointer; flex: none; }
.au-tgl:after { content: ""; position: absolute; top: 3px; right: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; }
.au-tgl.off { background: #d4d0e6; }
.au-tgl.off:after { right: auto; left: 3px; }
.au-tgl:disabled { cursor: not-allowed; }
.au-page-head { display: flex; align-items: center; gap: 16px; padding: 12px 24px; background: #fff; border-bottom: 1px solid #e6e4f2; }
.au-page-head .logo { font-weight: 800; font-size: 20px; color: #17152D; text-decoration: none; }

@media (max-width: 760px) {
  .au-stage { place-items: end center; padding: 0; }
  .au-modal { border-radius: 22px 22px 0 0; max-width: none; max-height: 92vh; }
  .au-gate { grid-template-columns: 1fr; }
  .au-acct { grid-template-columns: 1fr; padding: 16px 14px 48px; }
  .au-side { position: static; }
  .au-tk { grid-template-columns: 64px 1fr; }
  .au-acts { grid-column: 1 / -1; }
  .au-row2 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .au-btn.is-busy:after { animation: none; }
}
