:root {
  --surface: var(--surface-neutral-light);
  --surface-muted: var(--surface-neutral-muted-light);
  --muted: var(--muted-70-to-72);
  --line: var(--line-22);
  --accent: var(--foreground);
  --theme-transition-duration: 320ms;
  --theme-transition-easing: ease;
}

html {
  height: 100%;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  overflow: hidden;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  transition:
    background-color var(--theme-transition-duration)
      var(--theme-transition-easing),
    color var(--theme-transition-duration) var(--theme-transition-easing);
}

html[data-theme="dark"] {
  --surface: var(--surface-neutral-dark);
  --surface-muted: var(--surface-neutral-muted-dark);
}

body:not(.is-ready) .status-bar,
body:not(.is-ready) .hero,
body:not(.is-ready) .rewards-toggle {
  opacity: 0;
  transform: translateY(12px);
}

body:not(.is-ready) .site-footer {
  opacity: 0;
  transform: translateX(-50%) translateY(12px);
}

.status-bar {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: clamp(0.62rem, 0.7vw, 0.82rem);
  gap: 0.55rem;
  left: 50%;
  letter-spacing: 0.08em;
  max-width: calc(100vw - 24px);
  padding: 0;
  position: fixed;
  text-transform: uppercase;
  top: clamp(14px, 2vw, 22px);
  transform: translateX(-50%);
  transition:
    opacity 420ms ease,
    transform 420ms ease,
    color var(--theme-transition-duration) var(--theme-transition-easing);
  z-index: 20;
}

body:not(.is-ready) .status-bar {
  transform: translateX(-50%) translateY(12px);
}

.status-separator {
  opacity: 0.48;
}

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.page-shell {
  box-sizing: border-box;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  place-items: center;
  padding: clamp(72px, 8vh, 92px) clamp(18px, 4vw, 40px) clamp(56px, 6vh, 72px);
  position: relative;
  z-index: 1;
}

.hero,
.site-footer,
.rewards-toggle {
  transition:
    opacity 420ms ease,
    transform 420ms ease;
}

.hero {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1vh, 12px);
  justify-content: center;
  max-width: 1080px;
  min-height: 100%;
  text-align: center;
  width: 100%;
}

.hero-outro {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: clamp(0.78rem, 1vw, 0.94rem);
  letter-spacing: 0.08em;
  margin: 0;
}

.hero-word-stack {
  display: grid;
  margin: clamp(4px, 1vh, 10px) 0 0;
  min-height: clamp(104px, min(15vw, 19vh), 188px);
  overflow: hidden;
  place-items: center;
  width: 100%;
}

.hero-word {
  color: var(--foreground);
  font-family: var(--font-display);
  font-size: clamp(5rem, min(14.5vw, 22vh), 11rem);
  font-weight: 800;
  grid-area: 1 / 1;
  letter-spacing: 0.05em;
  line-height: 0.82;
  opacity: 0;
  pointer-events: none;
  text-transform: uppercase;
  transform: translateY(24%);
  transition:
    opacity 480ms ease,
    transform 480ms cubic-bezier(0.22, 1, 0.36, 1),
    color var(--theme-transition-duration) var(--theme-transition-easing);
}

.hero-word.is-active {
  opacity: 1;
  transform: translateY(0);
  z-index: 2;
}

.hero-word.is-exiting {
  opacity: 0;
  transform: translateY(-24%);
  z-index: 1;
}

.picker-shell {
  display: grid;
  justify-items: center;
  margin-top: clamp(6px, 1vh, 12px);
  width: min(100%, 920px);
}

.picker-load-error {
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  margin: 1rem auto 0;
  max-width: 32rem;
  padding: 0.8rem 0.9rem;
  text-align: center;
}

.picker-load-error button {
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  padding: 0;
  text-decoration: underline;
}

.picker-load-error button:hover,
.picker-load-error button:focus-visible {
  opacity: 0.65;
  outline: none;
}

.picker-intent-row {
  display: grid;
  justify-items: center;
  width: 100%;
}

