/* MyCollegePark v65.74 — SEO fallbacks, legal/404 presentation and home scene/hero layers.
   Source-order module: keep stylesheet link order unchanged. */
/* v60 — server-rendered SEO fallbacks; JS progressively enhances these. */
.ssr-event-card { cursor: default; }
.calendar-loading:has(.calendar-ssr-fallback) { display: block; text-align: left; }
.calendar-ssr-fallback { display: grid; gap: 16px; width: 100%; }
.calendar-ssr-day { display: grid; gap: 8px; }
.calendar-ssr-day h3 { margin: 0; font-size: .9rem; color: var(--text-muted, #667085); }
.calendar-ssr-day .calendar-event-card { max-width: 680px; }


/* =========================================================
   v61 — SEO breadcrumbs and internal-link polish
   ========================================================= */
.seo-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin: 6px 0 14px;
  font-size: .82rem;
  color: #667085;
}
.seo-breadcrumbs a {
  color: inherit;
  text-decoration: none;
  font-weight: 650;
}
.seo-breadcrumbs a:hover {
  text-decoration: underline;
}
.seo-breadcrumbs span[aria-current="page"] {
  max-width: min(520px, 70vw);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.dark-theme .seo-breadcrumbs {
  color: #A9BAB5;
}
body.satellite-theme .seo-breadcrumbs {
  color: #5E6C65;
}

/* v62 SEO landing pages */
.seo-landing-shell{max-width:1180px;margin:0 auto;padding:28px 24px 64px}
.seo-landing-hero{max-width:850px;margin:12px 0 26px}
.seo-landing-hero h1{font-size:clamp(2rem,5vw,3.6rem);line-height:1.02;margin:6px 0 12px}
.seo-landing-hero p{font-size:1.05rem;line-height:1.6;max-width:760px}
.seo-landing-count{font-weight:800;margin-top:12px}
.seo-landing-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.seo-landing-links a{padding:9px 13px;border:1px solid currentColor;border-radius:999px;text-decoration:none;font-weight:750}
.seo-landing-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}
.seo-landing-card{border:1px solid rgba(90,110,105,.22);border-radius:18px;background:var(--panel,#fff);box-shadow:0 8px 26px rgba(20,45,40,.06);}
.seo-landing-card h2{font-size:1.18rem;line-height:1.25;margin:6px 0}
.seo-landing-card h2 a{color:inherit;text-decoration:none}
.seo-landing-card h2 a:hover{text-decoration:underline}
.seo-landing-date,.seo-landing-place{font-size:.88rem;font-weight:700;opacity:.78}
.seo-landing-card p{line-height:1.5}
.seo-landing-meta{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:.88rem;font-weight:750}
.seo-landing-meta a{color:inherit}
.seo-landing-empty{grid-column:1/-1;padding:28px;border:1px dashed currentColor;border-radius:18px;display:flex;flex-direction:column;gap:6px}
.seo-header-title{}
body.dark-theme .seo-landing-card{background:#102129;border-color:#29434a}
@media(max-width:700px){.seo-landing-shell{padding:20px 14px 48px}.seo-header-title{font-size:1.1rem}}

/* v62.2 landing fallback */
.seo-landing-fallback{margin-top:34px;padding-top:26px;border-top:1px solid rgba(90,110,105,.22)}
.seo-landing-fallback>h2{margin:5px 0 6px;font-size:1.55rem}
.seo-landing-fallback>p{margin:0 0 18px;opacity:.8}


/* =========================================================
   v62.5 — SEO landing pages + guaranteed page scrolling
   ========================================================= */
html {
  min-height: 100%;
  height: auto !important;
  overflow-y: auto !important;
  overflow-x: hidden;
}
body.seo-landing-body {
  height: auto !important;
  overflow-y: auto !important;
  overflow-x: hidden;
}

body.seo-landing-body {
  min-height: 100vh;
  position: static;
}

.seo-landing-shell {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

.seo-landing-grid,
.seo-landing-fallback {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

.seo-landing-card {
  min-height: 0;
}

@media (max-width: 700px) {
  body.seo-landing-body {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }
}


/* =========================================================
   v63 — animated summer 404 test page
   ========================================================= */
html:has(body.not-found-page),
body.not-found-page {
  min-height: 100%;
  height: auto !important;
  overflow-y: auto !important;
  overflow-x: hidden;
}
body.not-found-page {
  margin: 0;
  background: #eef8ef;
}
.not-found-header { position: relative; z-index: 10; }
.not-found-brand-title {   }
.not-found-shell {
  min-height: calc(100vh - 118px);
  display: grid;
  grid-template-rows: auto 1fr;
  align-items: start;
  overflow: visible;
}
.not-found-copy {
  position: relative;
  z-index: 4;
  width: min(900px, calc(100% - 40px));
  margin: 28px auto 4px;
  text-align: center;
}
.not-found-copy h1 {
  margin: 4px 0 8px;
  font-size: clamp(2rem, 4.8vw, 4.4rem);
  letter-spacing: -.045em;
  line-height: .98;
  color: #173f34;
}
.not-found-copy p {
  max-width: 690px;
  margin: 0 auto;
  font-size: clamp(1rem, 1.7vw, 1.16rem);
  line-height: 1.55;
  color: #4f675f;
}
.not-found-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 19px;
}
.not-found-actions.hidden { display: none !important; }
.not-found-primary,
.not-found-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
}
.not-found-primary {
  background: #166c57;
  color: white;
  border: 1px solid #166c57;
  box-shadow: 0 8px 22px rgba(22,108,87,.18);
}
.not-found-primary:hover { background: #115844; transform: translateY(-1px); }
.not-found-secondary {
  color: #225b4d;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(34,91,77,.22);
}
.park-stage-wrap {
  align-items: end;
}
.park-stage {
  display: block;
  width: 100%;
  min-width: 900px;
  height: auto;
  transform-origin: bottom center;
}

/* Scene motion */
.cloud-a { animation: cloudDrift 34s linear infinite; }
.cloud-b { animation: cloudDriftB 44s linear infinite; }
.tree-left { transform-origin: 120px 455px; animation: treeSway 6s ease-in-out infinite alternate; }
.tree-right { transform-origin: 1305px 457px; animation: treeSwayB 7s ease-in-out infinite alternate; }
.swing { transform-origin: 156px 4px; animation: swingRide 2.8s ease-in-out infinite alternate; }
.dad { animation: dadLean 2.8s ease-in-out infinite alternate; transform-origin: 202px 135px; }
.turtle { animation: turtleWalk 46s linear infinite; }
.walker-one { animation: walkerCross 22s linear infinite 3s; }
.cyclist { animation: cyclistCross 14s linear infinite 8s; }
.bird { animation: birdFly 26s linear infinite; }
.sculpture-404 { animation: sculptureGlow 6s ease-in-out infinite alternate; }

@keyframes cloudDrift { from{transform:translateX(-120px)} to{transform:translateX(1450px)} }
@keyframes cloudDriftB { from{transform:translateX(650px)} to{transform:translateX(-1100px)} }
@keyframes treeSway { from{transform:rotate(-.7deg)} to{transform:rotate(.8deg)} }
@keyframes treeSwayB { from{transform:rotate(.6deg)} to{transform:rotate(-.8deg)} }
@keyframes swingRide { from{transform:rotate(-8deg)} to{transform:rotate(9deg)} }
@keyframes dadLean { from{transform:translateX(0)} to{transform:translateX(-4px)} }
@keyframes turtleWalk { 0%{transform:translate(-120px,554px)} 100%{transform:translate(1580px,554px)} }
@keyframes walkerCross { 0%{transform:translate(-100px,505px)} 100%{transform:translate(1540px,505px)} }
@keyframes cyclistCross { 0%{transform:translate(1540px,520px)} 100%{transform:translate(-130px,520px)} }
@keyframes birdFly { 0%{transform:translate(-120px,128px)} 50%{transform:translate(720px,90px)} 100%{transform:translate(1540px,142px)} }
@keyframes sculptureGlow { from{opacity:.92} to{opacity:1} }

body.dark-theme.not-found-page { background:#0b1518; }
body.dark-theme .not-found-copy h1 { color:#eefaf6; }
body.dark-theme .not-found-copy p { color:#adc1bb; }
body.dark-theme .not-found-secondary { background:#132328; color:#d4e9e2; border-color:#294149; }
body.dark-theme .park-stage { filter: brightness(.63) saturate(.78) hue-rotate(8deg); }

@media (max-width: 760px) {
  

  .not-found-copy { margin-top: 18px; width: min(94%, 680px); }
  .not-found-shell { min-height: calc(100vh - 96px); }
  .park-stage-wrap { min-height: 315px;  }
  .park-stage { min-width: 760px; transform: translateX(-11%); }
  .not-found-actions { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .not-found-page *,
  .not-found-page *::before,
  .not-found-page *::after {
    animation: none !important;
    transition: none !important;
  }
  .turtle { transform: translate(760px,554px); }
  .walker-one { transform: translate(1110px,505px); }
  .cyclist { transform: translate(940px,520px); }
  .bird { transform: translate(480px,120px); }
}


/* =========================================================
   v63.1 — static summer 404 artwork
   ========================================================= */
.park-stage-wrap {
  width: 100%;
  align-self: end;
  overflow: hidden;
  min-height: 0;
  display: block;
  margin-top: 10px;
}
.park-stage-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: cover;
  object-position: center;
}
body.dark-theme .park-stage-image {
  filter: brightness(.72) saturate(.82);
}
@media (max-width: 760px) {
  .park-stage-wrap {
    margin-top: 6px;
    overflow-x: hidden;
  }
  .park-stage-image {
    width: 118%;
    max-width: none;
    margin-left: -9%;
  }
}


/* =========================================================
   v64.2 — polished homepage discovery chips
   ========================================================= */
.home-discovery-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 10px 0;
  padding: 8px 10px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  box-shadow: 0 3px 12px rgba(20, 48, 42, .045);
}

.home-discovery-label {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 6px 0 3px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .065em;
  text-transform: uppercase;
}

.home-discovery-scroll {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.home-discovery-scroll::-webkit-scrollbar {
  display: none;
}

.home-discovery-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 6px 11px;
  border: 1px solid color-mix(in srgb, var(--line) 88%, var(--accent) 12%);
  border-radius: 999px;
  background: color-mix(in srgb, var(--panel) 96%, var(--accent) 4%);
  color: var(--text);
  font-size: .78rem;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(20, 48, 42, .04);
  transition:
    background .15s ease,
    border-color .15s ease,
    box-shadow .15s ease,
    transform .15s ease;
}

.home-discovery-chip > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 900;
}

.home-discovery-chip:hover,
.home-discovery-chip:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 62%, var(--line));
  background: color-mix(in srgb, var(--panel) 88%, var(--accent) 12%);
  box-shadow: 0 4px 10px rgba(20, 80, 64, .08);
  transform: translateY(-1px);
  outline: none;
}

.home-discovery-chip:active {
  transform: translateY(0);
  box-shadow: none;
}

body.dark-theme .home-discovery-links {
  background: color-mix(in srgb, var(--panel) 94%, transparent);
  box-shadow: none;
}

body.dark-theme .home-discovery-chip,
body.satellite-theme .home-discovery-chip {
  background: color-mix(in srgb, var(--panel) 93%, var(--accent) 7%);
  color: var(--text);
}

@media (max-width: 760px) {
  .home-discovery-links {
    gap: 6px;
    margin: 6px 8px 0;
    padding: 7px 8px;
    border-radius: 14px;
  }

  .home-discovery-label {
    display: none;
  }

  .home-discovery-scroll {
    margin: 0 -2px;
    padding: 0 2px;
  }

  .home-discovery-chip {
    min-height: 31px;
    padding: 6px 10px;
    font-size: .76rem;
  }
}


/* =========================================================
   v64.4 — image-rich SEO landing cards
   ========================================================= */
.seo-landing-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.seo-landing-card-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: color-mix(in srgb, var(--panel) 88%, var(--accent) 12%);
}

.seo-landing-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .25s ease;
}

.seo-landing-card:hover .seo-landing-card-media img {
  transform: scale(1.025);
}

.seo-landing-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 16px 17px 17px;
}

.seo-landing-card-body > p {
  flex: 1 1 auto;
}

.seo-landing-card:not(:has(.seo-landing-card-media)) .seo-landing-card-body {
  min-height: 100%;
}

@media (min-width: 1040px) {
  .seo-landing-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 700px) {
  .seo-landing-card-media {
    aspect-ratio: 3 / 2;
  }

  .seo-landing-card-body {
    padding: 14px 15px 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .seo-landing-card-media img {
    transition: none;
  }

  .seo-landing-card:hover .seo-landing-card-media img {
    transform: none;
  }
}


/* =========================================================
   v64.6 — collection dropdown on SEO landing pages
   ========================================================= */
.seo-collections-menu {
  position: relative;
  display: inline-block;
  margin-top: 12px;
  min-width: 190px;
}

.seo-collections-menu > summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: .82rem;
  font-weight: 750;
  line-height: 1.2;
  cursor: pointer;
  user-select: none;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

.seo-collections-menu > summary::-webkit-details-marker {
  display: none;
}

.seo-collections-menu > summary::marker {
  content: "";
}

.seo-collections-menu > summary:hover,
.seo-collections-menu > summary:focus-visible,
.seo-collections-menu[open] > summary {
  outline: none;
}

.seo-collections-menu[open] > summary {
}

.seo-collections-chevron {
  color: var(--muted);
  font-size: .9rem;
  transition: transform .15s ease;
}

.seo-collections-menu[open] .seo-collections-chevron {
  transform: rotate(180deg);
}

.seo-collections-panel {
  position: absolute;
  top: calc(100% + 7px);
  left: 0;
}

.seo-collections-panel a {
  display: flex;
  align-items: center;
  color: var(--text);
  line-height: 1.2;
  text-decoration: none;
}

.seo-collections-panel a:hover,
.seo-collections-panel a:focus-visible {
  outline: none;
}

.seo-collections-panel .seo-collections-calendar {
  margin-top: 5px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  border-radius: 0 0 8px 8px;
  color: var(--accent);
}

body.dark-theme .seo-collections-menu > summary,
body.satellite-theme .seo-collections-menu > summary {
}
body.dark-theme .seo-collections-panel,
body.satellite-theme .seo-collections-panel {
}

@media (max-width: 700px) {
  .seo-collections-menu {
    display: block;
    width: 100%;
  }

  .seo-collections-menu > summary {
    width: 100%;
  }

  .seo-collections-panel {
    width: 100%;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .seo-collections-chevron {
    transition: none;
  }
}


/* =========================================================
   v64.6.1 — keep All collections menu above event cards
   ========================================================= */
.seo-landing-hero {
  position: relative;
  z-index: 20;
  overflow: visible;
}

.seo-collections-menu {
  z-index: 40;
}

.seo-collections-menu[open] {
  z-index: 60;
}

.seo-collections-panel {
  z-index: 70;
}

.seo-landing-grid,
.seo-landing-fallback {
  position: relative;
  z-index: 1;
}


/* =========================================================
   v64.6.2 — separate Full calendar action
   ========================================================= */
.seo-landing-actions {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.seo-landing-actions .seo-collections-menu {
  margin-top: 0;
}

.seo-full-calendar-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition:
    border-color .15s ease,
    background .15s ease,
    box-shadow .15s ease,
    transform .15s ease;
}

.seo-full-calendar-button:hover {
  outline: none;
}
.seo-full-calendar-button:focus-visible {
  outline: none;
}

.seo-full-calendar-button:active {
  box-shadow: none;
}

body.dark-theme .seo-full-calendar-button {
}
body.satellite-theme .seo-full-calendar-button {
}

@media (max-width: 700px) {
  .seo-landing-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    width: 100%;
    align-items: start;
  }

  .seo-landing-actions .seo-collections-menu {
    width: 100%;
  }

  .seo-full-calendar-button {
    min-height: 38px;
  }
}

@media (max-width: 430px) {
  .seo-landing-actions {
    grid-template-columns: 1fr;
  }

  .seo-full-calendar-button {
    width: 100%;
  }
}


/* =========================================================
   v64.6.3 — lighter modern collections controls
   ========================================================= */
.seo-collections-menu > summary {
  min-width: 176px;
  min-height: 36px;
  padding: 7px 12px 7px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  color: var(--text);
  box-shadow: none;
}

.seo-collections-menu > summary:hover,
.seo-collections-menu > summary:focus-visible,
.seo-collections-menu[open] > summary {
  border-color: color-mix(in srgb, var(--accent) 42%, var(--line));
  background: #ffffff;
  box-shadow: none;
}

.seo-collections-panel {
  width: min(270px, calc(100vw - 36px));
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(20, 48, 42, .10);
}

.seo-collections-panel a {
  min-height: 34px;
  padding: 7px 9px;
  border-radius: 7px;
  font-size: .81rem;
  font-weight: 650;
}

.seo-collections-panel a:hover,
.seo-collections-panel a:focus-visible {
  background: color-mix(in srgb, #ffffff 92%, var(--accent) 8%);
}

.seo-full-calendar-button {
  min-height: 36px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  color: var(--text);
  box-shadow: none;
}

.seo-full-calendar-button:hover,
.seo-full-calendar-button:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 42%, var(--line));
  background: #ffffff;
  box-shadow: none;
  transform: none;
}

.seo-full-calendar-button:active {
  transform: none;
}

body.dark-theme .seo-collections-menu > summary,
body.dark-theme .seo-full-calendar-button {
  background: var(--panel);
  color: var(--text);
}
body.dark-theme .seo-collections-panel {
  background: var(--panel);
  color: var(--text);
}

body.satellite-theme .seo-collections-menu > summary,
body.satellite-theme .seo-full-calendar-button {
  background: var(--panel);
  color: var(--text);
}
body.satellite-theme .seo-collections-panel {
  background: var(--panel);
  color: var(--text);
}


/* =========================================================
   v64.7 — unified header across public pages
   ========================================================= */


.shared-site-header-title,
.seo-header-title,
.not-found-brand-title {
  display: block;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}








@media (max-width: 760px) {
  
}


/* =========================================================
   v64.7.1 — modern unified header typography hierarchy
   ========================================================= */










@media (max-width: 760px) {
  

  

  
}


/* =========================================================
   v64.8.1 — public contact privacy guidance
   ========================================================= */
.event-contact-privacy-note {
  
  margin-top: 6px;
  max-width: 42rem;
  
}

.event-contact-privacy-note strong {
  color: var(--text);
  font-weight: 750;
}


/* =========================================================
   v65 — friendly three-step event creation wizard
   ========================================================= */
.event-wizard-card {
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.event-wizard-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.event-wizard-heading h2 {
  margin-bottom: 4px;
}

.event-draft-status {
  flex: 0 0 auto;
  margin-top: 5px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-size: .72rem;
  font-weight: 750;
  white-space: nowrap;
}

.event-draft-status.is-saving::before {
  content: "•";
  display: inline-block;
  margin-right: 5px;
  animation: eventDraftPulse .8s ease-in-out infinite alternate;
}

@keyframes eventDraftPulse {
  from { opacity: .35; }
  to { opacity: 1; }
}


.event-wizard-track {
  position: relative;
}

.event-wizard-track::before{
  
  
  
  
  
  
}.event-wizard-track-fill{
  content: "";
  position: absolute;
  left: 0;
  
  
  
}

.event-wizard-track::before {
  width: 100%;
}

.event-wizard-track-fill {
  width: 0;
  transition: width .42s cubic-bezier(.2,.75,.25,1);
}

.event-wizard-station {
  position: absolute;
  background: var(--line);
  transition: background .25s ease, box-shadow .25s ease;
}

.event-wizard-station.is-complete {
  background: #2f9e44;
  box-shadow: 0 0 0 1px #2f9e44;
}

.event-wizard-station.station-1 { left: 0; }
.event-wizard-station.station-2 { left: 50%; }
.event-wizard-station.station-3 { left: 100%; }

.event-wizard-turtle {
  position: absolute;
  left: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  transition: left .48s cubic-bezier(.2,.78,.25,1), transform .22s ease;
}

.event-wizard-turtle img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.event-wizard-progress-labels {
  
  color: var(--muted);
}


.event-wizard-viewport {
  width: 100%;
  overflow: hidden;
}

.event-wizard-rail {
  display: flex;
  width: 100%;
  align-items: flex-start;
  transition: transform .46s cubic-bezier(.2,.75,.25,1);
  will-change: transform;
}

.event-wizard-rail.no-transition {
  transition: none !important;
}

.event-wizard-step {
  flex: 0 0 100%;
  min-width: 0;
}

.event-wizard-step-head {
  display: flex;
  gap: 11px;
  align-items: flex-start;
}

.event-wizard-step-head h3 {
  margin: 0 0 3px;
  font-size: 1.08rem;
}

.event-wizard-step-head p {
  margin: 0;
  color: var(--muted);
  font-size: .82rem;
}

.event-wizard-step-number {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 12%, var(--panel));
  color: var(--accent);
  font-size: .82rem;
  font-weight: 850;
}

.finish-number {
  background: var(--accent);
  color: #fff;
}

.field-optional {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 550;
}

.event-wizard-step .event-form-grid {
  gap: 13px 14px;
}

.event-wizard-step textarea,
.event-wizard-step input,
.event-wizard-step select {
  border-radius: 10px;
}

.event-wizard-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 14px;
  
}

.event-wizard-actions > .primary-action:last-child {
  margin-left: auto;
}

.wizard-action-hidden {
  visibility: hidden;
  pointer-events: none;
}

.event-optional-details {
  margin-top: 2px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}

.event-optional-details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 13px;
  list-style: none;
  cursor: pointer;
  color: var(--text);
  font-size: .82rem;
  font-weight: 780;
}

