:root{color-scheme:dark;--bg:#090c0b;--panel:#111713;--line:#29332c;--muted:#a6b1a9;--ink:#f3f6f1;--lime:#c3f586;--green:#163f27;--radius:18px;font-family:Arial,Helvetica,sans-serif;background:var(--bg);color:var(--ink)}
*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button,select{cursor:pointer}a:hover{text-decoration:underline;text-underline-offset:5px}button,input,select{color:var(--ink)}:focus-visible{outline:3px solid var(--lime);outline-offset:5px}::selection{background:var(--lime);color:var(--bg)}[hidden]{display:none!important}.sr-only,.skip{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip:focus{position:fixed;top:12px;left:12px;clip:auto;width:auto;height:auto;z-index:20;padding:15px;background:var(--lime);color:#090c0b}.site-header{max-width:1440px;margin:auto;padding:26px 48px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{font-size:20px;font-weight:900;letter-spacing:-1px;display:flex;align-items:center;gap:5px}.brand span{font-weight:400}.brand i{font-size:25px;color:var(--lime);font-style:normal;margin-left:8px}.site-header nav{display:flex;gap:28px;font-size:14px}.site-header nav a{padding:12px 0;color:var(--muted)}.site-header nav .active{color:var(--lime);border-bottom:2px solid var(--lime)}main{max-width:1440px;margin:auto;padding:0 48px}.discovery-hero{position:relative;padding:50px 0 28px;background:radial-gradient(ellipse at 80% 38%,#163f2780,transparent 57%)}.hero-copy{position:relative;z-index:1}.eyebrow{font-size:11px;font-weight:700;letter-spacing:2.5px;color:var(--lime);margin:0 0 20px}h1{font-size:clamp(42px,5.6vw,78px);line-height:1.03;letter-spacing:-3px;margin:0;font-weight:600}h1 em{font-style:normal;color:var(--lime)}.hero-copy>p:last-child{font-size:17px;color:var(--muted);margin:20px 0 34px}.hero-orbit{position:absolute;right:8%;top:30px;transform:rotate(-12deg);font-size:190px;font-weight:900;font-style:italic;color:#c3f58612;border:1px solid #c3f58622;border-radius:50%;width:270px;height:270px;display:grid;place-items:center}.hero-orbit span{position:absolute;right:-14px;bottom:0;font-size:80px;color:var(--lime)}.filters{position:relative;z-index:1}.filter-top{display:flex;gap:20px;align-items:center;margin-bottom:18px}.label{font-size:10px;letter-spacing:2px;color:var(--muted);display:block;margin-bottom:6px}.select-wrap{display:flex;align-items:center;gap:10px;font-size:23px}.select-wrap>span{color:var(--lime);font-size:32px}.select-wrap select{font-size:23px;max-width:250px;background:var(--bg);border:0;padding:6px 0}.location-note{color:var(--muted);font-size:11px;line-height:1.5;border-left:1px solid var(--line);padding-left:20px}.filter-row{display:grid;grid-template-columns:180px 185px 1fr auto;gap:10px}.filter-field,.search-field{border:1px solid var(--line);background:#111713e6;border-radius:12px;min-height:60px;padding:9px 13px}.filter-field>span{display:block;color:var(--muted);font-size:10px;letter-spacing:1px;text-transform:uppercase;margin-bottom:3px}.filter-field input,.filter-field select{border:0;padding:0;background:transparent;width:100%;font-size:14px;min-height:24px;min-width:0}.search-field{display:flex;align-items:center;gap:10px}.search-field>span[aria-hidden]{font-size:29px;color:var(--muted)}.search-field input{border:0;background:transparent;width:100%;min-width:0;font-size:14px;height:36px}.search-field input::placeholder{color:var(--muted)}select option{background:var(--panel);color:var(--ink)}.button{border:1px solid var(--lime);background:var(--lime);color:#101b12;display:inline-flex;align-items:center;justify-content:center;gap:20px;padding:15px 20px;border-radius:12px;font-size:13px;font-weight:700;min-height:48px}.button:hover{background:#d2ffa1}.button.secondary{background:transparent;color:var(--ink);border-color:var(--line)}.feed-meta{display:flex;justify-content:space-between;gap:24px;align-items:center;padding:0 0 22px;border-bottom:1px solid var(--line);font-size:11px;line-height:1.6;color:var(--muted)}.feed-meta a{font-size:13px;color:var(--lime);white-space:nowrap;padding:12px 0}.discovery-section{margin:36px 0 48px;min-width:0}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.section-heading h2{font-size:27px;letter-spacing:-.8px;font-weight:500;margin:0 0 7px}.section-heading p{color:var(--muted);font-size:13px;line-height:1.4;margin:0}.all{font-size:13px;white-space:nowrap;padding:14px 0 14px 14px}.all span{padding-left:10px;color:var(--lime)}.boundary{padding-bottom:28px;border-bottom:1px solid var(--line);margin-bottom:32px}.boundary .section-heading{margin-bottom:15px}.boundary-note{display:flex;align-items:center;gap:16px;border:1px solid var(--line);border-radius:12px;padding:15px 18px;background:linear-gradient(100deg,#142419,#101512);max-width:850px}.boundary-note p{font-size:13px;color:var(--muted);line-height:1.6;margin:0}.boundary-icon{font-size:25px;color:var(--lime);flex-shrink:0}.category-rail{display:flex;overflow-x:auto;gap:10px;padding:5px 3px 14px;scrollbar-width:thin;scrollbar-color:#526c57 transparent}.category{border:1px solid #354239;border-radius:30px;white-space:nowrap;padding:14px 20px;font-size:13px;background:#111713;min-height:46px}.category.selected{background:var(--lime);border-color:var(--lime);color:#101b12}.card-rail{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;min-width:0}.card{min-width:0}.flyer-frame{aspect-ratio:4/5;position:relative;border-radius:var(--radius);overflow:hidden;background:#121913}.flyer{display:block;width:100%;aspect-ratio:4/5;object-fit:contain;background:#121913;border-radius:var(--radius)}.flyer-link{display:block;transition:transform .18s ease}.flyer-link:hover{transform:translateY(-3px)}.image-error{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;background:linear-gradient(140deg,#1a3222,#0c110e)}.image-error span{color:var(--lime);font-weight:800;font-size:24px}.image-error small{color:var(--muted)}.placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;background:linear-gradient(140deg,#1a3222,#0c110e)}.placeholder span{font-size:40px;line-height:.9;font-weight:900;color:var(--lime);letter-spacing:-2px}.placeholder small{font-size:12px;color:var(--muted)}.card-body{padding:17px 0 0}.card-admission{font-size:11px!important;font-weight:700;letter-spacing:.5px;color:var(--lime)!important;margin-bottom:9px!important}.card h3{margin:0 0 10px;font-size:19px;line-height:1.25;letter-spacing:-.3px;overflow-wrap:anywhere}.card-body p{font-size:13px;color:var(--muted);line-height:1.5;margin:3px 0;overflow-wrap:anywhere}.card-body .event-date{color:#dce5dd;margin-top:9px;font-size:12px}.section-empty{padding:28px 20px;border:1px dashed #344239;border-radius:12px;color:var(--muted);font-size:14px;line-height:1.5}.week-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));max-width:640px;gap:8px;margin:0 0 26px}.week-day{min-height:90px;border:1px solid var(--line);border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:var(--panel)}.week-day>span{font-size:10px;letter-spacing:1px;color:var(--muted)}.week-day strong{font-size:23px;font-weight:500}.week-day small{font-size:9px;color:var(--lime)}.week-day.today{border-color:#86ad59}.week-day.selected,.calendar-day.selected{background:#264c30;border-color:var(--lime)}.month-layout{display:grid;grid-template-columns:340px minmax(0,1fr);gap:32px}.calendar{border:1px solid var(--line);background:var(--panel);border-radius:18px;padding:22px;align-self:start}.calendar h3{margin:0 0 22px;font-size:17px;font-weight:500}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.calendar-grid abbr{font-size:10px;text-align:center;color:var(--muted);text-decoration:none;margin-bottom:12px}.calendar-day{min-height:44px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px;border-radius:7px;font-size:12px;border:1px solid transparent}.calendar-day small{font-size:9px;color:var(--lime)}.calendar-day.today{border-color:var(--lime)}.calendar-note{font-size:10px;color:var(--muted);margin-bottom:0}.month-events .card-rail{grid-template-columns:repeat(2,minmax(0,1fr))}.calendar-day:hover{background:#243929}.reset{display:inline-block;color:var(--lime);font-size:13px;padding:12px 0;margin-bottom:18px}.empty{padding:32px;border:1px solid var(--line);border-radius:18px;margin-top:32px}.empty h2{font-size:24px}.empty p{color:var(--muted)}.pagination{display:flex;align-items:center;justify-content:space-between;margin:40px 0;font-size:13px;color:var(--muted);gap:12px}footer{max-width:1344px;margin:52px auto 0;padding:28px 0;display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);font-size:10px;letter-spacing:1px;color:var(--muted)}footer a{text-decoration:underline}.loading{position:fixed;top:0;left:0;right:0;z-index:10;background:var(--lime);color:#101b12;padding:14px;text-align:center;margin:0;font-size:14px}.back{display:inline-block;padding:30px 0;color:var(--muted);font-size:14px}.detail{display:grid;grid-template-columns:minmax(0,440px) minmax(0,1fr);gap:60px;padding:10px 0 45px}.detail h1{font-size:clamp(32px,4vw,54px);overflow-wrap:anywhere;letter-spacing:-1.5px}.detail dl{margin:32px 0;line-height:1.7}.detail dt{font-size:11px;text-transform:uppercase;letter-spacing:1.5px;color:var(--muted);margin-top:20px}.detail dd{margin:4px 0;font-size:16px}.muted,.source-note{color:var(--muted)}.detail h2{font-size:20px;font-weight:500}.description{white-space:pre-wrap;line-height:1.7;overflow-wrap:anywhere}.source-note{font-size:12px;margin-top:30px}.notice{color:#f2d491!important;font-size:13px}.message{padding:80px 0;max-width:700px}.message h1{font-size:44px}.message>p:not(.eyebrow){color:var(--muted);line-height:1.6;margin:24px 0}.message .button{margin-top:12px}
@media(min-width:1500px){.card-rail{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1000px){main{padding:0 28px}.site-header{padding:20px 28px}.filter-row{grid-template-columns:1fr 1fr}.search-field{min-width:0}.card-rail{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.month-layout{grid-template-columns:300px minmax(0,1fr);gap:24px}.month-events .card-rail{grid-template-columns:1fr}footer{margin:40px 28px 0}.hero-orbit{right:5%;opacity:.6}.detail{gap:32px}}
@media(max-width:600px){main{padding:0 20px}.site-header{padding:16px 20px}.brand{font-size:17px}.brand i{font-size:21px;margin-left:3px}.site-header nav{gap:18px;font-size:12px}.discovery-hero{padding-top:30px;background:radial-gradient(ellipse at 85% 20%,#163f2780,transparent 65%)}.eyebrow{font-size:9px;margin-bottom:15px;letter-spacing:2px}h1{font-size:44px;letter-spacing:-2px}.hero-copy>p:last-child{font-size:14px;margin:16px 0 25px}.hero-orbit{width:125px;height:125px;font-size:90px;right:0;top:48px;opacity:.45}.hero-orbit span{font-size:38px;right:0}.filter-top{gap:12px}.select-wrap select{font-size:20px;max-width:190px}.location-note{font-size:9px;padding-left:12px}.filter-field{min-width:0;padding:10px}.filter-row{gap:8px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.search-field{grid-column:1/3}.filter-row>.button{grid-column:1/3;min-height:46px;padding:12px}.feed-meta{align-items:flex-start;flex-direction:column;gap:0;font-size:10px;padding-bottom:13px}.feed-meta p{margin:0}.feed-meta a{font-size:12px}.section-heading h2{font-size:25px}.section-heading p{font-size:12px}.discovery-section{margin:28px 0 38px}.boundary{padding-bottom:24px}.boundary-note{padding:14px;gap:13px}.boundary-note p{font-size:12px}.boundary-icon{font-size:23px}.category-rail{margin-right:-20px;padding-right:20px}.category{font-size:12px;padding:13px 17px}.card-rail,.month-events .card-rail{display:flex;overflow-x:auto;scroll-snap-type:x proximity;gap:18px;margin-right:-20px;padding:4px 20px 16px 0;scrollbar-width:thin;scrollbar-color:#526c57 transparent}.card{flex:0 0 79%;scroll-snap-align:start}.card:only-child{flex-basis:min(100%,340px)}.card h3{font-size:20px}.card-body{padding-top:14px}.card-body p{font-size:13px}.week-strip{gap:5px}.week-day{min-height:80px;border-radius:10px;gap:7px}.week-day>span{font-size:8px;letter-spacing:.5px}.week-day strong{font-size:20px}.week-day small{font-size:8px}.month-layout{display:block}.calendar{max-width:400px;padding:20px;margin-bottom:24px}.calendar-day{min-height:44px}.calendar-grid{gap:2px}.empty{padding:20px}.empty h2{font-size:22px}.detail{display:block;padding-top:0}.detail>.detail-body{margin-top:30px}.detail-flyer{max-height:650px}.detail h1{font-size:36px}.message{padding:60px 0}.message h1{font-size:34px}.message .eyebrow{font-size:10px}footer{margin:32px 20px 0;flex-direction:column;font-size:9px;line-height:1.6;gap:12px}.pagination .button{font-size:11px;padding:12px;gap:6px}.pagination{font-size:11px}.section-empty{font-size:13px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.card-click{display:block;border-radius:var(--radius)}.card-click:hover{text-decoration:none}.card-click:hover h3{text-decoration:underline;text-underline-offset:4px}


/* Party Social discovery sheets */
.location-trigger,.filter-button{appearance:none;border:0;background:transparent;color:inherit;text-align:left;padding:0;cursor:pointer}
.location-trigger strong,.filter-button strong{font-weight:500}
.sheet-backdrop{position:fixed;inset:0;background:#000a;z-index:90}
body.sheet-open{overflow:hidden}
.filter-sheet{position:fixed;z-index:100;left:50%;bottom:0;transform:translateX(-50%);width:min(680px,100%);max-height:88vh;overflow:auto;background:#101713;border:1px solid var(--line);border-bottom:0;border-radius:24px 24px 0 0;padding:14px 26px 30px;box-shadow:0 -20px 60px #0008}
.sheet-handle{width:48px;height:4px;border-radius:5px;background:#607065;margin:0 auto 22px}
.sheet-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:20px}
.sheet-head h2{font-size:30px;margin:0;font-weight:500}
.sheet-head .eyebrow{margin-bottom:7px}
.sheet-close{border:1px solid var(--line);background:transparent;color:var(--ink);width:42px;height:42px;border-radius:50%;font-size:25px}
.nearby-button{width:100%;display:flex;gap:15px;align-items:center;text-align:left;border:1px solid var(--line);border-radius:14px;background:#142019;color:var(--ink);padding:17px}
.nearby-button>span:first-child{font-size:30px;color:var(--lime)}
.nearby-button span:last-child{display:flex;flex-direction:column;gap:4px}
.nearby-button small,.sheet-note,.sheet-status{color:var(--muted);font-size:11px;line-height:1.5}
.sheet-status{min-height:18px}
.sheet-search input{width:100%;min-height:52px;border:1px solid var(--line);border-radius:12px;background:#0d120f;color:var(--ink);padding:0 15px;margin:8px 0 12px}
.city-options{display:grid;gap:6px;max-height:280px;overflow:auto}
.city-option{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding:15px 5px}
.city-option.selected{color:var(--lime)}
.date-presets{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:22px}
.date-presets a{border:1px solid var(--line);border-radius:30px;text-align:center;padding:13px 8px;font-size:12px}
.picker-calendar{border:1px solid var(--line);border-radius:17px;padding:18px;background:var(--panel)}
.calendar-nav{display:grid;grid-template-columns:44px 1fr 44px;align-items:center;text-align:center;margin-bottom:18px}
.calendar-nav a{display:grid;place-items:center;min-height:40px;border:1px solid var(--line);border-radius:50%}
.choose-date{width:100%;margin-top:18px}
.filter-button{width:100%}
.filter-button strong{display:block;font-size:14px;min-height:24px;padding-top:3px}

@media(max-width:600px){
  .filter-sheet{padding:12px 20px 26px;max-height:91vh}
  .sheet-head h2{font-size:27px}
  .date-presets{gap:6px}
  .date-presets a{font-size:11px;padding:12px 5px}
}

/* =====================================================
   Party Social application shell
   ===================================================== */

:root {
  --party-pink: #c52a78;
  --party-text: #171717;
  --party-muted: #68686f;
  --party-line: #e9e9ed;
  --party-soft: #f4f4f6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--party-text);
  background: #fff;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

body.party-menu-open {
  overflow: hidden;
}

.party-app {
  width: 100%;
  min-height: 100vh;
  padding-bottom: calc(78px + env(safe-area-inset-bottom));
  background: #fff;
}

.party-header {
  position: relative;
  z-index: 20;
  padding: max(14px, env(safe-area-inset-top)) 16px 10px;
  background: #fff;
}

.party-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.party-brand {
  color: #151515;
  text-decoration: none;
  font-size: 25px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.4px;
}

.party-brand span {
  color: var(--party-pink);
  font-weight: 900;
}

.menu-button {
  width: 42px;
  height: 42px;
  padding: 8px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 24px;
  height: 2.5px;
  border-radius: 999px;
  background: #151515;
}

.party-ai {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 7px 7px 7px 14px;
  background: var(--party-soft);
  border: 1px solid #e7e7ea;
  border-radius: 18px;
}

.party-ai-icon {
  flex: 0 0 auto;
  font-size: 19px;
  line-height: 1;
}

.party-ai-copy {
  flex: 1;
  min-width: 0;
}

.party-ai-label {
  display: block;
  margin-bottom: 2px;
  color: var(--party-pink);
  font-size: 11px;
  line-height: 1.1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .45px;
}

.party-ai-text {
  display: block;
  overflow: hidden;
  color: #555;
  font-size: 14px;
  line-height: 1.25;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.party-ai-submit {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #151515;
  color: #fff;
  font-size: 20px;
  line-height: 38px;
  text-align: center;
  cursor: pointer;
}

.events-main {
  width: 100%;
}

/* Bottom application navigation */

.party-bottom-nav {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  min-height: 64px;
  padding: 6px 5px calc(6px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--party-line);
  background: rgba(255,255,255,.97);
}

.party-bottom-item {
  min-width: 0;
  border: 0;
  background: transparent;
  color: #77777d;
  text-decoration: none;
  font: inherit;
  font-size: 10px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
}

.party-bottom-item.active {
  color: var(--party-pink);
}

.party-bottom-icon {
  font-size: 21px;
  line-height: 1;
}

.party-create-icon {
  width: 34px;
  height: 34px;
  margin-top: -15px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #151515;
  color: #fff;
  font-size: 25px;
  line-height: 1;
}

/* Slide-out menu */

.party-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(12,12,18,.46);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}

.party-menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.party-menu-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 9999;
  width: min(90vw, 390px);
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  color: #171717;
  box-shadow: -10px 0 35px rgba(0,0,0,.16);
  transform: translateX(105%);
  transition: transform .25s ease;
}

.party-menu-drawer.is-open {
  transform: translateX(0);
}

.party-menu-top {
  flex: 0 0 auto;
  padding: max(18px, env(safe-area-inset-top)) 18px 14px;
  border-bottom: 1px solid #eee;
  background:
    linear-gradient(
      135deg,
      rgba(197,42,120,.07),
      rgba(111,66,193,.05) 55%,
      #fff 100%
    );
}

.party-menu-profile-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.party-menu-profile {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #171717;
  text-decoration: none;
}

.party-menu-profile strong,
.party-menu-profile small {
  display: block;
}

.party-menu-profile strong {
  font-size: 15px;
}

.party-menu-profile small {
  margin-top: 2px;
  color: #777;
  font-size: 12px;
}

.party-menu-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ececf0;
  font-size: 25px;
}

.party-menu-close {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #f1f1f3;
  color: #222;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.party-menu-ai {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 5px 6px 5px 12px;
  border: 1px solid #e5e5e9;
  border-radius: 15px;
  background: #fff;
}

.party-menu-ai input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #333;
  font: inherit;
  font-size: 14px;
}

.party-menu-ai button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #151515;
  color: #fff;
  cursor: pointer;
}

.party-menu-content {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 10px 12px max(22px, env(safe-area-inset-bottom));
}

.party-menu-list {
  display: flex;
  flex-direction: column;
}

.party-menu-item {
  flex: none;
  width: 100%;
  min-height: 43px;
  padding: 7px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #29292d;
  text-decoration: none;
  text-align: left;
  font: inherit;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.party-menu-item:hover,
.party-menu-item:focus-visible {
  background: #f7f7f8;
}

.party-menu-item.active {
  color: var(--party-pink);
  background: rgba(197,42,120,.08);
}

.party-menu-icon {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #f4f4f6;
  color: #29292d;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 600;
}

.party-menu-divider {
  height: 1px;
  margin: 9px 8px;
  background: #ededf0;
}

.party-menu-logout {
  color: #b42318;
}

.party-menu-logout .party-menu-icon {
  color: #b42318;
}

@media (min-width: 800px) {
  body {
    background: #ededed;
  }

  .party-app {
    width: min(100%, 760px);
    margin: 0 auto;
    box-shadow: 0 0 30px rgba(0,0,0,.08);
  }

  .party-bottom-nav {
    left: 50%;
    width: min(100%, 760px);
    transform: translateX(-50%);
  }
}


/* ==========================================================
   PARTY SOCIAL EVENTS — APP DISCOVERY BODY
   ========================================================== */

.events-main {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding-bottom: 110px;
}

.events-app-header {
  padding: 28px 28px 12px;
}

.events-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.events-title-row h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: .95;
  letter-spacing: -.045em;
}

.events-city-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #666;
  font: inherit;
  font-size: .95rem;
  cursor: pointer;
}

.events-app-tabs {
  display: flex;
  gap: 28px;
  margin-top: 28px;
  border-bottom: 1px solid #e7e7ea;
}

.events-app-tab {
  position: relative;
  padding: 0 0 12px;
  border: 0;
  background: transparent;
  color: #777;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.events-app-tab.active {
  color: #111;
}

.events-app-tab.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  border-radius: 999px;
  background: #c52a78;
}

.events-app-search {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 0 16px;
  min-height: 50px;
  border: 1px solid #e6e6ea;
  border-radius: 16px;
  background: #f7f7f8;
}

.events-app-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #17171a;
  font: inherit;
}

.events-quick-filters,
.events-category-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 14px 0 2px;
}

.events-quick-filters::-webkit-scrollbar,
.events-category-strip::-webkit-scrollbar {
  display: none;
}

.events-quick-filters a,
.events-quick-filters button,
.events-quick-filters select,
.events-category-strip a {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid #dedee3;
  border-radius: 999px;
  background: #fff;
  color: #333;
  font: inherit;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.events-quick-filters a,
.events-quick-filters button,
.events-category-strip a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.events-quick-filters label {
  flex: 0 0 auto;
}

.events-quick-filters .active,
.events-category-strip .active {
  border-color: #c52a78;
  background: #c52a78;
  color: #fff;
}

.events-category-strip {
  padding-top: 12px;
}

.events-support-controls > .filters {
  display: none;
}

.events-app-section {
  padding: 22px 28px 10px;
}

.events-app-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.events-app-heading h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  letter-spacing: -.025em;
}

.events-app-heading a {
  color: #c52a78;
  font-size: .88rem;
  font-weight: 800;
  text-decoration: none;
}

.events-app-section .card-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 280px);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 2px 2px 18px;
}

.events-app-section .card {
  width: auto;
  min-width: 0;
  scroll-snap-align: start;
}

.events-app-section .card-click {
  display: block;
}

.events-app-section .flyer-frame,
.events-app-section .flyer.placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
}

.events-app-section .flyer {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.events-app-section .card-body {
  padding: 12px 4px 2px;
}

.events-app-section .card-body h3 {
  margin: 3px 0 5px;
  font-size: 1.08rem;
  line-height: 1.2;
}

.events-app-section .venue,
.events-app-section .city,
.events-app-section .event-date {
  margin: 2px 0;
  font-size: .88rem;
}

.events-app-section .card-admission {
  display: inline-flex;
  margin: 0 0 4px;
  color: #c52a78;
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

@media (min-width: 760px) {
  .events-main {
    padding-right: 20px;
    padding-left: 20px;
  }

  .events-app-header,
  .events-app-section {
    padding-right: 36px;
    padding-left: 36px;
  }

  .events-app-section .card-rail {
    grid-auto-columns: minmax(240px, 300px);
  }
}

@media (min-width: 1100px) {
  .events-main {
    width: min(calc(100% - 48px), 1180px);
  }

  .events-app-header {
    padding-top: 38px;
  }

  .events-app-section .card-rail {
    grid-auto-columns: minmax(260px, 310px);
  }
}

@media (max-width: 600px) {
  .events-app-header {
    padding: 22px 16px 8px;
  }

  .events-app-section {
    padding: 20px 16px 8px;
  }

  .events-app-tabs {
    gap: 24px;
  }

  .events-app-section .card-rail {
    grid-auto-columns: minmax(280px, 88vw);
    gap: 14px;
  }

  .events-title-row h1 {
    font-size: 2rem;
  }
}

/* =========================================================
   Party Social Events — final responsive sizing
   Discovery cards + event detail
   ========================================================= */

/* Discovery: substantial cards instead of miniature flyers. */
@media (min-width: 901px) {
  .events-app-section .card-rail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    align-items: start;
  }

  .events-app-section .card {
    width: 100%;
    max-width: 340px;
    min-width: 0;
  }

  .events-app-section .flyer-frame,
  .events-app-section .flyer.placeholder {
    width: 100%;
    aspect-ratio: 4 / 5;
  }

  .events-app-section .flyer {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  /* Detail: give both the flyer and event information useful room. */
  .detail {
    grid-template-columns: minmax(360px, 520px) minmax(360px, 1fr);
    gap: clamp(36px, 5vw, 72px);
    width: 100%;
    align-items: start;
  }

  .detail-body {
    min-width: 0;
  }

  .detail h1 {
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
}

/* Wider desktop: four discovery cards when space actually permits it. */
@media (min-width: 1280px) {
  .events-app-section .card-rail {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Tablet: two substantial cards. */
@media (min-width: 601px) and (max-width: 900px) {
  .events-app-section .card-rail {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .events-app-section .card {
    width: 100%;
    max-width: none;
  }

  .detail {
    grid-template-columns: minmax(280px, 44%) minmax(0, 1fr);
    gap: 32px;
  }
}

/* Mobile keeps the established stacked/scrolling behavior. */
@media (max-width: 600px) {
  .detail h1 {
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
}

/* Party Social Events — mobile bottom-sheet contrast fix */
.filter-sheet {
  color: #f4f6f4;
}

.filter-sheet .sheet-head h2,
.filter-sheet .nearby-button strong,
.filter-sheet .city-option,
.filter-sheet .calendar-nav,
.filter-sheet .calendar-nav a,
.filter-sheet .calendar-day {
  color: #f4f6f4;
}

.filter-sheet .nearby-button small,
.filter-sheet .sheet-note,
.filter-sheet .sheet-status,
.filter-sheet .calendar-grid abbr {
  color: #aeb8b0;
}

.filter-sheet .city-option.selected,
.filter-sheet .calendar-day small,
.filter-sheet .eyebrow {
  color: var(--lime);
}

.filter-sheet .sheet-close {
  color: #f4f6f4;
}

.filter-sheet .sheet-search input {
  color: #f4f6f4;
}

.filter-sheet .sheet-search input::placeholder {
  color: #aeb8b0;
}

.filter-sheet .calendar-day.today {
  color: var(--lime);
}

.filter-sheet .calendar-day.selected {
  color: #f4f6f4;
}

/* Party Social Events — bottom-sheet mobile layout correction */
.filter-sheet {
  background: #fff;
  color: #171717;
  max-height: calc(100dvh - 150px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: 32px;
}

.filter-sheet .sheet-handle {
  background: #a5a5a5;
}

.filter-sheet .sheet-head h2,
.filter-sheet .nearby-button strong,
.filter-sheet .city-option,
.filter-sheet .calendar-nav,
.filter-sheet .calendar-nav a,
.filter-sheet .calendar-day {
  color: #171717;
}

.filter-sheet .eyebrow,
.filter-sheet .city-option.selected,
.filter-sheet .calendar-day.today,
.filter-sheet .calendar-day small {
  color: #c82d7c;
}

.filter-sheet .nearby-button small,
.filter-sheet .sheet-note,
.filter-sheet .sheet-status,
.filter-sheet .calendar-grid abbr {
  color: #686868;
}

.filter-sheet .sheet-close {
  color: #171717;
  border-color: #d8d8d8;
  background: #fff;
}

.filter-sheet .nearby-button,
.filter-sheet .picker-calendar {
  background: #fafafa;
  border-color: #dedede;
}

.filter-sheet .sheet-search input {
  background: #fff;
  color: #171717;
  border-color: #d8d8d8;
}

.filter-sheet .sheet-search input::placeholder {
  color: #777;
}

.filter-sheet .city-option {
  border-color: #e2e2e2;
}

.filter-sheet .calendar-nav a {
  border-color: #d8d8d8;
}

.filter-sheet .calendar-day.today,
.filter-sheet .calendar-day.selected {
  border-color: #c82d7c;
}

.filter-sheet .calendar-day.selected {
  background: #f9e5f0;
  color: #171717;
}

@media (max-width: 600px) {
  .filter-sheet {
    max-height: calc(100dvh - 118px);
    padding-bottom: 38px;
  }
}

/* Party Social Events — keep sheet content clear of fixed bottom navigation */
.filter-sheet {
padding-bottom: 120px;
scroll-padding-bottom: 120px;
}

@media (max-width: 600px) {
.filter-sheet {
max-height: calc(100dvh - 105px);
padding-bottom: 130px;
scroll-padding-bottom: 130px;
}
}

/* Party Social Events — definitive mobile discovery card width */
@media (max-width: 600px) {
  .events-app-section .card {
    flex: 0 0 40vw;
    width: 40vw;
    max-width: 40vw;
  }

  .events-app-section .card:only-child {
    flex-basis: 40vw;
  }
}

/* Party Social Events — mobile flyer overlap correction */
@media (max-width: 600px) {
  .events-app-section .card-rail {
    display: flex;
    flex-wrap: nowrap;
    gap: 14px;
  }

  .events-app-section .card {
    flex: 0 0 40vw;
    width: 40vw;
    max-width: 40vw;
    min-width: 40vw;
    box-sizing: border-box;
  }

  .events-app-section .card:only-child {
    flex-basis: 40vw;
  }
}