.picker-subheading,
.picker-disclaimer,
.pick-modal-label,
.rewards-panel-label {
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.picker-subheading {
  margin: 0;
}

.picker-subheading {
  font-size: clamp(0.78rem, 1vw, 0.94rem);
  letter-spacing: 0.1em;
}

.intent-chip-row {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.55rem;
  justify-content: center;
  margin-top: 0.8rem;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  white-space: nowrap;
}

.intent-chip-row::-webkit-scrollbar {
  display: none;
}

.intent-chip {
  appearance: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--foreground);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  padding: 0.72rem 0.95rem;
  text-transform: uppercase;
  transition:
    background-color var(--theme-transition-duration)
      var(--theme-transition-easing),
    border-color var(--theme-transition-duration) var(--theme-transition-easing),
    color var(--theme-transition-duration) var(--theme-transition-easing),
    opacity 160ms ease;
}

.intent-chip.is-active {
  background: var(--foreground);
  border-color: var(--foreground);
  color: var(--background);
}

.picker-desktop {
  display: grid;
  justify-items: center;
  margin-top: 1.4rem;
  width: min(100%, 680px);
}

.deck-stack {
  display: grid;
  min-height: 244px;
  place-items: center;
  position: relative;
  width: min(100%, 650px);
}

.deck-ghost,
.listing-card {
  border: 1px solid var(--line);
  border-radius: 28px;
}

.deck-ghost {
  --ghost-offset: 0px;
  --ghost-scale: 1;
  background: var(--surface-muted);
  box-sizing: border-box;
  color: var(--muted);
  display: grid;
  gap: 0.5rem;
  grid-template-rows: auto 1fr;
  inset: 0;
  overflow: hidden;
  padding: 0.85rem 1rem;
  position: absolute;
  transition:
    background-color var(--theme-transition-duration)
      var(--theme-transition-easing),
    border-color var(--theme-transition-duration) var(--theme-transition-easing),
    color var(--theme-transition-duration) var(--theme-transition-easing);
}

.deck-ghost-mid {
  --ghost-offset: 12px;
  --ghost-scale: 0.98;
  transform: translateY(var(--ghost-offset)) scale(var(--ghost-scale));
}

.deck-ghost-back {
  --ghost-offset: 24px;
  --ghost-scale: 0.96;
  transform: translateY(var(--ghost-offset)) scale(var(--ghost-scale));
}

.deck-ghost-top {
  align-items: start;
  display: flex;
  gap: 0.7rem;
  justify-content: space-between;
}

.deck-ghost-category,
.deck-ghost-kicker {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.deck-ghost-kicker {
  text-align: right;
}

.deck-ghost-name {
  align-self: center;
  color: var(--foreground);
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 3.15rem);
  letter-spacing: 0.03em;
  line-height: 0.88;
  margin: 0;
  opacity: 0.24;
  overflow-wrap: anywhere;
  text-align: center;
  text-transform: uppercase;
  text-wrap: balance;
}

.deck-ghost-mid .deck-ghost-name {
  opacity: 0.29;
}

.deck-ghost.is-empty .deck-ghost-name {
  font-size: clamp(1.5rem, 5vw, 2.3rem);
}

.listing-card {
  background: var(--surface);
  box-sizing: border-box;
  display: grid;
  gap: 0.7rem;
  min-height: 228px;
  padding: 0.9rem 1.05rem;
  position: relative;
  touch-action: pan-y;
  transition:
    transform 240ms ease,
    opacity 240ms ease,
    background-color var(--theme-transition-duration)
      var(--theme-transition-easing),
    border-color var(--theme-transition-duration) var(--theme-transition-easing),
    color var(--theme-transition-duration) var(--theme-transition-easing);
  width: min(100%, 650px);
  z-index: 3;
}

.listing-card.is-dragging {
  transition: none;
}

.listing-card.is-interactive {
  cursor: pointer;
}

.favorite-toggle {
  right: 0.9rem;
  top: 0.9rem;
  --favorite-z-index: 5;
}

.listing-card.is-empty-state {
  align-content: center;
  justify-items: center;
  text-align: center;
}

.listing-card-empty-word {
  font-family: var(--font-display);
  font-size: clamp(5rem, min(9vw, 13vh), 8rem);
  letter-spacing: 0.02em;
  line-height: 0.8;
  margin: 0;
  text-transform: uppercase;
}

.listing-card-empty-copy {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  margin: 0;
  text-transform: uppercase;
}