.event-optional-details > summary::-webkit-details-marker { display: none; }
.event-optional-details > summary span {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 550;
}

.event-optional-details[open] > summary {
  border-bottom: 1px solid var(--line);
}

.event-optional-details-grid {
  
}

.event-readiness-card {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--panel) 96%, var(--accent) 4%);
}

.event-readiness-card > div:first-child {
  display: grid;
  gap: 3px;
}

.event-wizard-recommendations {
  display: grid;
  gap: 7px;
}

.event-check-item,
.event-check-good {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 9px 10px;
  border-radius: 9px;
  background: var(--panel);
  font-size: .78rem;
  line-height: 1.35;
}

.event-check-item > span,
.event-check-good > span {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--soft);
  color: var(--accent);
  font-weight: 850;
}

.event-check-privacy > span {
  color: #8a4b00;
  background: #fff2d7;
}

.event-check-good strong,
.event-check-good small {
  display: block;
}

.event-check-good small {
  margin-top: 1px;
  color: var(--muted);
}

.event-wizard-finish .editor-preview-section {
  margin-top: 0;
}

.event-wizard-publish-actions {
  align-items: center;
}

.event-wizard-finish-buttons {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

@media (max-width: 760px) {
  .event-wizard-card {
    
  }

  .event-wizard-heading {
    
  }

  .event-wizard-heading .modal-subtitle {
    max-width: 30ch;
  }

  .event-draft-status {
    display: none;
  }

  .event-wizard-progress {
    margin-inline: 2px;
  }

  .event-wizard-step .event-form-grid {
    grid-template-columns: 1fr;
  }

  .event-wizard-step .span-2 {
    grid-column: auto;
  }

  .event-wizard-actions {
    position: sticky;
    bottom: -1px;
    z-index: 5;
    margin-inline: -14px;
    background: var(--panel);
  }

  .event-wizard-finish-buttons {
    gap: 6px;
  }

  .event-optional-details > summary span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .event-wizard-rail{
    transition: none;
  }.event-wizard-track-fill{
    transition: none;
  }.event-wizard-turtle{
    transition: none;
  }
}

/* =========================================================
   v65.2 — finish review and navigable progress stations
   ========================================================= */
.event-wizard-station {
  appearance: none;
  -webkit-appearance: none;
  padding: 0;
  cursor: default;
}

.event-wizard-station.is-available {
  cursor: pointer;
}

.event-wizard-station.is-available:hover,
.event-wizard-station.is-available:focus-visible {
  transform: scale(1.18);
  outline: none;
  box-shadow: 0 0 0 4px color-mix(in srgb, #2f9e44 18%, transparent);
}

.event-wizard-station:disabled {
  opacity: 1;
}

.event-ai-suggestions-head {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.event-ai-suggestions-head > div {
  display: grid;
  gap: 3px;
}

.event-check-item small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
}

.event-check-required > span {
  color: #a51d2d;
  background: #fdebed;
}

.event-check-note > span {
  color: #8a6200;
  background: #fff6d8;
}

/* v65.3 — wizard usability fixes */
.event-basics-row {
  display: grid;
  
  
  align-items: start;
}
.event-field-label {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  width: fit-content;
  max-width: 100%;
}
.field-help-button {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--muted) 42%, transparent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--surface-soft) 86%, transparent);
  color: var(--muted);
  font: 800 11px/1 system-ui, sans-serif;
  cursor: pointer;
  vertical-align: middle;
}
.field-help-button:hover,
.field-help-button:focus-visible,
.field-help-button[aria-expanded="true"] {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, var(--surface));
  color: var(--accent);
  outline: none;
}
.event-field-help-popover {
  position: fixed;
  z-index: 6200;
  width: min(310px, calc(100vw - 24px));
  padding: 13px 34px 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 12px 34px rgba(15, 23, 33, .22);
  font-size: .78rem;
  line-height: 1.45;
}
.event-field-help-popover.hidden { display: none; }
.event-field-help-close {
  position: absolute;
  top: 5px;
  right: 7px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 19px;
  cursor: pointer;
}
@media (max-width: 760px) {
  .event-wizard-card {
    
    overflow-x: hidden;
    overflow-y: auto;
  }
  .event-basics-row {
    
    
  }
  .event-wizard-track {  }
}


