:root {
  color-scheme: light;
  --bg: #c8f5ff;
  --bg-alt: #b9e9f4;
  --panel: rgba(228, 242, 251, 0.9);
  --panel-strong: #d4ebf8;
  --panel-light: #f7fcff;
  --surface-card: #fdf9f2;
  --surface-text: #314758;
  --surface-muted: #6b7d8d;
  --text: #25384a;
  --text-muted: #5f7489;
  --text-dark: #294156;
  --accent: #b06cff;
  --accent-strong: #7a31d1;
  --accent-soft: rgba(176, 108, 255, 0.16);
  --pink: #ff7fce;
  --blue: #7ed9ff;
  --green: rgba(72, 193, 122, 0.88);
  --red: rgba(226, 74, 99, 0.88);
  --line: rgba(60, 104, 140, 0.14);
  --shadow: 0 18px 40px rgba(85, 133, 168, 0.18);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --max-width: 1120px;
  --fs-page-title: clamp(2rem, 6.2vw, 4.25rem);
  --fs-section-title: 1.06rem;
  --fs-card-title: 0.94rem;
  --fs-body: 0.94rem;
  --fs-small: 0.82rem;
  --fs-xs: 0.74rem;
  --lh-tight: 1.15;
  --lh-copy: 1.45;
  font-family: "Trebuchet MS", "Avenir Next", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  position: relative;
  padding-bottom: 190px;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: var(--lh-copy);
}

body.theme-light {
  color-scheme: light;
}

