/* The original light palette is preserved in original.css. */
html:has(.aligned-choices) { scrollbar-gutter: auto; }
/* The viewport owns the page scrollbar; the dialog owns its own overflow. */
html:has(.aligned-choices) {
  --ac-scroll-thumb: #85204e;
  --ac-scroll-hover: #a72963;
  --ac-scroll-track: #fcf9f6;
  color-scheme: light;
  scrollbar-color: transparent var(--ac-scroll-track);
}
html:has(.aligned-choices[data-theme="dark"]) {
  --ac-scroll-thumb: #df8bb6;
  --ac-scroll-hover: #f4aed0;
  --ac-scroll-track: #21131e;
  color-scheme: dark;
}
html.scrolling:has(.aligned-choices) { scrollbar-color: var(--ac-scroll-thumb) var(--ac-scroll-track); }
.aligned-choices, .aligned-choices * { scrollbar-width: thin; scrollbar-color: var(--ac-scroll-thumb) var(--ac-scroll-track); }
html:has(.aligned-choices)::-webkit-scrollbar-track, .aligned-choices ::-webkit-scrollbar-track { background: var(--ac-scroll-track); }
html:has(.aligned-choices)::-webkit-scrollbar-thumb { background: transparent; }
html.scrolling:has(.aligned-choices)::-webkit-scrollbar-thumb, .aligned-choices ::-webkit-scrollbar-thumb { background: var(--ac-scroll-thumb); border-radius: 4px; }
html.scrolling:has(.aligned-choices)::-webkit-scrollbar-thumb:hover, .aligned-choices ::-webkit-scrollbar-thumb:hover { background: var(--ac-scroll-hover); }
.aligned-choices {
  position: relative;
  min-height: 100vh;
  background: var(--ac-background);
  color: var(--ac-foreground);
  color-scheme: light;
  font-family: var(--ac-font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: auto;
}
.aligned-choices[data-theme="dark"] {
  color-scheme: dark;
  --ac-background: oklch(20% .025 350);
  --ac-foreground: oklch(95% .014 60);
  --ac-card: oklch(25% .028 350);
  --ac-card-foreground: var(--ac-foreground);
  --ac-popover: var(--ac-card);
  --ac-popover-foreground: var(--ac-foreground);
  --ac-primary: oklch(80% .12 350);
  --ac-primary-foreground: oklch(20% .04 350);
  --ac-secondary: oklch(28% .03 350);
  --ac-secondary-foreground: var(--ac-foreground);
  --ac-muted: oklch(29% .025 350);
  --ac-muted-foreground: oklch(77% .025 60);
  --ac-accent: oklch(80% .12 75);
  --ac-accent-foreground: oklch(20% .04 350);
  --ac-border: oklch(39% .03 350);
  --ac-input: oklch(41% .03 350);
  --ac-ring: var(--ac-primary);
  --ac-destructive: oklch(76% .16 25);
  --ac-plum-dark: oklch(16% .035 350);
}
/* The two plum sections keep their original cream text in both themes. */
.aligned-choices[data-theme="dark"] [class~="bg-[var(--ac-plum-dark)]"] { --ac-secondary: oklch(94% .025 60); }
.aligned-choices .aligned-theme-toggle {
  position: absolute;
  z-index: 5;
  top: 8px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  padding: 4px 10px;
  border: 1px solid var(--ac-border);
  border-radius: 999px;
  background: var(--ac-card);
  color: var(--ac-primary);
  font: 500 12px/1.3 var(--ac-font-sans);
  cursor: pointer;
}
.aligned-choices .aligned-theme-toggle:focus-visible { outline: 2px solid var(--ac-ring); outline-offset: 3px; }
.aligned-choices .aligned-booking {
  position: fixed;
  inset: 0;
  margin: auto;
  width: calc(100% - 32px);
  max-width: 448px;
  max-height: calc(100svh - 32px);
  overflow-y: auto;
  border: 1px solid var(--ac-border);
  border-radius: calc(var(--ac-radius) - 2px);
  padding: 24px;
  background: var(--ac-background);
  color: var(--ac-foreground);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / .15);
}
.aligned-choices .aligned-booking::backdrop { background: rgb(0 0 0 / .8); }
.aligned-choices .aligned-booking[open] { display: grid; gap: 16px; }
body:has(.aligned-booking[open]) { overflow: hidden; }
.aligned-choices .aligned-dialog-close { position: absolute; top: 12px; right: 12px; width: 24px; height: 24px; font-size: 22px; line-height: 1; cursor: pointer; opacity: .7; }
.aligned-choices .aligned-booking input:not([type="hidden"]) {
  display: flex;
  height: 36px;
  width: 100%;
  border: 1px solid var(--ac-input);
  border-radius: calc(var(--ac-radius) - 2px);
  padding: 4px 12px;
  font-size: 16px;
  background: transparent;
  box-shadow: 0 1px 2px rgb(0 0 0 / .05);
}
.aligned-choices .aligned-booking input::placeholder { color: var(--ac-muted-foreground); }
.aligned-choices .aligned-booking input:focus-visible { outline: 1px solid var(--ac-ring); }
.aligned-choices .aligned-submit { border-radius: calc(var(--ac-radius) - 2px); cursor: pointer; line-height: 0; min-height: 48px; }
.aligned-choices .aligned-submit:disabled { opacity: .5; cursor: wait; }
.aligned-choices .aligned-form-error { color: var(--ac-destructive); font-size: 14px; }
.aligned-choices .aligned-honeypot { display: none; }
/* Continue the original footer with the shared GlitchBong navigation beneath it. */
body:has(.aligned-choices) .site-footer {
  background: oklch(94% .025 60);
  border-color: oklch(90% .02 60);
  box-shadow: none;
  --color-text-secondary: oklch(45% .03 350);
  --color-text-muted: oklch(45% .03 350);
  --color-purple-bright: oklch(42% .16 350);
  --color-neon: oklch(42% .16 350);
}
body:has(.aligned-choices[data-theme="dark"]) .site-footer {
  background: oklch(28% .03 350);
  border-color: oklch(39% .03 350);
  --color-text-secondary: oklch(77% .025 60);
  --color-text-muted: oklch(77% .025 60);
  --color-purple-bright: oklch(80% .12 350);
  --color-neon: oklch(80% .12 350);
}
body:has(.aligned-choices) .site-footer-nav { border-color: currentColor; }
body:has(.aligned-choices) .site-footer-nav-link:hover { background: rgb(133 32 78 / .08); border-color: currentColor; }
@media (prefers-reduced-motion: reduce) { .aligned-choices *, .aligned-choices *::before, .aligned-choices *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