.listing-card.is-entering {
  animation: card-intent-enter 520ms cubic-bezier(0.18, 0.96, 0.22, 1) both;
}

.listing-card.is-entering-from-left {
  animation-name: card-intent-enter-from-left;
}

.listing-card.is-entering-from-right {
  animation-name: card-intent-enter-from-right;
}

.listing-card.is-throwing-left {
  opacity: 0;
  transform: translateX(-120%) rotate(-10deg);
}

.listing-card.is-throwing-right {
  opacity: 0;
  transform: translateX(120%) rotate(10deg);
}

.listing-card-top {
  align-items: start;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.listing-card-category,
.listing-card-status,
.listing-card-intent,
.listing-card-disclaimer {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.listing-card-category {
  color: var(--muted);
}

.listing-card-status {
  text-align: right;
}

.listing-card-status.is-open {
  color: var(--foreground);
}

.listing-card-status.is-closed,
.listing-card-status.is-unknown {
  color: var(--muted);
}

.listing-card-name {
  font-family: var(--font-display);
  font-size: clamp(2.9rem, min(4.8vw, 7vh), 4.7rem);
  letter-spacing: 0.015em;
  line-height: 0.88;
  margin: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-wrap: balance;
  text-transform: uppercase;
}

.listing-card-description {
  color: var(--muted);
  display: -webkit-box;
  font-size: 0.88rem;
  line-height: 1.35;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.listing-card-meta {
  display: grid;
  gap: 0.32rem;
  margin-top: auto;
}

.listing-card-intent,
.listing-card-address,
.listing-card-hours {
  color: var(--muted);
  margin: 0;
}

.listing-card-address,
.listing-card-hours {
  display: -webkit-box;
  font-size: 0.76rem;
  line-height: 1.2;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.listing-card-links {
  display: flex;
  gap: 0.55rem;
}

.listing-card-links:empty {
  display: none;
}

.listing-card-link {
  align-items: center;
  border: 0;
  color: inherit;
  display: inline-flex;
  height: 1.75rem;
  justify-content: center;
  text-decoration: none;
  width: 1.75rem;
}

.listing-card-link:hover,
.listing-card-link:focus-visible {
  opacity: 0.75;
}

.listing-card-link svg,
.listing-card-link img {
  display: block;
  height: 1rem;
  object-fit: contain;
  width: 1rem;
}

html[data-theme="dark"] .listing-card-link img {
  filter: invert(1);
}

.listing-card-cta {
  align-items: center;
  border: 1px solid var(--foreground);
  border-radius: 999px;
  color: inherit;
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  justify-content: center;
  letter-spacing: 0.08em;
  min-height: 2.7rem;
  padding: 0 1rem;
  text-decoration: none;
  text-transform: uppercase;
}

.listing-card-cta:hover,
.listing-card-cta:focus-visible {
  opacity: 0.78;
}

.deck-ghost.is-entering {
  animation: ghost-intent-enter 520ms cubic-bezier(0.18, 0.96, 0.22, 1) both;
}

.deck-ghost-mid.is-entering {
  animation-delay: 70ms;
}

.deck-ghost-back.is-entering {
  animation-delay: 140ms;
}

@keyframes card-intent-enter {
  0% {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(92px) scale(0.92);
  }

  72% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(-8px) scale(1.012);
  }

  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

@keyframes card-intent-enter-from-left {
  0% {
    opacity: 1;
    filter: none;
    transform: translateX(-115vw) scale(0.98);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0) scale(1);
  }
}

@keyframes card-intent-enter-from-right {
  0% {
    opacity: 1;
    filter: none;
    transform: translateX(115vw);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0) scale(1);
  }
}

@keyframes ghost-intent-enter {
  0% {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(calc(var(--ghost-offset) + 42px))
      scale(calc(var(--ghost-scale) * 0.94));
  }

  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(var(--ghost-offset)) scale(var(--ghost-scale));
  }
}

.picker-actions {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.35rem;
}

.picker-action {
  align-items: center;
  appearance: none;
  border: 1px solid var(--foreground);
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  justify-content: center;
  letter-spacing: 0.08em;
  min-height: 2.7rem;
  padding: 0 1rem;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background-color var(--theme-transition-duration)
      var(--theme-transition-easing),
    color var(--theme-transition-duration) var(--theme-transition-easing),
    opacity 160ms ease;
}

.picker-action:hover,
.picker-action:focus-visible {
  opacity: 1;
  outline: none;
}

.picker-action-primary:hover,
.picker-action-primary:focus-visible {
  background: transparent;
  color: var(--foreground);
}

.picker-action-secondary:hover,
.picker-action-secondary:focus-visible {
  background: var(--foreground);
  color: var(--background);
}

.picker-action:disabled {
  cursor: default;
  opacity: 0.42;
}

.picker-action-primary {
  background: var(--foreground);
  color: var(--background);
}

.picker-action-secondary {
  background: transparent;
  color: var(--foreground);
}

.picker-disclaimer {
  color: var(--muted);
  font-size: 0.2rem;
  letter-spacing: 0.015em;
  margin: 0.6rem 0 0;
  max-width: 34rem;
  text-align: center;
}

#desktop-card {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  height: var(--desktop-card-height, 138px);
  justify-content: center;
  max-height: var(--desktop-card-height, 138px);
  min-height: var(--desktop-card-height, 138px);
  overflow: hidden;
  padding: 0 1rem;
}