body.theme-dark {
  color-scheme: dark;
  --bg: #1d1d1d;
  --bg-alt: #252525;
  --panel: rgba(37, 17, 60, 0.86);
  --panel-strong: #25113c;
  --panel-light: #fff7ff;
  --surface-card: #2c1843;
  --surface-text: #f7efff;
  --surface-muted: #cfbfe4;
  --text: #f7efff;
  --text-muted: #cfbfe4;
  --text-dark: #3f2c50;
  --line: rgba(255, 255, 255, 0.1);
  --shadow: 0 20px 45px rgba(10, 4, 18, 0.38);
  background: #1d1d1d;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

img {
  max-width: 100%;
  display: block;
}

.snowflakes {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.snowbank {
  --snow-height: 0px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(var(--snow-height) + 48px);
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  transition: height 1.8s ease;
}

.settled-flake {
  position: absolute;
  color: #bababa;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.28);
}

.snowflake {
  position: absolute;
  top: -10%;
  color: #bababa;
  font-size: 16px;
  animation: drift linear infinite;
}

@keyframes drift {
  0% {
    transform: translate3d(0, -20px, 0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.75;
  }
  100% {
    transform: translate3d(var(--drift, 24px), 110vh, 0) rotate(240deg);
    opacity: 0;
  }
}

.page-shell {
  position: relative;
  z-index: 1;
}

.theme-toggle {
  position: fixed;
  right: 10px;
  bottom: 10px;
  z-index: 30;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  color: var(--text-dark);
  border-radius: 999px;
  padding: 7px 10px;
  font-weight: 800;
  font-size: 0.82rem;
  box-shadow: 0 10px 20px rgba(70, 109, 145, 0.18);
  backdrop-filter: blur(14px);
}

body.theme-dark .theme-toggle {
  background: rgba(37, 17, 60, 0.9);
  color: #f7efff;
  box-shadow: 0 12px 22px rgba(10, 4, 18, 0.24);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: rgba(222, 240, 249, 0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

body.theme-dark .topbar {
  background: rgba(15, 6, 24, 0.78);
}

body .topbar,
body .mobile-nav {
  display: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--pink), var(--accent));
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.brand-copy strong {
  font-size: 0.98rem;
  color: var(--text);
}

.menu-toggle {
  border: 1px solid rgba(60, 104, 140, 0.14);
  background: rgba(255, 255, 255, 0.5);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 999px;
}

body.theme-dark .menu-toggle {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.mobile-nav {
  position: fixed;
  inset: 73px 0 auto 0;
  display: none;
  padding: 12px 18px 18px;
  background: rgba(222, 240, 249, 0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  z-index: 19;
}

body.theme-dark .mobile-nav {
  background: rgba(15, 6, 24, 0.95);
}

.mobile-nav.open {
  display: grid;
  gap: 10px;
}

.mobile-nav a {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--text);
}

body.theme-dark .mobile-nav a {
  background: rgba(255, 255, 255, 0.05);
}

.app-shell {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 22px 16px 52px;
}

body.home-route .app-shell {
  max-width: 538px;
  padding-top: 18px;
}

.page {
  display: grid;
  gap: 18px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: var(--radius-xl);
  background: #3d3471;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 24px rgba(121, 71, 187, 0.35);
}

.hero.hero-logo-only {
  min-height: 328px;
  background: transparent;
  border: none;
  box-shadow: none;
}

.hero-logo {
  position: absolute;
  inset: 0;
  opacity: 1;
  filter: saturate(1.05);
}

.hero-logo-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  border-radius: var(--radius-xl);
}

.hero-copy {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 360px;
  padding: 28px;
  gap: 14px;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff6ff;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero h1,
.page-header h1 {
  margin: 0;
  font-size: var(--fs-page-title);
  line-height: 0.96;
}

.hero p,
.page-header p,
.supporting {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--fs-body);
  line-height: var(--lh-copy);
}

.button-row,
.card-grid,
.split-grid,
.stats-grid,
.admin-tabs,
.admin-layout {
  display: grid;
  gap: 16px;
}

.button-row a,
.button-row button,
.button,
.ghost-button,
.inline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: -0.01em;
  transition: transform 140ms ease, opacity 140ms ease, background 140ms ease;
}

.button,
.button-row a.primary,
.button-row button.primary {
  background: linear-gradient(135deg, var(--pink), var(--accent));
  color: white;
  padding: 12px 15px;
  font-weight: 700;
}

.ghost-button,
.button-row a.secondary,
.button-row button.secondary {
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
}

.inline-button {
  background: transparent;
  color: var(--accent);
  font-weight: 700;
  padding: 0;
  white-space: nowrap;
  flex: 0 0 auto;
}

.button:hover,
.ghost-button:hover,
.inline-button:hover,
.nav-card:hover,
.info-card:hover,
.menu-item:hover,
.event-card:hover,
.photo-card:hover,
.review-card:hover,
.admin-card:hover {
  transform: translateY(-2px);
}

.status-banner,
.surface,
.nav-card,
.info-card,
.menu-item,
.event-card,
.photo-card,
.review-card,
.empty-state,
.admin-card,
.admin-panel,
.form-panel,
.dashboard-stat,
.request-card {
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: var(--shadow);
}

.status-banner {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 7px 12px;
  border-radius: 14px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.14);
}

.status-banner.open {
  background: #43a047;
}

.status-banner.closed {
  background: #e24a63;
}

.status-dot {
  width: 10px;
  height: 10px;
  margin-top: 0;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

.status-banner p {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.1;
  color: rgba(255, 255, 255, 0.98);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
}

.section-heading h2,
.section-heading h3,
.admin-section h2,
.admin-section h3 {
  margin: 0 0 8px;
  font-size: var(--fs-section-title);
  line-height: var(--lh-tight);
  color: var(--text);
}

.section-heading p,
.admin-section p {
  margin: 0;
  color: var(--text-muted);
}

.nav-card,
.info-card,
.menu-item,
.event-card,
.photo-card,
.review-card,
.dashboard-stat,
.request-card,
.admin-card,
.form-panel {
  padding: 18px;
}

.menu-card-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.nav-card {
  display: grid;
  gap: 10px;
  background: var(--surface-card);
  color: var(--surface-text);
  border: none;
  box-shadow: none;
  border-radius: 18px;
}

.nav-card-link {
  text-decoration: none;
}

.nav-card.menu-feature {
  min-height: 84px;
  padding: 10px 12px;
}

.icon-badge-menu {
  flex: 0 0 auto;
}

.icon-badge-menu img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.icon-badge-calendar img {
  width: 39px;
  height: 39px;
  object-fit: contain;
}

.icon-badge-plus img {
  width: 39px;
  height: 39px;
  object-fit: contain;
}

.side-by-side {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.icon-badge {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font-size: 1.35rem;
}

.icon-badge-calendar,
.icon-badge-plus {
  background: transparent;
  color: inherit;
}

.menu-feature h2,
.menu-feature p,
.side-by-side .nav-card h3,
.side-by-side .nav-card p {
  margin: 0;
}

.menu-feature h2 {
  font-size: var(--fs-card-title);
  line-height: var(--lh-tight);
  color: var(--surface-text);
}

.menu-feature p,
.side-by-side .nav-card p {
  color: var(--surface-muted);
}

.menu-feature p {
  font-size: var(--fs-small);
  line-height: 1.18;
  max-width: none;
}

.menu-feature .inline-button,
.side-by-side .nav-card .inline-button {
  display: none;
}

.side-by-side .nav-card {
  place-items: center;
  text-align: center;
  min-height: 96px;
  padding: 10px 10px 12px;
  gap: 4px;
}

.side-by-side .nav-card h3 {
  font-size: var(--fs-card-title);
  line-height: var(--lh-tight);
  color: var(--surface-text);
}

.side-by-side .nav-card p {
  font-size: var(--fs-small);
  line-height: 1.18;
  max-width: none;
}

.photos-grid,
.menu-grid,
.events-grid,
.reviews-grid,
.stats-grid,
.admin-grid {
  display: grid;
  gap: 16px;
}

.photo-card {
  overflow: hidden;
  padding: 0;
}

.photo-button {
  cursor: pointer;
}

.photo-visual {
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, rgba(255, 127, 206, 0.24), rgba(126, 217, 255, 0.18));
  display: grid;
  place-items: center;
  color: var(--panel-strong);
}

body.theme-light .photo-visual {
  background: #fdf9f2;
}

.photo-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-copy {
  padding: 14px;
}

.photo-card,
.event-card,
.gallery-grid .photo-copy {
  background: var(--surface-card);
  color: var(--surface-text);
}

.meta {
  color: var(--text-muted);
  font-size: var(--fs-small);
}

.menu-category {
  display: grid;
  gap: 12px;
}

.menu-category h2 {
  margin: 0;
}

.menu-item {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(249, 241, 255, 0.95));
  color: #3f394a;
}

.menu-item-simple {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 16px;
  border-left: 4px solid #6a1b9a;
  border-radius: 15px;
  min-height: 68px;
}

.menu-emoji {
  font-size: 1.8rem;
  margin-left: 16px;
  line-height: 1;
}

.menu-page {
  gap: 14px;
}

.menu-snow-row {
  padding: 22px 0 8px;
  color: rgba(126, 217, 255, 0.55);
  text-align: center;
  letter-spacing: 1.7rem;
  font-size: 0.78rem;
}

.app-page-top {
  display: grid;
  grid-template-columns: 50px 1fr 50px;
  align-items: center;
  gap: 10px;
  min-height: 66px;
  padding: 10px 16px;
  margin: -22px -16px 0;
  background: linear-gradient(135deg, #6b22a4 0%, #8330bf 52%, #9440cf 100%);
  box-shadow: 0 10px 24px rgba(40, 8, 68, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.app-page-top::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(255, 209, 26, 0.16), rgba(255, 209, 26, 0.52), rgba(255, 209, 26, 0.16));
}

.app-page-top h1 {
  margin: 0;
  text-align: center;
  color: #fff;
  font-size: var(--fs-section-title);
  font-weight: 800;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
}

.back-link {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  justify-self: start;
  border-radius: 999px;
  color: #fff6c8;
  font-size: 1.45rem;
  line-height: 1;
  background: rgba(255, 209, 26, 0.16);
  border: 1px solid rgba(255, 234, 168, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
}

.back-link:hover,
.back-link:focus-visible {
  background: rgba(255, 209, 26, 0.24);
  border-color: rgba(255, 234, 168, 0.34);
  transform: translateX(-1px);
}

.screen-subtitle {
  margin: 18px 0 10px;
  color: var(--text-muted);
  text-align: center;
  font-size: var(--fs-body);
  font-weight: 600;
}

.single-column {
  grid-template-columns: 1fr;
}

.app-empty-state {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 36px 20px;
}

.app-empty-state h2 {
  margin: 14px 0 8px;
  color: var(--text);
  font-size: var(--fs-section-title);
}

.app-empty-state p {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--fs-body);
  line-height: var(--lh-copy);
}

.empty-icon {
  font-size: 3.6rem;
  opacity: 0.55;
}

.events-cta {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 30px 16px 18px;
  text-align: center;
}

.events-cta h2 {
  margin: 0;
  color: var(--text);
  font-size: var(--fs-section-title);
  line-height: var(--lh-tight);
}

.events-cta p {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--fs-body);
  line-height: var(--lh-copy);
  max-width: 420px;
}

.event-calendar-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: var(--surface-card);
  color: var(--surface-text);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.calendar-topline {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.calendar-topline h2 {
  margin: 0;
  font-size: var(--fs-section-title);
  line-height: var(--lh-tight);
  color: var(--surface-text);
  text-align: center;
}

.calendar-topline p {
  margin: 2px 0 0;
  font-size: var(--fs-small);
  line-height: var(--lh-copy);
  color: var(--surface-muted);
  text-align: center;
}

.calendar-nav-button {
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--surface-text);
  border: 1px solid var(--line);
}

body.theme-dark .calendar-nav-button {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.calendar-weekdays span {
  text-align: center;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--surface-muted);
}

.calendar-day {
  min-height: 56px;
  padding: 8px 6px;
  border-radius: 14px;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.42);
  color: var(--surface-text);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

body.theme-dark .calendar-day {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}

.calendar-day.outside-month {
  opacity: 0.38;
}

.calendar-day.booked {
  background: rgba(255, 209, 26, 0.22);
  border-color: rgba(122, 49, 209, 0.28);
}

body.theme-dark .calendar-day.booked {
  background: rgba(255, 209, 26, 0.18);
  border-color: rgba(255, 209, 26, 0.3);
}

.calendar-day.today {
  outline: 2px solid rgba(122, 49, 209, 0.24);
  outline-offset: 0;
}

.calendar-date {
  font-size: var(--fs-small);
  font-weight: 700;
  line-height: 1;
}

.calendar-count {
  min-width: 18px;
  min-height: 18px;
  padding: 2px 5px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(122, 49, 209, 0.12);
  color: var(--surface-text);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
}

.calendar-count.empty {
  background: transparent;
}

.app-purple-button {
  min-width: 190px;
  background: #7928b4;
}

.request-intro {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
  background: var(--surface-card);
  color: var(--surface-text);
  border-radius: 16px;
  padding: 24px 20px;
}

.request-intro h2 {
  margin: 0;
  font-size: var(--fs-section-title);
  line-height: var(--lh-tight);
  color: var(--surface-text);
}

.request-intro p {
  margin: 0;
  color: var(--surface-muted);
  font-size: var(--fs-body);
  line-height: var(--lh-copy);
}

.request-intro-icon {
  font-size: 2.2rem;
}

.menu-item-simple strong {
  display: block;
  margin-bottom: 4px;
  font-size: var(--fs-card-title);
  color: #3a3545;
}

.menu-item-simple .meta {
  color: #6f677d;
  font-size: var(--fs-small);
  font-style: italic;
}

body.theme-dark .menu-item {
  color: #383243;
}

body.theme-dark .menu-item-simple strong {
  color: #342f40;
}

body.theme-dark .menu-item-simple .meta {
  color: #625b70;
}

.request-form-panel {
  background: var(--surface-card);
  color: var(--surface-text);
  border: none;
  box-shadow: none;
}

.request-form-panel .field label {
  color: var(--surface-text);
}

.request-form-panel .field input,
.request-form-panel .field textarea,
.request-form-panel .field select {
  background: #fff;
  border: 1px solid #d7d7e0;
  color: var(--surface-text);
}

.request-form-panel .field input::placeholder,
.request-form-panel .field textarea::placeholder {
  color: var(--surface-muted);
}

.event-card.past {
  opacity: 0.72;
}

.stars {
  color: #ffd966;
  letter-spacing: 0.12em;
  font-size: 1rem;
}

.admin-note {
  color: var(--text-muted);
  text-align: center;
}

.review-open-button {
  justify-self: center;
}

.home-detail-sections {
  gap: 16px;
  margin-top: 8px;
}

.about-home-section {
  padding-top: 8px;
}

.about-home-copy {
  margin: 0;
  color: var(--text-muted);
  text-align: center;
  line-height: var(--lh-copy);
  font-size: var(--fs-body);
}

.share-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid #e2e2e2;
}

.site-share-panel {
  display: grid;
  justify-items: center;
}

.site-share-row {
  border-top: none;
  padding-top: 0;
  justify-content: center;
  gap: 12px;
}

.share-button {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  color: white;
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
}

.share-button.facebook {
  background: #1877f2;
}

.share-button.instagram {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
}

.share-button.x {
  background: #111;
}

.share-button.tiktok {
  background: #010101;
}

.share-button img {
  width: 78%;
  height: 78%;
  display: block;
  object-fit: contain;
  object-position: center;
}

.review-card {
  background: var(--surface-card);
  color: var(--surface-text);
  border: none;
  box-shadow: none;
  border-radius: 12px;
  padding: 14px 14px 12px;
  overflow: hidden;
}

.review-card h3 {
  margin: 0;
  font-size: var(--fs-card-title);
  line-height: var(--lh-tight);
  color: var(--surface-text);
  min-width: 0;
  overflow-wrap: anywhere;
}

.review-topline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px;
}