/* =========================================================
   v65.4 — event wizard layout polish from installed UI review
   Fixed shell + scrollable content + persistent actions
   ========================================================= */

#eventEditorModal {
  padding: 20px;
}

.event-wizard-card {
  width: min(920px, calc(100vw - 48px));
  max-width: 920px;
  height: min(820px, calc(100dvh - 40px));
  max-height: calc(100dvh - 40px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 20px 22px 0;
}

.event-wizard-heading {
  flex: 0 0 auto;
  padding-right: 34px;
  padding-bottom: 8px;
}

.event-wizard-heading h2 {
  font-size: 1.55rem;
  line-height: 1.1;
}

.event-wizard-progress {
  flex: 0 0 auto;
  margin: 4px 0 8px;
  padding: 2px 6px 8px;
  border-bottom: 1px solid var(--line);
}


.event-wizard-track::before{
  
  
}.event-wizard-track-fill{
  
  
}

.event-wizard-station {
  border-width: 3px;
}

.event-wizard-turtle {
  transform: none;
}

.event-wizard-progress-labels {
  grid-template-columns: repeat(3, 1fr);
  
  
}

.event-wizard-form {
  flex: 1 1 auto;
  
  display: flex;
  flex-direction: column;
  margin-inline: -4px;
}

.event-wizard-viewport {
  
  
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding: 10px 4px 0;
}

.event-wizard-rail {
  min-height: 100%;
}

.event-wizard-step {
  padding: 0 2px 78px;
}

.event-wizard-step-head {
  margin: 2px 0 13px;
}

.event-wizard-actions {
  position: sticky;
  bottom: 0;
  z-index: 20;
  min-height: 64px;
  margin: 18px -2px -78px;
  padding: 12px 2px 14px;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(to bottom,
      color-mix(in srgb, var(--panel) 0%, transparent) 0,
      var(--panel) 12px,
      var(--panel) 100%);
  box-shadow: 0 -8px 18px color-mix(in srgb, #000 5%, transparent);
}

.event-wizard-actions .primary-action,
.event-wizard-actions .secondary-action {
  min-height: 38px;
}

.event-basics-row {
  grid-template-columns: minmax(0, 1.7fr) minmax(155px, .82fr) minmax(175px, 1fr);
  gap: 12px;
}

/* Keep help controls small and circular even when global button rules apply. */
.field-help-button {
  box-sizing: border-box !important;
  width: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  max-height: 18px !important;
  padding: 0 !important;
  margin: 0 !important;
  
  line-height: 16px !important;
  font-size: 10px !important;
  transform: none !important;
}

/* Make the photo area feel like a compact form section rather than a large panel. */
.event-photo-editor {
  
}

.event-photo-editor-head {
  margin-bottom: 8px;
}

.photo-add-row {
  gap: 8px;
}

.event-photo-grid {
  margin-top: 8px;
}

.event-photo-grid:empty {
  
}
.event-photo-grid:not(:has(.event-photo-card)) {
  
}

.event-photo-editor .form-help {
  font-size: .69rem;
  line-height: 1.25;
}

/* The close button remains above the fixed shell. */
.event-wizard-card > .modal-close {
  z-index: 30;
}

@media (max-width: 760px) {
  #eventEditorModal {
    padding: 6px;
  }

  .event-wizard-card {
    width: calc(100vw - 12px);
    height: calc(100dvh - 12px);
    max-height: calc(100dvh - 12px);
    padding: 15px 14px 0;
    border-radius: 15px;
  }

  .event-wizard-heading {
    padding-right: 28px;
    padding-bottom: 5px;
  }

  .event-wizard-heading h2 {
    font-size: 1.35rem;
  }

  .event-wizard-progress {
    margin-top: 0;
    padding-inline: 0;
  }


  .event-wizard-track::before{
    
  }.event-wizard-track-fill{
    
  }




  .event-wizard-viewport {
    padding-top: 8px;
  }

  .event-wizard-step {
    padding-bottom: 72px;
  }

  .event-wizard-actions {
    min-height: 58px;
    margin: 16px 0 -72px;
    padding: 10px 0 12px;
  }

  .event-basics-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .event-wizard-actions > .form-help {
    display: none;
  }
}

@media (max-height: 650px) and (min-width: 761px) {
  .event-wizard-card {
    height: calc(100dvh - 24px);
    max-height: calc(100dvh - 24px);
  }

  .event-wizard-track {
    height: 50px;
  }

  .event-wizard-turtle {
    width: 58px;
    height: 48px;
    margin-left: -29px;
  }
}


/* =========================================================
   v65.5 — illustrated road / benches / finish progress tracker
   Inspired by the approved flat visual reference
   ========================================================= */

.event-wizard-progress {
  padding-top: 4px;
  padding-bottom: 10px;
}

.event-wizard-track {
  height: 72px;
  margin: 0 34px;
}

/* Asphalt road */
.event-wizard-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  border-radius: 999px;
  
  
}

