
/* ------------------------------------------------------------------------
   pages/events/index.astro (scoped <style>) — spotlight card, notify strip,
   "past events" <details>. Needed by the SSR index page.
   ------------------------------------------------------------------------ */
.lwc-ev-spotlight {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  padding: 0;
  overflow: hidden;
}
.lwc-ev-spotlight-left {
  padding: 32px 34px;
}
.lwc-ev-spotlight-right {
  border-left: 1px solid var(--rule);
  background: var(--paper-lift);
  padding: 30px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.lwc-ev-spotlight-head {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-top: 16px;
}
.lwc-ev-notify-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.lwc-ev-notify-strip-form {
  flex: 1 1 320px;
  max-width: 420px;
}
.lwc-ev-past summary {
  cursor: pointer;
}
.lwc-ev-spotlight-title {
  color: inherit;
  text-decoration: none;
  transition: color 150ms ease;
}
.lwc-ev-spotlight-title:hover {
  color: var(--vermilion);
}
@media (max-width: 720px) {
  .lwc-ev-spotlight {
    grid-template-columns: 1fr;
  }
  .lwc-ev-spotlight-right {
    border-left: 0;
    border-top: 1px solid var(--rule);
  }
  .lwc-ev-spotlight-head {
    flex-direction: column;
    gap: 14px;
  }
}

/* ------------------------------------------------------------------------
   pages/events/[id].astro (scoped <style>) — detail grid + prose body.
   Needed by the SSR detail page.
   ------------------------------------------------------------------------ */
.lwc-ev-detail-grid {
  display: grid;
  grid-template-columns: 1fr 348px;
  gap: 48px;
  align-items: start;
}
.lwc-ev-detail-aside {
  position: sticky;
  top: 24px;
}
.lwc-ev-prose h2 {
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 600;
  text-transform: lowercase;
  color: var(--ink);
  margin: 38px 0 0;
}
.lwc-ev-prose h2:first-child {
  margin-top: 30px;
}
.lwc-ev-prose p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 14px 0 0;
  max-width: 60ch;
}
.lwc-ev-prose ul {
  margin: 14px 0 0;
  padding-left: 22px;
  max-width: 60ch;
}
.lwc-ev-prose li {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  margin-top: 6px;
}
.lwc-ev-prose a {
  color: var(--vermilion);
  text-decoration: none;
}
.lwc-ev-prose a:hover {
  text-decoration: underline;
}
@media (max-width: 880px) {
  .lwc-ev-detail-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .lwc-ev-detail-aside {
    position: static;
  }
}

/* ------------------------------------------------------------------------
   components/events/RegisterCta.astro (scoped <style>)
   ------------------------------------------------------------------------ */
.lwc-register {
  margin: 0;
}
/* Court Paper primary button — full-width, large, vermilion, 6px radius.
   Mirrors .lwc-ev-btn-primary.lwc-ev-btn-lg.lwc-ev-btn-block. */
.lwc-register-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  background: var(--vermilion);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  padding: 14px 26px;
  cursor: pointer;
  transition: background-color 150ms ease;
}
.lwc-register-btn:hover:not(:disabled) {
  background: var(--vermilion-dim);
}
.lwc-register-btn:disabled {
  opacity: 0.55;
  cursor: default;
}
/* Seats are surfaced separately via <SeatMeter/>; the CTA's own seats
   line (still written by the script) is hidden to avoid duplication. */
.lwc-register-seats {
  display: none;
}
.lwc-register-note {
  margin: 10px 0 0;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-3);
  text-align: center;
}

/* ------------------------------------------------------------------------
   components/events/NotifyForm.astro (scoped <style>)
   ------------------------------------------------------------------------ */
.lwc-ev-notify {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.lwc-ev-notify .lwc-ev-input {
  width: auto;
  flex: 1 1 220px;
  min-width: 200px;
}
.lwc-ev-notify [data-notify-status] {
  flex-basis: 100%;
  margin: 4px 0 0;
}

/* ------------------------------------------------------------------------
   components/events/FeedbackForm.astro (scoped <style>)
   ------------------------------------------------------------------------ */
.lwc-feedback {
  margin-top: 24px;
}
.lwc-feedback textarea {
  margin-top: 16px;
  min-height: 120px;
  resize: vertical;
  box-sizing: border-box;
}
.lwc-feedback .stars {
  display: flex;
  gap: 4px;
}
.lwc-feedback .star {
  font-size: 36px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink-4);
  padding: 0 2px;
  line-height: 1;
  transition: color 100ms ease, transform 80ms ease;
}
.lwc-feedback .star:hover,
.lwc-feedback .star:focus-visible {
  color: var(--vermilion);
  outline: none;
  transform: scale(1.15);
}
.lwc-feedback .star.on {
  color: var(--vermilion);
}
.lwc-feedback .saved {
  margin: 10px 0 0;
  font-family: var(--mono, monospace);
  font-size: 13px;
  color: var(--ink-2);
  min-height: 1.4em;
}
.lwc-feedback .signin-note {
  margin: 14px 0 0;
  font-family: var(--mono, monospace);
  font-size: 13px;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 8px;
}
.lwc-feedback .signin-link {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--rule-strong);
  text-underline-offset: 3px;
  transition:
    color 150ms,
    text-decoration-color 150ms;
}
.lwc-feedback .signin-link:hover {
  color: var(--vermilion);
  text-decoration-color: var(--vermilion);
}

/* ------------------------------------------------------------------------
   pages/events/[id]/thanks.astro (scoped <style>) — ticket card + actions.
   Ported into Task 4's scope (Task 3 review follow-up).
   ------------------------------------------------------------------------ */
.lwc-ev-thanks {
  max-width: 720px;
  padding: 56px 28px 90px;
  text-align: center;
}
.lwc-ev-ticket {
  display: flex;
  gap: 24px;
  align-items: stretch;
  text-align: left;
  max-width: 520px;
  margin: 32px auto 0;
  padding: 26px 28px;
}
.lwc-ev-thanks-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
  flex-wrap: wrap;
}
@media (max-width: 560px) {
  .lwc-ev-ticket {
    flex-direction: column;
    gap: 16px;
  }
  .lwc-ev-ticket .lwc-ev-divider-v {
    display: none;
  }
}