.review-topline .stars {
  justify-self: end;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  letter-spacing: 0.04em;
  font-size: 0.84rem;
  line-height: 1.1;
}

.review-topline-stacked {
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
}

.review-topline-stacked .stars {
  justify-self: start;
}

.review-quote {
  margin: 6px 0 12px;
  color: var(--surface-muted);
  font-size: var(--fs-body);
  line-height: var(--lh-copy);
  font-style: italic;
}

.review-quote-large {
  font-size: 1.08rem;
  line-height: 1.7;
}

.modal-review-detail {
  display: grid;
  gap: 16px;
}

.review-cta-home {
  width: 100%;
  justify-self: stretch;
  background: #ffd21a;
  color: #7a18b4;
  border-radius: 999px;
  font-weight: 800;
}

.photos-grid,
.events-grid {
  grid-template-columns: 1fr;
}

.photo-visual {
  aspect-ratio: 16 / 7;
}

.event-card {
  width: 100%;
}

body.home-route .photos-grid,
body.home-route .events-grid {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
}

body.home-route .featured-photos-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

body.home-route .photo-card,
body.home-route .event-card {
  width: 100%;
  max-width: none;
}

body.home-route .event-card {
  min-height: 150px;
  height: 150px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 14px 16px;
  overflow: hidden;
}

