/* Site categories sit alongside the existing lottery shortcuts. */
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #faf7f2;
}
.category-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 6px 16px;
  border-radius: 11px;
  color: #514031;
  font-size: .94rem;
  font-weight: 800;
  text-decoration: none;
}
.category-nav a:hover, .category-nav a:focus-visible {
  background: white;
  box-shadow: var(--shadow);
}
.category-nav a:last-child { color: #57396c; }
.site-nav { justify-content: safe flex-end; }
.site-nav a.category-link { color: #57396c; }
.site-nav a.category-link::before { display: none; }
.site-nav a.category-link:first-of-type, .site-nav a:not(.category-link) + .category-link {
  margin-left: 5px;
  border-left: 1px solid var(--line);
  border-radius: 0;
}
.party-section {
  border-bottom: 1px solid var(--line);
  background: #fcf7ef;
  padding-block: clamp(32px, 5vw, 62px);
}
.party-section .section-lead { margin: 8px 0 0; }
.party-grid { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0,1fr)); }
.party-card {
  display: grid;
  grid-template-columns: minmax(106px, 31%) minmax(0,1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--card-shadow);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
}
.theater-card { --card-ink: #77385e; --card-wash: #f7e9f0; }
.studio-card { --card-ink: #304b83; --card-wash: #e9eef9; }
.party-card:hover, .party-card:focus-visible { border-color: var(--card-ink); }
.party-copy { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(14px, 2vw, 24px); }
.party-players {
  padding: 2px 10px;
  background: var(--card-wash);
  border-radius: 20px;
  color: var(--card-ink);
  font-size: .84rem;
  font-weight: 800;
}
.party-copy h3 { margin: 7px 0 4px; font-size: clamp(1.15rem, 2vw, 1.55rem); }
.party-copy p { margin: 0 0 14px; color: var(--muted); font-size: .95rem; line-height: 1.65; }
.party-enter {
  margin-top: auto;
  color: var(--card-ink);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: .22em;
}
.party-art { position: relative; isolation: isolate; display: grid; place-content: center; overflow: hidden; }
.theater-art {
  background: radial-gradient(ellipse at 50% 72%, #ab5b70 0, #72364e 41%, #442537 86%);
  border-bottom: 8px solid #924d4b;
}
.theater-art::before, .theater-art::after {
  content: ""; position: absolute; z-index: -1; width: 42%; height: 86%; top: -13%;
  border-radius: 0 0 85% 0; border-bottom: 4px solid #e5b570;
  background: repeating-linear-gradient(86deg, #973f51 0%, #ae5060 25%, #73374b 49%);
}
.theater-art::before { left: -5%; transform: rotate(5deg); }
.theater-art::after { right: -5%; transform: scaleX(-1) rotate(5deg); }
.theater-art span { font-size: clamp(2.6rem, 5vw, 4.5rem); filter: drop-shadow(0 5px 4px #35192377); }
.studio-art {
  align-content: center; justify-items: center; gap: 14px;
  background: radial-gradient(circle, #cad9ff4a 1px, transparent 1.6px) 0 0 / 12px 12px,
    linear-gradient(145deg, #172539, #334467 67%, #443664);
}
.studio-sign {
  padding: 3px 9px; border-radius: 5px; border: 2px solid #f2acba;
  background: #43283e; color: #ffd9df; font: 800 clamp(.8rem, 1.6vw, 1.15rem)/1.5 system-ui, sans-serif;
  letter-spacing: .1em; box-shadow: 0 0 14px #f46d8450;
}
.studio-keys {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 5px; transform: rotate(-6deg);
  padding: 5px; background: #152237; border-radius: 9px;
}
.studio-keys i {
  width: clamp(1.8rem, 3vw, 2.7rem); padding: 3px; text-align: center; border-radius: 5px;
  background: #f4abac; color: #23263d; font: 850 1rem/1.5 system-ui, sans-serif;
}
.studio-keys i:nth-child(2) { background: #a5cffa; }
.studio-keys i:nth-child(3) { background: #f7d584; }
.studio-keys i:last-child { background: #9bdfc7; }
@media (max-width: 760px) {
  .site-nav { justify-content: flex-start; }
  .party-grid { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 540px) {
  .home-page .site-header { gap: 0; }
  .category-nav { width: 100%; margin-bottom: 2px; }
  .category-nav a { flex: 1 1 auto; }
  .party-card { grid-template-columns: minmax(84px, 27%) minmax(0,1fr); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