/* completed road segment: green progress painted beneath the turtle */
.event-wizard-track-fill {
  top: 35px;
  height: 16px;
  border-radius: 999px;
  background:
    repeating-linear-gradient(
      to right,
      transparent 0 13px,
      rgba(255,255,255,.92) 13px 25px,
      transparent 25px 38px
    ) center / auto 2px no-repeat,
    color-mix(in srgb, #4f9f58 82%, #ffffff);
  box-shadow: none;
  opacity: .92;
}

/* Turtle rides on the asphalt rather than floating above it */
.event-wizard-turtle {
  object-fit: contain;
  filter: none;
}

/* Reset default dot appearance; stations become illustrated landmarks. */
.event-wizard-station {
  background: transparent !important;
  z-index: 5;
  overflow: visible;
}

/* Labels become the clear, accessible part of the progress component. */
.event-wizard-progress-labels {
  
  line-height: 1.2;
  font-weight: 650;
}

/* The visual landmarks are decorative; clickable hit area stays comfortable. */
.event-wizard-station:focus-visible {
  outline: 2px solid color-mix(in srgb, #4f9f58 75%, white);
  outline-offset: 3px;
  border-radius: 8px;
}

@media (max-width: 760px) {
  .event-wizard-track {
    height: 64px;
    margin-inline: 24px;
  }

  .event-wizard-track::before{
    
    
  }.event-wizard-track-fill{
    top: 33px;
    height: 14px;
  }

  .event-wizard-turtle {
    top: 3px;
    
    
    
  }

  .event-wizard-station {
    top: 7px;
    transform: scale(.88);
    transform-origin: center bottom;
  }

  .event-wizard-progress-labels {
    margin-inline: 16px;
    font-size: .66rem;
  }
}


/* =========================================================
   v65.6 — use real SVG station assets for the event wizard
   ========================================================= */

/* Remove the CSS-drawn bench/flag from v65.5. */
.event-wizard-station.station-bench::before,
.event-wizard-station.station-bench::after,
.event-wizard-station.station-finish::before,
.event-wizard-station.station-finish::after {
  content: none !important;
  display: none !important;
}

.event-wizard-station.station-bench,
.event-wizard-station.station-finish {
  background-color: transparent !important;
  background-repeat: no-repeat !important;
  background-position: center bottom !important;
  background-size: contain !important;
}

.event-wizard-station.station-bench {
  background-image: url("./assets/event-wizard/bench.svg") !important;
}

.event-wizard-station.station-finish {
  background-image: url("./assets/event-wizard/flag.svg") !important;
}


/* =========================================================
   v65.7 — timeline proportion/alignment polish
   ========================================================= */

/* Lighter, slimmer road */
.event-wizard-track::before {
  top: 38px;
  height: 12px;
  background:
    repeating-linear-gradient(
      to right,
      transparent 0 16px,
      rgba(255,255,255,.92) 16px 27px,
      transparent 27px 43px
    ) center / auto 2px no-repeat,
    #c7ccd0;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.72),
    inset 0 -1px 0 rgba(44,56,66,.08);
}

/* Progress is communicated by turtle position; remove green painted road segment. */
.event-wizard-track-fill {
  display: none !important;
}

/* Slightly larger turtle, visually seated on the road. */
.event-wizard-turtle {
  width: 72px;
  height: 64px;
  margin-left: -36px;
  z-index: 7;
  
  
  
  
}

/* Slightly larger station landmarks for better visual balance. */
.event-wizard-station.station-bench {
  width: 72px;
  height: 64px;
  margin-left: -36px;
}

.event-wizard-station.station-finish {
  width: 64px;
  height: 70px;
  margin-left: -32px;
}

/* Move labels closer to landmarks/road. */
.event-wizard-progress-labels {
  font-size: .72rem;
}

/* Cleaner first station composition: turtle remains the moving indicator,
   station remains an independent landmark underneath/behind the ride. */
.event-wizard-station.station-1 {
  z-index: 4;
}

/* remove any border/background inherited around the turtle image */
.event-wizard-turtle{
  
  background: transparent !important;
}.event-wizard-turtle img{
  border: none !important;
  background: transparent !important;
}

/* mobile proportion tuning */
@media (max-width: 760px) {
  .event-wizard-track::before {
    top: 36px;
    height: 11px;
  }

  .event-wizard-turtle {
    width: 64px;
    height: 57px;
    margin-left: -32px;
  }

  .event-wizard-station.station-bench {
    width: 62px;
    height: 56px;
    margin-left: -31px;
  }

  .event-wizard-station.station-finish {
    width: 56px;
    height: 62px;
    margin-left: -28px;
  }

}


/* =========================================================
   v65.8 — timeline alignment + remove active landmark frame
   ========================================================= */

/* Active/current station must never draw a selection frame. */
.event-wizard-station{
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}.event-wizard-station:hover{
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}.event-wizard-station:active{
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}.event-wizard-station.active{
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}.event-wizard-station[aria-current="step"]{
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}.event-wizard-station[aria-pressed="true"]{
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

/* Keep keyboard accessibility without framing the SVG itself. */
.event-wizard-station:focus{
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}.event-wizard-station:focus-visible{
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

/* Lift landmarks so their grass/base sits just above the asphalt. */


/* Bring labels closer to the road. */

/* Turtle stays large, but remove every possible active/focus frame. */
.event-wizard-turtle{
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}.event-wizard-turtle:hover{
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}.event-wizard-turtle:active{
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}.event-wizard-turtle:focus{
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}.event-wizard-turtle:focus-visible{
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}.event-wizard-turtle.active{
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}.event-wizard-turtle[aria-current="step"]{
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

@media (max-width: 760px) {


}


/* =========================================================
   v65.9 — separate turtle from landmarks + lift timeline
   ========================================================= */

/* Lift benches and finish flag another step above the road. */
.event-wizard-station.station-bench {
  top: -20px;
}


/* Lift labels closer to the road / landmarks. */

/* Lift turtle slightly higher while keeping the larger size. */

/* Turtle stops are intentionally offset from the landmark centers:
   step 1 = just after the first bench,
   step 2 = just after the second bench,
   step 3 = just before the finish flag. */



@media (max-width: 760px) {
  .event-wizard-station.station-bench {
    top: -14px;
  }






}



/* =========================================================
   v66.57 — one canonical header DOM on every page
   ========================================================= */
.canonical-site-header .canonical-header-brand-wrap{
  position:relative;
  display:flex;
  align-items:center;
  min-width:0;
  z-index:1;
}
.canonical-site-header .canonical-mobile-actions,
.canonical-site-header .canonical-mobile-only{
  display:none;
}
.canonical-site-header .site-header-description{
  display:block;
}
@media (max-width:760px){
  .canonical-site-header{
    min-height:64px;
    padding:10px 12px;
    align-items:center;
    overflow:visible;
  }
  .canonical-site-header .canonical-desktop-actions{display:none!important;}
  .canonical-site-header .canonical-mobile-actions{
    display:flex;
    align-items:center;
    gap:8px;
    position:relative;
    z-index:4;
  }
  .canonical-site-header .canonical-mobile-only:not(.hidden){display:inline-flex;}
  .canonical-site-header .site-header-description{display:none!important;}
  .canonical-site-header .site-header-brand{min-width:0;}
  
  .canonical-site-header .brand-title-row,
  .canonical-site-header .brand-title-row .shared-site-header-title{
    font-size:11px;
    line-height:1.15;
    white-space:nowrap;
  }
  .canonical-site-header .beta-badge{
    display:inline-flex;
    font-size:8px;
    padding:2px 5px;
  }
  .canonical-site-header .mobile-account-button,
  .canonical-site-header .mobile-menu-button{
    min-height:36px;
    border:1px solid rgba(255,255,255,.22);
    border-radius:10px;
    background:rgba(255,255,255,.11);
    color:#fff;
    font:inherit;
  }
  .canonical-site-header .mobile-account-button{padding:0 10px;font-size:12px;font-weight:750;}
  .canonical-site-header .mobile-menu-button{
    width:38px;
    padding:0;
    display:grid;
    place-items:center;
  }
  .canonical-site-header .mobile-menu-button svg,
  .canonical-site-header .mobile-header-back svg{
    width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;
  }
  .canonical-site-header .mobile-header-menu{
    position:absolute;
    top:calc(100% + 8px);
    right:0;
    min-width:220px;
    padding:8px;
    border:1px solid var(--line,#d7e0dc);
    border-radius:14px;
    background:var(--surface,#fff);
    box-shadow:0 18px 50px rgba(10,40,34,.18);
    color:var(--text,#18212b);
    z-index:2000;
  }
  .canonical-site-header .mobile-header-menu a,
  .canonical-site-header .mobile-header-menu button{
    box-sizing:border-box;
    width:100%;
    display:block;
    padding:10px 11px;
    border:0;
    border-radius:9px;
    background:transparent;
    color:inherit;
    text-align:left;
    text-decoration:none;
    font:inherit;
  }
}
