*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream: #e8dfd2;
  --cream-dark: #ddd2c3;
  --surface: #f0e6d8;
  --surface-light: #faf4eb;
  --input-bg: #ebe3d6;
  --ink: #2f1f14;
  --ink-soft: #6b4f3a;
  --chip-yellow: #e8a020;
  --chip-yellow-light: #e8b838;
  --queso: #e87820;
  --salsa: #c0392b;
  --border: rgba(90, 56, 24, 0.18);
  --shadow-sm: 0 2px 10px rgba(42, 24, 16, 0.09);
  --shadow-md: 0 10px 30px rgba(42, 24, 16, 0.12);
  --radius: 12px;
  --radius-lg: 18px;
  --font: "Lato", system-ui, -apple-system, sans-serif;
  --max: 960px;
  --header-h: 60px;
  --header-bg: rgba(252, 248, 242, 0.97);
  --header-border: rgba(90, 56, 24, 0.08);
  --nacho-btn-text: #3a2510;
  --nacho-btn-bg: linear-gradient(180deg, #efc050 0%, #e8a020 52%, #e07818 100%);
  --nacho-btn-bg-hover: linear-gradient(180deg, #e8b038 0%, #df9618 52%, #d66a18 100%);
  --nacho-btn-border: rgba(196, 98, 18, 0.42);
  --nacho-btn-border-hover: rgba(176, 86, 14, 0.52);
  --nacho-btn-highlight: inset 0 1px 0 rgba(255, 248, 236, 0.45);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

#main,
#browse,
#recent {
  scroll-margin-top: var(--header-h);
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
}

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

a { color: var(--queso); text-decoration: none; }
a:hover { color: var(--salsa); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.5rem 1rem;
  background: var(--ink);
  color: var(--cream);
  border-radius: 8px;
}
.skip-link:focus { top: 0.75rem; }

.container {
  width: min(var(--max), calc(100% - 1.5rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0.75rem;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--header-border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
}

.logo-link { display: flex; align-items: center; text-decoration: none; }
.logo-img { height: 36px; width: auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav a {
  padding: 0.4rem 0.55rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(232, 160, 32, 0.15);
}
.site-nav a:hover {
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  text-decoration: none;
}

.nav-text-btn {
  padding: 0.4rem 0.55rem;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.nav-text-btn:hover {
  background: var(--cream-dark);
  color: var(--ink);
}
.nav-account {
  position: relative;
}

.nav-account-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(90, 56, 24, 0.1);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}

.nav-account-toggle:hover,
.nav-account-toggle[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(90, 56, 24, 0.14);
}

.nav-account-toggle:active {
  transform: scale(0.98);
}

.nav-account:not(.is-signed-in) .nav-account-toggle {
  color: var(--nacho-btn-text);
  background: var(--nacho-btn-bg);
  border-color: var(--nacho-btn-border);
  box-shadow: var(--nacho-btn-highlight);
}

.nav-account:not(.is-signed-in) .nav-account-toggle:hover,
.nav-account:not(.is-signed-in) .nav-account-toggle[aria-expanded="true"] {
  background: var(--nacho-btn-bg-hover);
  border-color: var(--nacho-btn-border-hover);
}


.nav-account-menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  z-index: 60;
  min-width: 11.5rem;
  padding: 0.35rem;
  background: var(--surface-light);
  border: 1px solid rgba(90, 56, 24, 0.14);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.nav-account-menu[hidden] {
  display: none;
}

.nav-account-item[hidden],
.nav-account-link[hidden] {
  display: none !important;
}

.nav-account:not(.is-signed-in) #nav-sign-out,
.nav-account:not(.is-signed-in) #nav-submissions {
  display: none !important;
}

.nav-account.is-signed-in [data-auth="login"],
.nav-account.is-signed-in [data-auth="signup"] {
  display: none !important;
}

.nav-account-item {
  display: block;
  width: 100%;
  padding: 0.55rem 0.75rem;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: left;
  color: var(--ink);
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.nav-account-item:hover {
  background: rgba(232, 160, 32, 0.14);
  color: var(--ink);
}

.nav-account-item-muted {
  color: var(--ink-soft);
  border-top: 1px solid var(--border);
  margin-top: 0.25rem;
  padding-top: 0.65rem;
  border-radius: 0 0 8px 8px;
}

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

.nav-account-link[aria-current="page"] {
  background: rgba(232, 160, 32, 0.14);
  color: var(--ink);
}

.nav-account.is-signed-in .nav-account-toggle {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(90, 56, 24, 0.12);
  color: var(--ink-soft);
  font-weight: 600;
}

.submissions-page {
  padding: 2rem 0 3rem;
}

.submissions-header {
  margin-bottom: 1.25rem;
}

.submissions-header h1 {
  font-size: clamp(1.65rem, 4vw, 2.2rem);
  line-height: 1.15;
}

.submissions-header p,
.submissions-empty,
.submissions-signed-out {
  color: var(--ink-soft);
  margin-top: 0.35rem;
}

.submissions-signed-out {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 1rem 0;
}

.submissions-signed-out[hidden],
.submissions-empty[hidden] {
  display: none !important;
}

.submission-card {
  position: relative;
}

.submission-delete-btn {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 2;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(90, 56, 24, 0.14);
  border-radius: 999px;
  background: rgba(252, 248, 242, 0.92);
  color: var(--ink-soft);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
}

.submission-delete-btn:hover {
  background: #fff;
  color: var(--salsa);
  border-color: rgba(192, 57, 43, 0.28);
}

.submission-delete-btn:focus-visible {
  outline: 2px solid var(--queso);
  outline-offset: 2px;
}

.submission-delete-btn:active {
  transform: scale(0.96);
}

.submission-delete-btn:disabled {
  opacity: 0.55;
  cursor: wait;
}

.submission-delete-icon {
  display: block;
}

.submission-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.submission-card-link:hover .submission-card-name {
  color: var(--queso);
}

.submission-card-name {
  font-size: 1.02rem;
  line-height: 1.25;
  transition: color 0.15s;
}

.submission-card-location {
  color: var(--ink-soft);
  font-size: 0.86rem;
  margin: 0.2rem 0 0.45rem;
}




/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.15rem;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.1s, color 0.15s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }

.btn-sm { padding: 0.45rem 0.85rem; font-size: 0.82rem; border-radius: 8px; }
.btn-lg { padding: 0.75rem 1.35rem; font-size: 1rem; width: 100%; }

.btn-primary {
  background: var(--chip-yellow);
  color: var(--ink);
  border-color: #c47a0a;
}
.btn-primary:hover {
  background: var(--queso);
  color: #fff;
  text-decoration: none;
}

.btn-secondary {
  background: var(--surface-light);
  color: var(--ink);
  border-color: rgba(90, 56, 24, 0.12);
}
.btn-secondary:hover {
  background: #fff9f2;
  border-color: rgba(90, 56, 24, 0.18);
  text-decoration: none;
}

.btn-salsa {
  background: var(--salsa);
  color: #fff;
  border-color: #96281b;
}
.btn-salsa:hover:not(:disabled) { background: #96281b; }

.btn-salsa:disabled,
.btn-salsa.is-disabled {
  opacity: 0.48;
  cursor: not-allowed;
  transform: none;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: 999px;
  white-space: nowrap;
}

.badge-lock {
  background: rgba(192, 57, 43, 0.12);
  color: var(--salsa);
  border: 1px solid rgba(192, 57, 43, 0.25);
}

.badge-open {
  background: rgba(232, 160, 32, 0.18);
  color: #8a5a08;
  border: 1px solid rgba(232, 160, 32, 0.35);
}

.badge-item {
  background: rgba(232, 160, 32, 0.15);
  color: var(--ink);
  border: 1px solid rgba(232, 160, 32, 0.3);
  text-transform: none;
  font-size: 0.78rem;
}

.badge-backup {
  background: rgba(232, 120, 32, 0.12);
  border-color: rgba(232, 120, 32, 0.28);
}

/* Hero */
.hero {
  padding: 2rem 0 2.25rem;
  background:
    radial-gradient(circle at 88% 12%, rgba(232, 160, 32, 0.09), transparent 44%),
    radial-gradient(circle at 12% 88%, rgba(232, 120, 32, 0.07), transparent 40%),
    var(--cream);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-copy h1 {
  font-size: clamp(1.85rem, 5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.14;
  margin-bottom: 0.7rem;
  color: var(--ink);
}

.hero-sub {
  font-size: 0.98rem;
  line-height: 1.58;
  color: var(--ink-soft);
  max-width: 44ch;
  margin: 0 auto 1rem;
}

.hero-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.15rem;
}

.hero-features li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  width: fit-content;
}

.hero-features li::before {
  content: "";
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  background: url(/images/favicon.png) center / contain no-repeat;
  opacity: 0.88;
}

.hero-browse {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--queso);
  text-decoration: none;
}

.hero-browse:hover {
  text-decoration: underline;
}

.hero-chip-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-chip-btn {
  position: relative;
  display: block;
  width: min(100%, 236px);
  height: 214px;
  margin: 0 auto;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.hero-chip-shape {
  position: absolute;
  inset: 0;
  background: url(/images/hero-chip.svg?v=6) center / contain no-repeat;
  filter: drop-shadow(0 10px 22px rgba(90, 56, 24, 0.2));
  transition: filter 0.15s ease;
  pointer-events: none;
}

.hero-chip-label {
  position: absolute;
  z-index: 1;
  top: 21%;
  left: 14%;
  right: 14%;
  bottom: 40%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  color: #2f1f14;
  pointer-events: none;
  text-align: center;
}

.hero-chip-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.05rem;
}

.hero-chip-line {
  display: block;
  font-size: clamp(0.92rem, 2.6vw, 1.08rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
}

.hero-chip-note {
  display: block;
  font-size: clamp(0.52rem, 1.5vw, 0.6rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.03em;
  opacity: 0.88;
}

.hero-chip-btn:hover {
  transform: translateY(-4px);
}

.hero-chip-btn:hover .hero-chip-shape {
  filter: drop-shadow(0 16px 30px rgba(90, 56, 24, 0.28)) brightness(1.06);
}

.hero-chip-btn:active {
  transform: translateY(-1px) scale(0.98);
}

.chip-row-mini .chip-mini {
  width: 16px;
  height: 16px;
}

/* Chips */
.chip-row {
  display: flex;
  gap: 0.3rem;
  align-items: center;
}

.chip-mini {
  display: block;
  background-image: url(/images/favicon.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.chip-mini {
  width: 14px;
  height: 14px;
  opacity: 0.22;
}
.chip-mini.filled { opacity: 1; }
.chip-mini.partial { opacity: 0.55; }

.chip-btn {
  width: 46px;
  height: 46px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 6px;
  transition: transform 0.12s;
}
.chip-btn:hover { transform: scale(1.1); }
.chip-btn:focus-visible {
  outline: 2px solid var(--chip-yellow);
  outline-offset: 2px;
}

.chip-icon {
  display: block;
  width: 100%;
  height: 100%;
  background-image: url(/images/favicon.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.25;
  transition: opacity 0.15s;
}

.chip-btn.is-filled .chip-icon,
.chip-btn.is-hover-preview .chip-icon { opacity: 1; }

.rating-label {
  margin-left: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--queso);
  min-height: 1.3em;
}

/* Section heads */
.section-head {
  margin-bottom: 1.25rem;
}
.section-head h2 {
  font-size: clamp(1.4rem, 4vw, 1.85rem);
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.section-head p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.section-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

/* Demo panel */
.demo-section {
  padding: 2.5rem 0;
  background: var(--cream-dark);
  border-bottom: 1px solid var(--border);
}

.rate-panel {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.field + .field,
.appetizer-field,
.chip-field { margin-top: 1.25rem; }

.field label,
.field .field-label,
fieldset legend {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--ink-soft);
  margin-bottom: 0.45rem;
}

.optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.75;
}

.required-tag {
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--queso);
}

.photo-helper {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.45;
  margin-bottom: 0.55rem;
  max-width: 42ch;
}

fieldset { border: none; }

.field input[type="search"],
.field input[type="text"] {
  width: 100%;
  padding: 0.7rem 0.85rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--input-bg);
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input[type="search"]:focus,
.field input[type="text"]:focus {
  outline: none;
  border-color: var(--chip-yellow);
  box-shadow: 0 0 0 3px rgba(232, 160, 32, 0.2);
}

.field-note {
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.45;
  margin-top: 0.4rem;
  max-width: 46ch;
}

.location-row {
  display: flex;
  gap: 0.55rem;
  align-items: stretch;
}

.location-row input {
  flex: 1;
  min-width: 0;
}

.location-locate-btn {
  flex-shrink: 0;
  align-self: stretch;
  white-space: nowrap;
  font-size: 0.82rem;
  padding: 0.65rem 0.85rem;
}

.location-status {
  min-height: 1.2rem;
  font-size: 0.82rem;
  line-height: 1.4;
  margin-top: 0.45rem;
  color: var(--ink-soft);
}

.location-status.is-loading {
  color: var(--ink-soft);
}

.location-status.is-success {
  color: #5a7a32;
}

.location-status.is-error {
  color: var(--salsa);
}

.appetizer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.appetizer-option { position: relative; }
.appetizer-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.appetizer-option label {
  display: inline-block;
  padding: 0.45rem 0.8rem;
  font-size: 0.86rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--input-bg);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  user-select: none;
}
.appetizer-option label:hover {
  border-color: var(--chip-yellow);
  background: rgba(232, 160, 32, 0.08);
}
.appetizer-option input:checked + label {
  border-color: var(--queso);
  background: rgba(232, 160, 32, 0.2);
  color: var(--ink);
}
.appetizer-option input:focus-visible + label {
  outline: 2px solid var(--chip-yellow);
  outline-offset: 2px;
}

.photo-upload {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 120px;
  padding: 1rem;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  background: var(--input-bg);
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.photo-upload input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}

.photo-upload.has-photo {
  border-color: rgba(232, 160, 32, 0.45);
  background: rgba(232, 160, 32, 0.08);
  color: var(--ink);
}

.photo-upload.photo-upload-missing {
  border-color: var(--salsa);
  background: rgba(192, 57, 43, 0.06);
}

.photo-preview {
  position: relative;
  z-index: 0;
  max-width: 100%;
  max-height: 140px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border);
  pointer-events: none;
}

.photo-upload:hover,
.photo-upload:focus {
  border-color: var(--chip-yellow);
  background: rgba(232, 160, 32, 0.06);
  outline: none;
}

.photo-upload-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(232, 160, 32, 0.25), rgba(232, 120, 32, 0.2));
  border: 1px solid var(--border);
}

.rate-footer {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.submit-msg {
  margin-top: 0.65rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--salsa);
  min-height: 1.3em;
  text-align: center;
}

/* Browse rows */
.browse-section {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}

.browse-section .section-head {
  text-align: center;
}

.browse-intro {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-top: 0.35rem;
  max-width: 52ch;
}

.browse-section .browse-intro {
  margin-left: auto;
  margin-right: auto;
}

.browse-search-wrap {
  margin-bottom: 1.15rem;
}

.browse-section .browse-search-wrap {
  text-align: center;
}

.browse-search-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.browse-search-input {
  width: 100%;
  max-width: 28rem;
  padding: 0.72rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-light);
  font-family: inherit;
  font-size: 1rem;
}

.browse-section .browse-search-input {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.browse-search-input:focus {
  outline: 2px solid rgba(232, 160, 32, 0.45);
  outline-offset: 1px;
  border-color: rgba(232, 160, 32, 0.45);
}

.browse-panel {
  margin-top: 0.35rem;
}

.browse-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
  padding: 0.35rem 0;
  border: 0;
  background: none;
  color: var(--salsa);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.browse-back:hover {
  text-decoration: underline;
}

.browse-selected-head {
  margin-bottom: 0.85rem;
}

.browse-section .browse-selected-head {
  text-align: center;
}

.browse-selected-name {
  font-size: 1.25rem;
  line-height: 1.2;
}

.browse-selected-meta {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.browse-empty {
  color: var(--ink-soft);
  padding: 0.35rem 0 0.85rem;
}

.browse-section .browse-empty {
  text-align: center;
}

.browse-restaurant-pick {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.browse-restaurant-pick:hover {
  background: rgba(232, 160, 32, 0.06);
}

.browse-chevron {
  grid-area: badge;
  justify-self: end;
  align-self: center;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--ink-soft);
  padding-right: 0.15rem;
}

.browse-restaurant-pick .browse-score,
.browse-restaurant-pick .badge-item {
  display: none;
}

.browse-match-label {
  display: inline-block;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--salsa);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.browse-restaurant-pick {
  grid-template-areas:
    "thumb main badge";
  grid-template-columns: 48px 1fr auto;
}

#browse-step-locations .browse-row-link {
  grid-template-areas:
    "thumb main badge"
    "thumb score score";
}

.browse-rows {
  list-style: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cream-dark);
}

.browse-rows:empty {
  display: none;
}

.browse-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  grid-template-areas:
    "thumb main badge"
    "thumb score score";
  gap: 0.35rem 0.75rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.browse-row:last-child { border-bottom: none; }
.browse-row:hover { background: rgba(232, 160, 32, 0.06); }

.browse-row-link {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  grid-template-areas:
    "thumb main badge"
    "thumb score score";
  gap: 0.35rem 0.75rem;
  align-items: center;
  padding: 0.85rem 1rem;
  color: inherit;
  text-decoration: none;
}

.browse-rows > li {
  border-bottom: 1px solid var(--border);
}

.browse-rows > li:last-child {
  border-bottom: none;
}

.browse-row-link:hover {
  background: rgba(232, 160, 32, 0.06);
}

.carousel-photo.has-image,
.browse-thumb.has-image,
.rating-card-photo.has-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.browse-thumb {
  grid-area: thumb;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.browse-thumb-img,
.carousel-photo-img {
  display: block;
  object-fit: cover;
  background: var(--cream-dark);
}

.carousel-photo-img {
  width: 100%;
  height: 148px;
  border: 0;
  border-radius: 0;
}
.browse-thumb-1 { background: linear-gradient(135deg, #e8a020, #c47a0a); }
.browse-thumb-2 { background: linear-gradient(135deg, #e87820, #c0392b); }
.browse-thumb-3 { background: linear-gradient(135deg, #f0c040, #d4a574); }

.browse-main {
  grid-area: main;
  min-width: 0;
}
.browse-name {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.browse-meta {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.browse-row .badge-item { grid-area: badge; justify-self: end; }

.browse-score {
  grid-area: score;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-left: calc(48px + 0.75rem);
}

.score-text {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--queso);
}


/* About / info page */
.about-page.info-page {
  padding: 2rem 0 3rem;
  background: var(--cream);
}

.info-wrap {
  max-width: 42rem;
}

.info-pagehead {
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.info-pagehead h1 {
  font-size: clamp(1.65rem, 4.5vw, 2rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.info-subtitle {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.info-section {
  padding-bottom: 2.25rem;
  margin-bottom: 2.25rem;
  border-bottom: 1px solid var(--border);
}

.info-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.info-section > h2 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--queso);
  margin-bottom: 1rem;
}

.info-prose p {
  font-size: 1.02rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.info-prose p + p {
  margin-top: 1rem;
}

.info-prose strong {
  color: var(--ink);
  font-weight: 700;
}

.info-rules {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.info-rule {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0.9rem;
  background: var(--surface-light);
  border: 1px solid rgba(90, 56, 24, 0.1);
  border-radius: var(--radius);
  transition: border-color 0.15s, background 0.15s;
}

.info-rule:hover {
  border-color: rgba(232, 160, 32, 0.22);
  background: #fff9f2;
}

.info-rule-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(232, 160, 32, 0.14);
  border: 1px solid rgba(232, 160, 32, 0.22);
}

.info-rule-icon-chip {
  background-image: url(/images/favicon.png);
  background-size: 62%;
  background-repeat: no-repeat;
  background-position: center;
}

.info-rule-icon-place::before {
  content: "";
  width: 0.85rem;
  height: 0.75rem;
  border: 2px solid var(--queso);
  border-radius: 2px 2px 0 0;
  box-shadow: 0 3px 0 -1px var(--queso);
}

.info-rule-icon-backup::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--queso);
}

.info-rule-icon-rating {
  width: auto;
  min-width: 2rem;
  padding: 0 0.35rem;
  background: rgba(232, 160, 32, 0.1);
}

.info-rule-chips {
  display: flex;
  gap: 0.12rem;
  align-items: center;
}

.info-rule-chips .chip-mini {
  width: 11px;
  height: 11px;
}

.info-rule-icon-photo::before {
  content: "";
  width: 0.95rem;
  height: 0.7rem;
  border: 2px solid var(--queso);
  border-radius: 2px;
}

.info-rule-icon-photo::after {
  content: "";
  position: absolute;
  width: 0.35rem;
  height: 0.35rem;
  border: 2px solid var(--queso);
  border-radius: 50%;
  transform: translate(0.35rem, -0.15rem);
}

.info-rule-icon-photo {
  position: relative;
}

.info-rule-icon-nocomment::before {
  content: "\2715";
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--salsa);
  line-height: 1;
}

.info-rule-icon-login::before {
  content: "";
  width: 0.65rem;
  height: 0.5rem;
  border: 2px solid var(--queso);
  border-bottom: none;
  border-radius: 4px 4px 0 0;
}

.info-rule-icon-login::after {
  content: "";
  position: absolute;
  width: 0.55rem;
  height: 0.45rem;
  border: 2px solid var(--queso);
  border-radius: 2px;
  transform: translateY(0.35rem);
}

.info-rule-icon-login {
  position: relative;
}

.info-rule-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}

.info-faq {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.info-faq-item {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(90, 56, 24, 0.1);
}

.info-faq-item:first-child {
  padding-top: 0;
}

.info-faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.info-faq dt {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.info-faq dd {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}

.info-contact-card {
  background: var(--surface-light);
  border: 1px solid rgba(90, 56, 24, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.info-contact-card h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.6rem;
  letter-spacing: 0;
  text-transform: none;
}

.info-contact-lead {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.info-note {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--queso);
  margin-bottom: 1.15rem;
}

.info-contact-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.info-field {
  margin-bottom: 0.85rem;
}

.info-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 0.3rem;
}

.info-field input,
.info-field textarea {
  width: 100%;
  padding: 0.65rem 0.8rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--input-bg);
  transition: border-color 0.15s, box-shadow 0.15s;
}

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

.info-field input:focus,
.info-field textarea:focus {
  outline: none;
  border-color: var(--chip-yellow);
  box-shadow: 0 0 0 3px rgba(232, 160, 32, 0.18);
}

.info-contact-form .btn {
  align-self: flex-start;
  margin-top: 0.25rem;
}

.info-form-msg {
  margin-top: 0.65rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  min-height: 1.3em;
}

/* Rules strip */
.rules-strip {
  padding: 1rem 0;
  background: var(--ink);
  color: var(--cream);
}

.rules-inline {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0;
  justify-content: center;
}

.rules-inline li {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-right: 1px solid rgba(210, 190, 165, 0.35);
}
.rules-inline li:last-child { border-right: none; }

/* Footer */
.site-footer {
  padding: 1.75rem 0;
  text-align: center;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.site-footer p + p { margin-top: 0.25rem; }
.footer-tagline { font-weight: 600; color: var(--ink); }

/* Restaurant detail page */
.restaurant-page {
  padding: 2rem 0 3rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}

.breadcrumb a {
  color: var(--salsa);
  font-weight: 600;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.restaurant-header {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.restaurant-header h1 {
  font-size: clamp(1.65rem, 4vw, 2.2rem);
  line-height: 1.15;
}

.restaurant-location {
  color: var(--ink-soft);
  font-size: 1rem;
  margin-top: 0.35rem;
}

.restaurant-summary-score {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.restaurant-summary-meta {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-top: 0.35rem;
}

.rating-gallery {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.rating-card {
  background: var(--surface-light);
  border: 1px solid rgba(90, 56, 24, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.rating-card-photo {
  height: 180px;
  background-size: cover;
  background-position: center;
}

.rating-card-photo.carousel-photo-img,
img.rating-card-photo {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border: 0;
  border-radius: 0;
}

.rating-card-body {
  padding: 0.95rem 1rem 1.05rem;
}

.rating-card-score {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.55rem 0 0.35rem;
}

.rating-card-date {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.rating-card-location {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 0.45rem;
}

.rating-card-location-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}

.rating-card-location-link:hover {
  color: var(--queso);
}

.rating-card-location-link:focus-visible {
  outline: 2px solid var(--queso);
  outline-offset: 2px;
  border-radius: 4px;
}

.restaurant-empty {
  color: var(--ink-soft);
  padding: 1rem 0;
}

@media (min-width: 720px) {
  .restaurant-header {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}


/* Recent submissions carousel */
.recent-section {
  padding: 2.5rem 0;
  background: var(--cream-dark);
  border-bottom: 1px solid var(--border);
}

.recent-section .section-head p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-top: 0.25rem;
}

.carousel-controls {
  display: flex;
  gap: 0.4rem;
  flex-shrink: 0;
}

.carousel-btn {
  min-width: 5.5rem;
  height: 2.25rem;
  padding: 0 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--nacho-btn-border);
  border-radius: 999px;
  background: var(--nacho-btn-bg);
  color: var(--nacho-btn-text);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--nacho-btn-highlight);
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}

.carousel-btn:hover {
  background: var(--nacho-btn-bg-hover);
  border-color: var(--nacho-btn-border-hover);
}

.carousel-btn:active {
  transform: scale(0.96);
}

.carousel-wrap {
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: none;
  scroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.15rem 0.1rem 0.35rem;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-card {
  flex: 0 0 min(100%, 280px);
  scroll-snap-align: start;
  background: var(--surface-light);
  border: 1px solid rgba(90, 56, 24, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s, box-shadow 0.15s;
}

.carousel-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.carousel-photo {
  height: 148px;
  background-size: cover;
  background-position: center;
}

.carousel-photo-1 { background: linear-gradient(135deg, #e8a020 0%, #c47a0a 55%, #8a5a08 100%); }
.carousel-photo-2 { background: linear-gradient(135deg, #e87820 0%, #c0392b 60%, #8a2818 100%); }
.carousel-photo-3 { background: linear-gradient(135deg, #f0c040 0%, #d4a574 55%, #a07840 100%); }
.carousel-photo-4 { background: linear-gradient(135deg, #e8a020 0%, #e87820 50%, #c47a0a 100%); }
.carousel-photo-5 { background: linear-gradient(135deg, #d4a574 0%, #c47a0a 45%, #8a5a08 100%); }

.carousel-body {
  padding: 1rem 1rem 1.1rem;
}

.carousel-top {
  margin-bottom: 0.55rem;
}

.carousel-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}

.carousel-name-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}

.carousel-name-link:hover {
  color: var(--queso);
}

.carousel-name-link:focus-visible {
  outline: 2px solid var(--queso);
  outline-offset: 2px;
  border-radius: 4px;
}

.carousel-meta {
  display: block;
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 0.15rem;
}

.carousel-body .badge {
  margin-bottom: 0.65rem;
}

.carousel-score {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-bottom: 0.45rem;
}

.carousel-date {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
  opacity: 0.85;
}

.modal-panel-wide {
  width: min(560px, 100%);
  height: min(92vh, 900px);
  max-height: min(92vh, 900px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-panel-wide > .modal-close {
  z-index: 2;
}

.modal-panel-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--queso) var(--cream-dark);
}

.modal-panel-body::-webkit-scrollbar {
  width: 8px;
}

.modal-panel-body::-webkit-scrollbar-track {
  margin: 0.85rem 0;
  background: var(--cream-dark);
  border-radius: 999px 0 0 999px;
  box-shadow: inset 0 0 0 1px var(--border);
}

.modal-panel-body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--chip-yellow-light) 0%, var(--queso) 55%, #d66a18 100%);
  border-radius: 999px;
  border: 1px solid rgba(255, 248, 236, 0.45);
  min-height: 3rem;
}

.modal-panel-body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--chip-yellow) 0%, var(--salsa) 100%);
}

.modal-panel-body::-webkit-scrollbar-corner {
  background: transparent;
}

.modal-panel-scroll {
  padding: 1.5rem 1.35rem 1.25rem;
}

.rate-modal-desc {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 1rem;
  max-width: 52ch;
  line-height: 1.45;
}

.rate-panel-modal {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.rate-panel-modal .rate-footer {
  margin-top: 1.15rem;
  padding-top: 1rem;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.modal[hidden] { display: none; }
.modal-open { overflow: hidden; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(42, 24, 16, 0.6);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(400px, 100%);
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.modal-panel.modal-panel-wide {
  padding: 0;
}

.modal-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border: none;
  background: var(--cream-dark);
  border-radius: 8px;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--ink-soft);
}
.modal-close:hover { background: var(--cream); }

.modal-panel h2 {
  font-size: 1.3rem;
  margin-bottom: 0.35rem;
}
.modal-panel > p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.modal-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.modal-form input {
  width: 100%;
  padding: 0.6rem 0.75rem;
  margin-bottom: 0.85rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--input-bg);
}

.password-field {
  position: relative;
  margin-bottom: 0.85rem;
}

.password-field input {
  width: 100%;
  padding: 0.6rem 2.75rem 0.6rem 0.75rem;
  margin-bottom: 0;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--input-bg);
}

.password-field input:focus {
  outline: 2px solid var(--chip-yellow);
  border-color: var(--chip-yellow);
}

.password-toggle {
  position: absolute;
  right: 0.45rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}

.password-toggle:hover {
  color: var(--ink);
  background: rgba(232, 160, 32, 0.12);
}

.password-toggle:focus-visible {
  outline: 2px solid var(--chip-yellow);
  outline-offset: 1px;
}

.password-toggle-hide {
  display: none;
}

.password-toggle.is-visible .password-toggle-show {
  display: none;
}

.password-toggle.is-visible .password-toggle-hide {
  display: block;
}

.auth-signup-fields label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.auth-form-error {
  min-height: 1.2em;
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--salsa);
}

.modal-form input:focus {
  outline: 2px solid var(--chip-yellow);
  border-color: var(--chip-yellow);
}

.modal-switch {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  text-align: center;
  color: var(--ink-soft);
}
.modal-switch button {
  background: none;
  border: none;
  font-family: inherit;
  font-size: inherit;
  font-weight: 700;
  color: var(--queso);
  cursor: pointer;
  text-decoration: underline;
}

@media (min-width: 640px) {
  .about-page.info-page { padding: 2.75rem 0 3.5rem; }
  .info-wrap { max-width: 44rem; }
  .info-contact-card { padding: 1.75rem; }

  .recent-section .section-head-row {
    align-items: flex-end;
  }

  .carousel-card {
    flex-basis: calc(50% - 0.5rem);
  }

  .site-header { padding: 0 1.25rem; }
  .site-nav { gap: 0.5rem; }
  .site-nav a,
  .nav-text-btn { font-size: 0.92rem; padding: 0.45rem 0.65rem; }

  .hero { padding: 2.35rem 0 2.5rem; }
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 3rem;
    align-items: center;
  }

  .hero-copy {
    max-width: 30rem;
    justify-self: center;
    width: 100%;
  }

  .hero-chip-wrap {
    justify-self: center;
  }

  .hero-chip-btn {
    width: 252px;
    height: 228px;
  }

  .rate-panel { padding: 1.75rem; }
  .btn-lg { width: auto; min-width: 200px; }
  .rate-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
  .submit-msg { margin-top: 0; text-align: left; flex: 1; }

  .browse-restaurant-pick,
  .browse-row-link {
    grid-template-columns: 52px 1fr auto auto;
  }

  .browse-restaurant-pick {
    grid-template-areas: "thumb main badge";
    gap: 0.75rem 1rem;
    padding: 0.9rem 1.15rem;
  }

  #browse-step-locations .browse-row-link {
    grid-template-areas: "thumb main badge score";
    gap: 0.75rem 1rem;
    padding: 0.9rem 1.15rem;
  }
  .browse-thumb,
  .browse-thumb-img { width: 52px; height: 52px; }
  .browse-score { padding-left: 0; justify-self: end; }

.browse-error {
  padding: 1rem;
  color: var(--ink-soft);
}

  .rules-inline li { font-size: 0.88rem; }

  .location-row {
    flex-direction: column;
  }

  .location-locate-btn {
    width: 100%;
  }
}

@media (min-width: 860px) {
  :root { --max: 1040px; }
  .carousel-card { flex-basis: calc(33.333% - 0.67rem); }
  .demo-section,
  .browse-section { padding: 3rem 0; }
}

@media (max-width: 480px) {
  .hero-copy {
    text-align: center;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-browse {
    justify-content: center;
  }

  .hero-features {
    justify-items: center;
  }

  .hero-features li {
    width: fit-content;
  }

  .site-nav a:first-child { display: none; }
  .rules-inline li {
    border-right: none;
    padding: 0.25rem 0.5rem;
  }
  .rules-inline li::before {
    content: "•";
    margin-right: 0.35rem;
    opacity: 0.5;
  }
}