#desktop-card .listing-card-description,
#desktop-card .listing-card-meta {
  display: none;
}

#desktop-card.is-empty-state {
  gap: 0.35rem;
}

#desktop-card .listing-card-empty-word {
  font-size: clamp(4.2rem, 6vw, 6.2rem);
}

#desktop-card .listing-card-top {
  align-items: center;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  order: 2;
  position: static;
  width: auto;
}

#desktop-card .listing-card-name {
  font-size: clamp(2.3rem, 3.4vw, 3.5rem);
  line-height: 0.88;
  margin: 0;
  max-width: calc(100% - 2rem);
  text-align: center;
  width: 100%;
}

#desktop-card .listing-card-category,
#desktop-card .listing-card-status {
  font-size: 0.68rem;
  text-align: center;
}

#desktop-card .listing-card-status::before {
  color: var(--muted);
  content: "|";
  margin-right: 0.5rem;
}

.rewards-toggle {
  align-items: center;
  appearance: none;
  background: var(--background);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--foreground);
  cursor: pointer;
  display: inline-flex;
  padding: 0.7rem 0.82rem;
  position: fixed;
  bottom: clamp(18px, 3vw, 28px);
  right: clamp(14px, 3vw, 24px);
  z-index: 24;
}

.rewards-toggle,
.rewards-badge,
.rewards-panel-copy {
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.rewards-toggle:hover,
.rewards-toggle:focus-visible {
  opacity: 0.82;
}

.rewards-badge {
  color: var(--muted);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
}

.rewards-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  max-width: 18rem;
  padding: 0.9rem;
  position: fixed;
  bottom: calc(clamp(18px, 3vw, 28px) + 3.7rem);
  right: clamp(14px, 3vw, 24px);
  z-index: 24;
}

.rewards-panel-label {
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  margin: 0 0 0.45rem;
}

.rewards-panel-copy {
  color: var(--muted);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  line-height: 1.5;
  margin: 0;
}

.mobile-deck,
.pick-modal {
  background: var(--background);
  inset: 0;
  position: fixed;
  z-index: 40;
}

.mobile-deck {
  display: none;
  justify-items: center;
  grid-template-rows: auto 1fr auto auto;
  padding: 1rem 1rem 1.25rem;
}

.mobile-deck:not([hidden]) {
  display: grid;
}

.mobile-deck-header {
  align-items: center;
  display: flex;
  justify-content: center;
  padding-top: 15px;
  width: 100%;
}

.mobile-deck-label {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 8vw, 2.5rem);
  letter-spacing: 0.05em;
  line-height: 0.9;
  margin: 0;
  text-align: center;
  text-transform: uppercase;
}

.mobile-deck-close {
  align-items: center;
  display: grid;
  flex: 0 0 2.7rem;
  font-size: 1.45rem;
  height: 2.7rem;
  place-items: center;
  line-height: 1;
  padding: 0;
  width: 2.7rem;
}

.pick-modal-close {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--foreground);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 0;
  text-transform: uppercase;
}

.deck-stack-mobile {
  align-self: center;
  min-height: min(72vh, 620px);
  width: min(100%, 420px);
}