body.home-route .event-card .pill {
  padding: 5px 10px;
  font-size: 0.8rem;
}

body.home-route .event-card h3 {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.2;
}

body.home-route .event-card p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.28;
}

body.home-route .event-card p:not(.meta) {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.home-route .event-card .meta {
  font-size: 0.78rem;
  line-height: 1.2;
}

body.home-route .featured-photos-grid .photo-visual {
  aspect-ratio: 1 / 1;
}

body.home-route .featured-photos-grid .photo-visual img {
  object-fit: contain;
  padding: 10px;
}

.gallery-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 8px;
  align-items: start;
}

.gallery-grid .photo-card {
  display: grid;
  gap: 0;
  align-content: start;
}

.gallery-grid .photo-visual {
  background: rgba(255, 255, 255, 0.04);
}

.gallery-grid .photo-visual img {
  object-fit: cover;
}

.gallery-grid .photo-copy {
  background: #fff;
}

body.home-route .reviews-grid {
  display: block;
  column-count: 3;
  column-width: 130px;
  column-gap: 16px;
  width: 100%;
}

body.home-route .reviews-grid .review-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 16px;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
}

body.home-route .review-card-button {
  cursor: pointer;
}

.reviews-scroll {
  height: 500px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;
}

.share-row .meta {
  color: var(--surface-muted);
  font-size: var(--fs-small);
}

