.ca-auth { max-width: 945px; padding-block: clamp(34px, 7vw, 85px) 68px; }
.ca-auth-shell { display: grid; grid-template-columns: minmax(350px, 1.04fr) minmax(0, .96fr); min-height: 504px; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 12px 40px #35205709; }
.ca-auth-body { padding: 29px clamp(27px, 4.8vw, 54px) 43px; }
.ca-back { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 13px; font-weight: 650; line-height: 1.4; }
.ca-back:hover, .ca-back:focus-visible { color: var(--accent-deep); }
.ca-auth-heading { margin: 30px 0 22px; }
.ca-heading-icon { display: inline-grid; place-items: center; width: 49px; height: 49px; border-radius: 14px; color: var(--accent-deep); background: var(--accent-soft); }
.ca-auth h1, .ca-account h1 { margin: 14px 0 0; font-size: clamp(32px, 4.3vw, 54px); line-height: 1.03; font-weight: 790; letter-spacing: -.065em; overflow-wrap: anywhere; }
.ca-auth h1 { font-size: clamp(31px, 3.6vw, 45px); }
.ca-auth h1:focus, .ca-account h1:focus { outline: none; }
.ca-auth-heading p, .ca-account-top p { margin: 9px 0 0; color: var(--muted); font-size: 14px; line-height: 1.53; overflow-wrap: anywhere; }
.ca-form, .ca-stack { display: grid; gap: 14px; }
.ca-field { display: grid; gap: 6px; min-width: 0; color: var(--ink); font-size: 13px; font-weight: 680; }
.ca-field small { color: var(--muted); font-size: 11px; font-weight: 450; line-height: 1.45; }
.ca-field input { width: 100%; min-width: 0; min-height: 47px; padding: 9px 11px; border: 1px solid #e5dfee; border-radius: 10px; background: #fff; color: var(--ink); font-size: 16px; font-weight: 500; }
.ca-field input::placeholder { color: #827a90; }
.ca-field input:hover { border-color: #c9b9e1; }
.ca-field input:focus-visible, .ca-password:focus-within { border-color: var(--accent); outline: 2px solid var(--accent-soft); outline-offset: 1px; }
.ca-password { display: flex; align-items: stretch; min-height: 47px; border: 1px solid #e5dfee; border-radius: 10px; background: #fff; }
.ca-password input { flex: 1; min-height: 45px; border: none; background: transparent; }
.ca-password input:focus-visible { outline: none; }
.ca-password button, .ca-text-button { appearance: none; border: 0; background: transparent; padding: 0; color: var(--accent-deep); font-size: 12px; font-weight: 680; }
.ca-password button { flex: none; padding: 0 11px; border-radius: 9px; }
.ca-password button:hover { background: var(--accent-soft); }
.ca-text-button { justify-self: start; }
.ca-text-button:hover, .ca-auth-links a:hover, .ca-inline-link a:hover { text-decoration: underline; text-underline-offset: 2px; }
.ca-button { min-height: 43px; width: max-content; max-width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 12px; border: 1px solid transparent; border-radius: 10px; font-size: 13px; font-weight: 690; line-height: 1.3; text-align: center; text-decoration: none; transition: color .16s, border-color .16s, background .16s; }
.ca-button svg { flex: none; }
.ca-button:disabled { opacity: .55; }
.ca-primary { background: var(--accent); color: #fff; }
.ca-primary:hover:not(:disabled) { background: var(--accent-deep); }
.ca-secondary { background: #fff; color: var(--ink); border-color: var(--line); }
.ca-secondary:hover:not(:disabled) { color: var(--accent-deep); border-color: #c9b9e1; background: #fbf9ff; }
.ca-form .ca-submit { justify-content: space-between; width: 100%; min-height: 47px; margin-top: 1px; }
.ca-stack .ca-button { width: 100%; }
.ca-message { margin: 0; padding: 9px 11px; border-radius: 9px; font-size: 13px; line-height: 1.48; overflow-wrap: anywhere; }
.ca-error { color: #9b263a; background: #fff0f2; }
.ca-success { color: #176547; background: #e8f6ef; }
.ca-guidance { margin: 0 0 2px; color: var(--muted); font-size: 13px; line-height: 1.48; }
.ca-inline-link { margin-top: 14px; }
.ca-inline-link a, .ca-auth-links a { color: var(--accent-deep); font-size: 13px; font-weight: 690; }
.ca-auth-links { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; margin-top: 21px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.4; }
.ca-art { position: relative; isolation: isolate; display: grid; place-items: center; contain: paint; background: radial-gradient(ellipse at 80% 5%, #916cf565, transparent 54%), linear-gradient(142deg, #241648, #493083 61%, #673dba); }
.ca-art::before, .ca-art::after, .ca-art-orbit { content: ''; position: absolute; inset: 13%; transform: rotate(-29deg); border: 1px solid #eedfff59; border-radius: 50%; z-index: -1; }
.ca-art::before { inset: 9%; border-color: #d8c5ff30; }
.ca-art::after { inset: 3% -5%; border-color: #f1e6ff2e; }
.ca-art-orbit { inset: -19% -17%; border-color: #eadcff2d; }
.ca-art-ticket { position: absolute; display: grid; grid-template-columns: 1fr 28%; width: clamp(153px, 25vw, 300px); min-height: 111px; aspect-ratio: 1.73; transform: rotate(-17deg); border-radius: 17px; border: 1px solid #ffffffc9; background: linear-gradient(154deg, #fdfaff, #ddcdfb 73%, #e9dcff); color: #6138c3; box-shadow: 0 24px 48px #14062b5c, inset 0 0 14px #fff8; -webkit-mask-image: radial-gradient(circle at 0 center, transparent 0 10px, #000 10.5px), radial-gradient(circle at 100% center, transparent 0 10px, #000 10.5px); mask-image: radial-gradient(circle at 0 center, transparent 0 10px, #000 10.5px), radial-gradient(circle at 100% center, transparent 0 10px, #000 10.5px); mask-composite: intersect; }
.ca-art-ticket-back { transform: rotate(-29deg) translate(2%, -20%); background: linear-gradient(154deg, #dac8ff, #9672f0 77%); border-color: #e8d7ff9b; opacity: .92; }
.ca-art-ticket > div { display: grid; place-items: center; }
.ca-art-ticket > span { margin: 7px 0; border-left: 1px dashed #9768e2a3; background: repeating-linear-gradient(90deg, #9e6bea 0 1px, transparent 1px 3px, #b88deb 3px 5px, transparent 5px 8px); background-repeat: no-repeat; background-size: 42% 28%; background-position: center; }
.ca-loading { display: grid; min-height: 55vh; place-items: center; color: var(--muted); font-size: 14px; }
.ca-account { padding-block: 35px 60px; }
.ca-account-top { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 14px; margin-bottom: 24px; }
.ca-account-top h1 { margin-top: 13px; }
.ca-account-top .ca-button { margin-bottom: 2px; }
.ca-account-feedback { position: fixed; inset: auto 20px 20px auto; max-width: min(340px, calc(100vw - 40px)); z-index: 4; margin: 0; padding: 10px 13px; border-radius: 10px; box-shadow: 0 6px 22px #35235536; color: #fff; background: #241838; font-size: 13px; }
.ca-account-feedback:empty { display: none; }
.ca-account > .ca-message { margin: -7px 0 17px; }
.ca-bookings { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 16px; padding: 0; margin: 0; }
.ca-booking, .ca-empty { min-width: 0; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 2px 8px #35205706; }
.ca-booking-top { display: flex; justify-content: space-between; align-items: start; gap: 8px; }
.ca-booking-title { min-width: 0; }
.ca-booking h2, .ca-empty h2 { margin: 0; font-size: clamp(19px, 2.15vw, 27px); font-weight: 770; line-height: 1.14; letter-spacing: -.045em; overflow-wrap: anywhere; }
.ca-booking h2 a { color: var(--ink); }
.ca-booking h2 a:hover { color: var(--accent-deep); }
.ca-booking h2 svg { display: inline-block; vertical-align: -.13em; color: var(--accent-deep); }
.ca-event-meta { display: flex; flex-wrap: wrap; gap: 7px 11px; margin-top: 8px; }
.ca-event-meta > span { display: flex; align-items: center; gap: 4px; font-size: 12px; line-height: 1.35; color: var(--muted); overflow-wrap: anywhere; }
.ca-event-meta svg { color: var(--accent-deep); flex: none; }
.ca-status { display: inline-flex; flex: none; align-items: center; gap: 5px; border-radius: 999px; padding: 5px 7px; white-space: nowrap; font-size: 11px; font-weight: 700; }
.ca-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ca-status-active { color: #176944; background: #e8f7ee; }
.ca-status-closed { color: #645d73; background: #efedf2; }
.ca-booking-code { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 14px 0 5px; padding: 9px 11px; border-radius: 10px; background: #f3effc; color: #3e266d; }
.ca-booking-code span, .ca-booking-code strong { display: block; overflow-wrap: anywhere; }
.ca-booking-code span { font-size: 11px; font-weight: 650; }
.ca-booking-code strong { margin-top: 2px; font-size: 15px; letter-spacing: .055em; }
.ca-copy { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #e2d7f6; border-radius: 8px; padding: 0; background: #fff9; color: var(--accent-deep); }
.ca-copy:hover { background: #fff; border-color: #cdbbef; }
.ca-seats { list-style: none; padding: 0; margin: 0; }
.ca-seats li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, max-content); align-items: start; gap: 7px; padding: 8px 1px; border-bottom: 1px solid #f0edf5; }
.ca-seats li div:last-child { text-align: right; }
.ca-seats strong, .ca-seats span { display: block; overflow-wrap: anywhere; }
.ca-seats strong { font-size: 13px; font-weight: 680; }
.ca-seats span, .ca-created { margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.35; }
.ca-created { margin-top: 11px; }
.ca-empty { display: grid; justify-items: center; text-align: center; min-height: 245px; align-content: center; gap: 10px; }
.ca-empty h2 { font-size: 22px; }
.ca-empty p { margin: 0 0 4px; color: var(--muted); font-size: 14px; line-height: 1.45; }
@media (max-width: 760px) {
  .ca-auth { max-width: 480px; padding-block: 24px 45px; }
  .ca-auth-shell { display: block; min-height: 0; border-radius: 19px; }
  .ca-auth-body { padding: 20px 23px 28px; }
  .ca-auth-heading { margin-top: 21px; }
  .ca-art { display: none; }
  .ca-bookings { grid-template-columns: 1fr; }
  .ca-account { padding-top: 25px; }
}
@media (max-width: 410px) {
  .ca-auth-body { padding-inline: 17px; }
  .ca-booking { padding: 13px; }
  .ca-status { padding: 4px 6px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .ca-button { transition: none; }
}