.mobile-swipe-hint {
  align-content: center;
  background: rgba(241, 231, 216, 0.94);
  cursor: pointer;
  display: grid;
  gap: 1rem;
  inset: 0;
  justify-items: center;
  padding: 1.5rem 1.25rem 2rem;
  pointer-events: auto;
  position: fixed;
  z-index: 45;
}

html[data-theme="dark"] .mobile-swipe-hint,
body[data-theme="dark"] .mobile-swipe-hint {
  background: rgba(9, 9, 9, 0.94);
}

.mobile-swipe-hint-title,
.mobile-swipe-hint-direction {
  text-transform: uppercase;
}

.mobile-swipe-hint-title {
  color: var(--foreground);
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 16vw, 4.5rem);
  letter-spacing: 0.06em;
  line-height: 0.88;
  justify-self: center;
  margin: 0;
  text-align: center;
}

.mobile-swipe-hint-direction {
  color: var(--foreground);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  margin: 0;
  text-align: center;
}

.listing-card-mobile {
  min-height: min(68vh, 540px);
}

.mobile-swipe-hint-directions {
  color: var(--muted);
  display: grid;
  gap: 0.55rem;
  justify-items: center;
  width: 100%;
}

.picker-actions-mobile {
  align-items: center;
  gap: 0.55rem;
  justify-content: center;
}

.picker-disclaimer-mobile {
  margin-top: 0.7rem;
}

.pick-modal {
  align-items: center;
  display: none;
  justify-content: center;
  overflow-y: auto;
  padding: 1rem;
}

.pick-modal:not([hidden]) {
  display: flex;
}

.pick-modal-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  display: grid;
  gap: 0.8rem;
  max-height: calc(100svh - 2rem);
  padding: 0.95rem;
  width: min(100%, 420px);
}

.pick-modal-topbar {
  align-items: center;
  display: flex;
  gap: 0.8rem;
  justify-content: space-between;
}

.pick-modal-topbar-actions {
  align-items: center;
  display: flex;
  gap: 0.55rem;
}

.pick-modal .pick-modal-favorite {
  --favorite-size: 2.4rem;
  position: static;
}

.pick-modal .pick-modal-favorite-mobile {
  display: none;
}

.pick-modal-label {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  margin: 0;
}

.pick-modal-dismiss {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--foreground);
  cursor: pointer;
  display: grid;
  font-size: 1.4rem;
  height: 2.4rem;
  place-items: center;
  line-height: 1;
  padding: 0;
  width: 2.4rem;
}

.pick-modal-dismiss:hover,
.pick-modal-dismiss:focus-visible {
  background: var(--foreground);
  border-color: var(--foreground);
  color: var(--background);
  outline: none;
}

.pick-modal-layout {
  display: grid;
  gap: 0.85rem;
}

.pick-modal-primary {
  display: grid;
  gap: 0.75rem;
}

.pick-modal-name {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 11vw, 3.8rem);
  letter-spacing: 0.03em;
  line-height: 0.9;
  margin: 0;
  text-transform: uppercase;
}

.pick-modal-copy {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
  margin: 0;
}

.pick-modal-actions,
.pick-modal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pick-modal-actions .picker-action {
  box-sizing: border-box;
  flex: 0 0 auto;
  font-size: 0.67rem;
  height: 2.4rem;
  min-height: 2.4rem;
  padding: 0.66rem 0.82rem;
  width: fit-content;
}

.pick-modal-actions,
.pick-modal-links {
  align-self: start;
}

.pick-modal-links a {
  color: inherit;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.pick-modal-links a:hover,
.pick-modal-links a:focus-visible {
  opacity: 0.74;
}

.pick-modal-links .listing-card-link {
  height: 1.75rem;
  width: 1.75rem;
}

#pick-modal-links {
  display: contents;
}

.pick-modal-links-divider {
  color: var(--muted);
}

.pick-modal-close {
  justify-self: start;
}

.site-footer {
  bottom: clamp(18px, 3vw, 28px);
  left: 50%;
  padding: 0 18px;
  position: fixed;
  transform: translateX(-50%);
  z-index: 1;
}

.footer-line {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  gap: 0.45rem;
  justify-content: center;
  letter-spacing: 0.08em;
  opacity: 0.72;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.footer-link {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--theme-transition-duration)
    var(--theme-transition-easing);
}