.page-header {
  display: grid;
  gap: 12px;
}

.form-panel,
.admin-panel {
  display: grid;
  gap: 16px;
}

.form-grid {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-weight: 700;
  font-size: var(--fs-small);
  line-height: var(--lh-tight);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 14px 15px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  color-scheme: light;
}

body.theme-light .field select {
  color: var(--text-muted);
}

.field select option {
  background: #ffffff;
  color: var(--text-muted);
}

body.theme-dark .field select {
  color-scheme: dark;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(233, 221, 248, 0.58);
}

body.theme-light .field input::placeholder,
body.theme-light .field textarea::placeholder {
  color: var(--text-muted);
}

.form-message,
.error-message,
.success-message {
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 0.95rem;
}

.form-message,
.success-message {
  background: rgba(72, 193, 122, 0.16);
  color: #bdf0cb;
}

.error-message {
  background: rgba(226, 74, 99, 0.18);
  color: #ffc0c8;
}

.helper {
  color: var(--text-muted);
  font-size: var(--fs-small);
  line-height: var(--lh-copy);
}

.admin-shell {
  display: grid;
  gap: 20px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(6, 3, 14, 0.72);
  backdrop-filter: blur(8px);
}

.modal-card {
  width: min(100%, 520px);
  max-height: 92vh;
  overflow: auto;
  border-radius: 24px;
  background: var(--panel-strong);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  padding: 20px;
}

.modal-card h3 {
  margin-top: 0;
}

.modal-photo {
  padding: 0;
  overflow: hidden;
}

.modal-photo img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background: #14081f;
}

.modal-close {
  position: absolute;
  margin: 12px;
  right: 0;
  top: 0;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: white;
  font-size: 1.6rem;
  cursor: pointer;
}