.footer-link:hover,
.footer-link:focus-visible {
  opacity: 0.68;
}

.footer-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

@media (max-width: 1024px) {
  .hero-word {
    font-size: clamp(4.5rem, 18vw, 8.6rem);
  }

  .deck-stack {
    min-height: 310px;
  }
}

@media (max-height: 920px) and (min-width: 721px) {
  .picker-desktop {
    --desktop-card-height: 132px;
    --desktop-ghost-offset: 5px;
  }

  .page-shell {
    padding-top: 66px;
    padding-bottom: 54px;
  }

  .hero-word {
    font-size: clamp(4.4rem, min(12.2vw, 18.5vh), 9rem);
  }

  .hero-word-stack {
    min-height: clamp(90px, 15vh, 158px);
  }

  .picker-shell {
    margin-top: 0.35rem;
  }

  .deck-stack {
    min-height: 214px;
  }

  .listing-card {
    min-height: 214px;
  }

  .footer-line {
    font-size: 0.68rem;
  }
}

@media (min-width: 721px) {
  .intent-chip:hover,
  .intent-chip:focus-visible {
    background: var(--foreground);
    border-color: var(--foreground);
    color: var(--background);
    opacity: 1;
  }

  .picker-shell {
    margin-top: 2.2rem;
  }

  .picker-intent-row {
    align-items: center;
    display: flex;
    gap: 0.7rem;
    justify-content: center;
    width: auto;
  }

  .picker-subheading {
    font-size: 0.74rem;
    letter-spacing: 0.06em;
  }

  .picker-intent-row .intent-chip-row {
    gap: 0.45rem;
    margin-top: 0;
    width: auto;
  }

  .picker-desktop {
    --desktop-card-height: 138px;
    --desktop-ghost-offset: 6px;
  }

  .picker-desktop .deck-stack {
    align-items: start;
    justify-items: stretch;
    min-height: calc(
      var(--desktop-card-height) + (var(--desktop-ghost-offset) * 2)
    );
  }

  .picker-desktop .deck-ghost {
    inset: 0 0 auto;
    height: var(--desktop-card-height);
    min-height: var(--desktop-card-height);
    padding: 0.75rem 0.95rem;
  }

  .picker-desktop .deck-ghost-mid {
    --ghost-offset: var(--desktop-ghost-offset);
    --ghost-scale: 1;
    transform: translateY(var(--ghost-offset)) scale(var(--ghost-scale));
  }

  .picker-desktop .deck-ghost-back {
    --ghost-offset: calc(var(--desktop-ghost-offset) * 2);
    --ghost-scale: 1;
    transform: translateY(var(--ghost-offset)) scale(var(--ghost-scale));
  }

  .picker-desktop .deck-ghost-category,
  .picker-desktop .deck-ghost-kicker {
    font-size: 0.67rem;
    opacity: 0.82;
  }

  .picker-desktop .deck-ghost-name {
    font-size: clamp(2.1rem, 3vw, 3.35rem);
  }

  .pick-modal {
    padding: clamp(20px, 4vw, 40px);
  }

  .pick-modal-card {
    gap: 1rem;
    max-height: min(86vh, 760px);
    padding: 1.2rem 1.25rem;
    width: min(880px, calc(100vw - 64px));
  }

  .pick-modal-layout {
    align-items: start;
    gap: 0;
    grid-template-columns: minmax(0, 1fr);
  }

  .pick-modal-primary {
    gap: 0.9rem;
  }

  .pick-modal-name {
    font-size: clamp(3rem, 5vw, 5.6rem);
    line-height: 0.88;
  }

  .pick-modal-copy {
    font-size: 1rem;
    line-height: 1.5;
    max-width: 44rem;
  }
}