.compact-form {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.admin-tabs {
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

.admin-tab {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  text-align: left;
  font-weight: 700;
}

.admin-tab.active {
  background: linear-gradient(135deg, rgba(255, 127, 206, 0.18), rgba(176, 108, 255, 0.22));
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.18);
}

.admin-layout {
  grid-template-columns: 1fr;
}

.admin-section {
  display: grid;
  gap: 16px;
}

.admin-list {
  display: grid;
  gap: 12px;
}

.admin-card,
.request-card {
  display: grid;
  gap: 10px;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ghost-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-muted);
  font-size: 0.88rem;
}

.loading,
.empty-state {
  padding: 24px;
  text-align: center;
}

.footer-link {
  text-align: center;
  color: var(--text-muted);
  text-decoration: underline;
}

.hidden {
  display: none !important;
}

body.home-route .card-grid {
  grid-template-columns: 1fr;
}

body.home-route .info-card {
  display: none;
}

@media (max-width: 639px) {
  body.home-route .app-shell {
    padding-top: 8px;
  }

  .page {
    gap: 8px;
  }

  .hero.hero-logo-only {
    min-height: 218px;
  }

  .hero-logo-image {
    object-position: center 7%;
  }

  .status-banner {
    padding: 5px 10px;
    gap: 8px;
    border-radius: 12px;
  }

  .status-dot {
    width: 9px;
    height: 9px;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
  }

  .status-banner p {
    font-size: 0.78rem;
  }

  .card-grid {
    gap: 8px;
  }

  .nav-card.menu-feature {
    min-height: 72px;
    padding: 8px 10px;
  }

  .menu-card-row {
    gap: 8px;
  }

  .icon-badge {
    width: 36px;
    height: 36px;
  }

  .icon-badge-menu img,
  .icon-badge-calendar img,
  .icon-badge-plus img {
    width: 31px;
    height: 31px;
  }

  .menu-feature h2 {
    font-size: 0.82rem;
    line-height: 1;
  }

  .menu-feature p {
    font-size: 0.66rem;
    line-height: 1.02;
    max-width: none;
  }

  .side-by-side {
    gap: 8px;
  }

  .side-by-side .nav-card {
    min-height: 82px;
    padding: 8px 8px 10px;
    gap: 4px;
  }

  .side-by-side .nav-card h3 {
    font-size: 0.72rem;
    line-height: 1.05;
  }

  .side-by-side .nav-card p {
    font-size: 0.6rem;
    line-height: 1;
    max-width: none;
  }

  .app-page-top {
    margin: -22px -16px 0;
  }

  .event-calendar-card {
    gap: 10px;
    padding: 12px;
  }

  .calendar-topline {
    gap: 8px;
  }

  .calendar-topline h2 {
    font-size: 0.96rem;
  }

  .calendar-topline p {
    font-size: 0.72rem;
  }

  .calendar-weekdays,
  .calendar-grid {
    gap: 6px;
  }

  .calendar-day {
    min-height: 46px;
    padding: 6px 4px;
    gap: 4px;
  }

  .calendar-date {
    font-size: 0.74rem;
  }

  .calendar-count {
    min-width: 16px;
    min-height: 16px;
    font-size: 0.62rem;
  }

  .request-intro h2,
  .events-cta h2 {
    font-size: 1.2rem;
  }
}

@media (min-width: 640px) {
  body.home-route .photos-grid,
  body.home-route .events-grid {
    grid-template-columns: 1fr;
  }

  body.home-route .featured-photos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 640px) {
  .app-shell {
    padding: 30px 24px 64px;
  }

  .button-row,
  .side-by-side,
  .photos-grid,
  .stats-grid,
  .admin-grid,
  .events-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-grid {
    grid-template-columns: 1.2fr 1fr;
  }

  .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .menu-toggle {
    display: none;
  }

  .mobile-nav {
    position: static;
    display: flex;
    gap: 10px;
    padding: 0 18px 0;
    background: transparent;
    backdrop-filter: none;
    border: none;
  }

  .mobile-nav a {
    background: transparent;
    color: var(--text-muted);
  }

  .mobile-nav a:hover {
    color: var(--text);
  }

  .topbar {
    width: min(100%, calc(var(--max-width) + 32px));
    margin: 0 auto;
    padding-inline: 0;
    background: transparent;
    border-bottom: none;
    backdrop-filter: none;
  }

  .page-shell {
    padding-top: 8px;
  }

  .card-grid {
    grid-template-columns: 1.3fr 0.9fr;
    align-items: start;
  }

  .photos-grid,
  .stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .events-grid,
  .admin-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .menu-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