@media (max-width: 720px) {
  .status-bar {
    justify-content: center;
    width: calc(100vw - 20px);
  }

  .page-shell {
    padding-bottom: 74px;
  }

  .hero-word {
    font-size: clamp(3.9rem, 23vw, 6rem);
    letter-spacing: 0.03em;
  }

  .hero-word-stack {
    min-height: 92px;
  }

  .hero-outro {
    font-size: 0.72rem;
  }

  .picker-shell {
    margin-top: 0.5rem;
    width: 100%;
  }

  .picker-intent-row {
    width: 100%;
  }

  .picker-subheading {
    font-size: 0.7rem;
  }

  .intent-chip-row {
    gap: 0.3rem;
    margin-top: 0.7rem;
    justify-content: center;
    overflow: visible;
    padding: 0 0.2rem 0.15rem;
    box-sizing: border-box;
    width: 100%;
  }

  .intent-chip-row.has-five-intents {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.35rem;
  }

  .intent-chip-row.has-five-intents .intent-chip {
    grid-column: span 2;
    min-width: 0;
    padding-inline: 0.35rem;
  }

  .intent-chip-row.has-five-intents .intent-chip:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .intent-chip-row.has-five-intents .intent-chip:nth-child(5) {
    grid-column: 4 / span 2;
  }

  .intent-chip {
    font-size: clamp(0.48rem, 2.2vw, 0.55rem);
    letter-spacing: 0.035em;
    padding: 0.58rem 0.6rem;
  }

  .picker-desktop {
    display: none;
  }

  .rewards-toggle {
    padding: 0.55rem 0.68rem;
    bottom: auto;
    right: 10px;
    top: 12px;
  }

  .rewards-panel {
    left: 10px;
    max-width: none;
    bottom: auto;
    right: 10px;
    top: 62px;
  }

  .pick-modal {
    align-items: stretch;
    overflow: hidden;
    padding: 0;
  }

  .pick-modal-card {
    border-radius: 0;
    gap: 0.95rem;
    height: 100dvh;
    max-height: 100dvh;
    min-height: 0;
    overflow: hidden;
    padding: 0.95rem 0.95rem 1.1rem;
    width: 100%;
  }

  .pick-modal-layout,
  .pick-modal-primary {
    min-height: 0;
  }

  .pick-modal-name {
    font-size: clamp(2.1rem, 10.5vw, 3.25rem);
    overflow-wrap: normal;
    word-break: normal;
  }

  .pick-modal-copy {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    overflow: hidden;
  }

  .pick-modal .pick-modal-favorite-desktop {
    display: none;
  }

  .pick-modal .pick-modal-favorite-mobile {
    display: grid;
    --favorite-padding: 0.25rem;
    --favorite-size: 1.75rem;
    background: transparent;
    border: 0;
  }

  .pick-modal .pick-modal-favorite-mobile:hover,
  .pick-modal .pick-modal-favorite-mobile:focus-visible {
    background: transparent;
    border: 0;
  }

  .pick-modal .pick-modal-favorite-mobile:hover img,
  .pick-modal .pick-modal-favorite-mobile:focus-visible img {
    filter: none;
    opacity: 0.7;
  }

  html[data-theme="dark"] .pick-modal .pick-modal-favorite-mobile:hover img,
  html[data-theme="dark"]
    .pick-modal
    .pick-modal-favorite-mobile:focus-visible
    img {
    filter: invert(1);
  }

  .pick-modal-links,
  .pick-modal-close {
    justify-self: stretch;
  }

  .pick-modal-close {
    margin-top: auto;
  }

  @media (max-height: 700px) {
    .pick-modal-card {
      gap: 0.7rem;
      padding: 0.8rem 0.9rem;
    }

    .pick-modal-primary {
      gap: 0.55rem;
    }

    .pick-modal-name {
      font-size: clamp(1.95rem, 9.5vw, 2.75rem);
    }

    .pick-modal-copy {
      -webkit-line-clamp: 2;
      font-size: 0.8rem;
    }
  }

  .site-footer {
    width: calc(100vw - 20px);
  }

  .footer-line {
    font-size: 0.6rem;
    gap: 0.3rem;
    letter-spacing: 0.04em;
  }
}

@media (min-width: 721px) {
  .listing-card-mobile {
    min-height: 228px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body,
  .status-bar,
  .hero,
  .site-footer,
  .hero-word,
  .deck-ghost,
  .listing-card,
  .picker-action,
  .intent-chip,
  .rewards-toggle {
    transition: none !important;
  }

  body:not(.is-ready) .hero,
  body:not(.is-ready) .hero-word {
    transform: none;
  }

  body:not(.is-ready) .status-bar,
  body:not(.is-ready) .site-footer {
    transform: translateX(-50%);
  }
}
