:root {
  --bg: #f7f0e4;
  --panel: rgba(255, 249, 240, 0.92);
  --panel-strong: #fffdf8;
  --ink: #4b342b;
  --muted: #83695d;
  --pink: #ff8eb8;
  --pink-deep: #e85f8d;
  --mint: #bfe8cf;
  --mint-deep: #5fb480;
  --cream: #fff1d3;
  --gold: #f0ba3b;
  --line: rgba(116, 81, 63, 0.14);
  --shadow: 0 24px 50px rgba(131, 105, 93, 0.14);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 183, 202, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(191, 232, 207, 0.18), transparent 24%),
    linear-gradient(180deg, #f8f1e6 0%, #f5efe5 100%);
}

.origin-warning {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 12px 18px;
  background: #fff4cf;
  color: #6a4720;
  border-bottom: 1px solid rgba(166, 120, 39, 0.22);
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.4;
}

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

a {
  color: inherit;
}

.hidden {
  display: none !important;
}

.page-shell {
  width: min(1180px, calc(100% - 24px));
  margin: 0 auto;
  padding: 24px 0 72px;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 28px;
}

.hero-copy,
.hero-card,
.panel {
  background: var(--panel);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 252, 247, 0.92);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 32px;
  background:
    linear-gradient(180deg, rgba(255, 251, 246, 0.98), rgba(255, 247, 238, 0.92));
}

.main-hero-logo {
  width: min(100%, 520px);
  height: auto;
  display: block;
  margin: 0 0 16px;
}

.main-hero-logo.compact {
  width: min(100%, 440px);
  margin-bottom: 12px;
}

.hero-topbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  margin-bottom: 16px;
}

.hero-auth-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.admin-link {
  appearance: none;
  border: 0;
  padding: 4px 2px;
  background: transparent;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.admin-link:hover {
  color: var(--ink);
}

.hero-member-status {
  min-height: 44px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.member-inline-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.top-profile-btn {
  padding: 8px 12px;
}

.hero-member-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.96);
  border: 1px solid rgba(232, 95, 141, 0.18);
  font-weight: 700;
}

.hero-card {
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(255, 249, 240, 0.98), rgba(248, 243, 235, 0.98));
}

.hero-card-inner {
  height: 100%;
  border-radius: calc(var(--radius-lg) - 10px);
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255,253,249,0.86), rgba(255,250,244,0.98));
  border: 1px solid rgba(240, 202, 146, 0.32);
  display: grid;
  gap: 18px;
  align-content: start;
}

.hero-search-head {
  display: grid;
  gap: 8px;
}

.card-label {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.73rem;
  font-weight: 700;
  color: #d48732;
}

.logo-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.hero-actions {
  align-items: center;
}

.hero-checkins-title {
  margin: 0;
  font-family: "Fredoka", sans-serif;
  font-size: 1.08rem;
  color: #6d4d40;
}

.hero-checkin-card {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 252, 247, 0.92);
  border: 1px solid rgba(220, 193, 164, 0.55);
}

.hero-checkin-main {
  display: grid;
  gap: 4px;
}

.hero-checkin-main span {
  color: var(--muted);
}

.hero-checkin-review {
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 243, 223, 0.78);
  color: #6f5446;
  font-size: 0.95rem;
  line-height: 1.5;
}

.hero-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-priority-search {
  display: grid;
  gap: 12px;
  margin: 0 0 14px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 252, 247, 0.92);
  border: 1px solid rgba(224, 196, 162, 0.62);
}

.hero-priority-search-head {
  display: grid;
  gap: 4px;
}

.hero-priority-search-head strong {
  font-family: "Fredoka", sans-serif;
  font-size: 1.25rem;
}

.hero-priority-search-head span {
  color: var(--muted);
  line-height: 1.45;
}

.hero-region-toggle {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-region-btn {
  border: 1px solid rgba(224, 196, 162, 0.76);
  background: rgba(255, 255, 255, 0.94);
  color: var(--muted);
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease, transform 140ms ease;
}

.hero-region-btn:hover,
.hero-region-btn:focus-visible {
  border-color: rgba(232, 95, 141, 0.38);
  color: var(--ink);
  outline: none;
}

.hero-region-btn.active {
  background: linear-gradient(180deg, rgba(255, 241, 220, 0.96), rgba(255, 248, 239, 0.94));
  border-color: rgba(232, 95, 141, 0.52);
  color: var(--ink);
}

.hero-priority-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: end;
}

.hero-search-panel {
  display: grid;
  gap: 12px;
}

.hero-search-field {
  display: grid;
  gap: 6px;
}

.hero-search-field span {
  font-size: 0.8rem;
  font-weight: 700;
  color: #8f6c58;
}

.hero-priority-search input,
.hero-priority-search select,
.hero-search-launch {
  border: 1px solid rgba(224, 196, 162, 0.76);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: inset 0 1px 2px rgba(131, 105, 93, 0.05);
}

.hero-priority-search input,
.hero-priority-search select {
  width: 100%;
  min-height: 48px;
  border-radius: 16px;
  padding: 12px 14px;
}

.hero-search-launch {
  display: grid;
  gap: 6px;
  width: 100%;
  padding: 18px 20px;
  text-align: left;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 238, 0.96));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.92);
}

.hero-search-launch-label {
  font-family: "Fredoka", sans-serif;
  font-size: 1.2rem;
  color: var(--ink);
}

.hero-search-launch-copy {
  color: var(--muted);
  line-height: 1.45;
}

.hero-search-status {
  min-height: 22px;
  margin: 0;
  color: #8b6f5a;
  font-size: 0.92rem;
}

.hero-search-results {
  display: grid;
  gap: 8px;
}

.hero-search-result {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(224, 196, 162, 0.62);
  background: rgba(255, 251, 246, 0.92);
  text-align: left;
}

.hero-search-result strong {
  display: block;
  margin-bottom: 4px;
}

.hero-search-result span {
  color: var(--muted);
  font-size: 0.92rem;
}

.discovery-control-cache {
  display: none;
}

.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--pink-deep);
}

h1,
h2,
h3 {
  font-family: "Fredoka", sans-serif;
  margin: 0;
}

h1 {
  font-size: clamp(2.8rem, 8vw, 5rem);
  line-height: 0.95;
  margin-bottom: 14px;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.05;
}

h3 {
  font-size: 1.35rem;
}

.hero-text,
.section-heading p,
.feature-card p,
.policy-copy p,
.details-empty p,
.microcopy {
  color: var(--muted);
}

.hero-actions,
.map-toolbar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-actions {
  margin: 24px 0;
}

.map-toolbar {
  padding: 10px;
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.98);
  border: 1px solid rgba(225, 197, 164, 0.62);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.88);
  align-items: center;
}

.map-toolbar {
  display: none;
}

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

.search-modal-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
}

.map-chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.map-chip {
  appearance: none;
  border: 1px solid rgba(226, 196, 159, 0.72);
  background: rgba(255, 250, 242, 0.92);
  color: #7a5c47;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
}

.map-chip.active {
  background: linear-gradient(135deg, #f8c549, #efb33b);
  color: #fff;
  border-color: rgba(232, 169, 41, 0.82);
}

.map-toolbar label {
  position: relative;
}

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

.map-toolbar .search {
  flex: 1 1 320px;
}

.map-toolbar .filter {
  flex: 0 0 190px;
}

.map-toolbar input,
.map-toolbar select {
  min-height: 46px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(224, 196, 162, 0.68);
  padding-left: 44px;
  box-shadow: inset 0 1px 2px rgba(131, 105, 93, 0.06);
}

.map-toolbar .search::before {
  content: "⌕";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: #7a6659;
  z-index: 1;
}

.map-toolbar .filter::before {
  content: "●";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #ea6d95;
  font-size: 0.9rem;
  z-index: 1;
}

.map-toolbar .filter select {
  padding-left: 38px;
}

.button {
  appearance: none;
  border: none;
  border-radius: 999px;
  padding: 14px 18px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: linear-gradient(135deg, #f8c549, #e8a929);
  color: white;
  box-shadow: 0 12px 24px rgba(232, 169, 41, 0.28);
}

.button.secondary {
  background: rgba(255, 251, 246, 0.96);
  color: var(--ink);
  border: 1px solid rgba(224, 196, 162, 0.62);
}

.button.small {
  padding: 10px 14px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-stats article {
  background: rgba(255,252,247,0.78);
  border-radius: var(--radius-md);
  padding: 14px;
  border: 1px solid rgba(220, 193, 164, 0.48);
}

.hero-stats strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.route-list {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--ink);
  line-height: 1.8;
}

.section {
  margin-top: 24px;
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading.tight {
  margin-bottom: 14px;
}

.two-up {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: start;
}

.map-panel,
.details-panel,
.feature-card,
.policy-panel,
#memberPanel {
  padding: 18px;
}

.map-panel {
  background:
    linear-gradient(180deg, rgba(255,251,246,0.98), rgba(249,241,228,0.96));
  border: 1px solid rgba(231, 203, 169, 0.72);
}

.search,
.filter,
.stack-form label,
.admin-lockup label {
  display: grid;
  gap: 8px;
}

.search,
.filter {
  flex: 1 1 220px;
}

input,
select,
textarea {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--line);
  padding: 13px 14px;
  background: rgba(255,252,247,0.94);
  color: var(--ink);
}

textarea {
  resize: vertical;
}

.map-stage {
  margin-top: 16px;
}

.region-card {
  position: relative;
  padding: 14px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,253,248,0.98), rgba(252,246,237,0.98));
  border: 1px solid rgba(224, 196, 162, 0.58);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
  overflow: hidden;
}

.region-badge {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,248,235,0.96);
  color: #b67a28;
  font-weight: 700;
  margin-bottom: 12px;
  border: 1px solid rgba(234, 205, 135, 0.6);
}

.google-map-shell {
  position: relative;
  width: 100%;
  min-height: 680px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(205, 189, 162, 0.64);
  background: #dfe6d5;
}

.google-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-load-error {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 24px;
  text-align: center;
  color: #6d5344;
  background: rgba(255, 251, 245, 0.94);
}

.gm-style iframe + div {
  border-radius: 24px;
}

.map-marker-badge {
  width: 28px;
  height: 40px;
  display: block;
  transform: translate(-14px, -34px);
  filter: drop-shadow(0 6px 10px rgba(93, 70, 58, 0.22));
}

.pin-base {
  fill: #f05b67;
  stroke: #cf4f5a;
  stroke-width: 2;
}

.pin-cone {
  fill: #efb15e;
  stroke: #9e6e31;
  stroke-width: 2.4;
}

.pin-cone-lines {
  fill: none;
  stroke: rgba(165, 108, 42, 0.72);
  stroke-width: 1.5;
  stroke-linecap: round;
}

.pin-scoop {
  stroke: #4b332b;
  stroke-width: 2.8;
}

.pin-scoop.mint {
  fill: #9de08b;
}

.pin-scoop.pink {
  fill: #ff9cc0;
}

.pin-cherry {
  fill: #e14a4a;
  stroke: #8f1f1f;
  stroke-width: 2;
}

.pin-stem {
  fill: none;
  stroke: #5e4b21;
  stroke-width: 2;
  stroke-linecap: round;
}

.pin-sprinkles path {
  fill: none;
  stroke: #f8f0de;
  stroke-width: 1.6;
  stroke-linecap: round;
}

.pin-sprinkles path:nth-child(2n) {
  stroke: #ffcf5d;
}

.pin-sprinkles path:nth-child(3n) {
  stroke: #62be71;
}

.map-bottom-sheet {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 18px;
  z-index: 6;
  pointer-events: auto;
}

.map-admin-editor {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  z-index: 7;
  pointer-events: auto;
}

.map-admin-editor-card {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255, 251, 245, 0.97);
  border: 1px solid rgba(215, 190, 160, 0.82);
  box-shadow: 0 16px 28px rgba(93, 70, 58, 0.16);
}

.map-admin-editor-card strong {
  font-size: 1rem;
}

.map-admin-editor-card p {
  margin: 0;
  color: #70584b;
  line-height: 1.45;
}

.map-admin-editor-meta {
  color: #8b6f5a;
  font-size: 0.92rem;
}

.map-admin-editor-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.map-sheet-card {
  display: grid;
  grid-template-columns: 106px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border-radius: 26px;
  background: rgba(255, 251, 245, 0.97);
  border: 1px solid rgba(215, 190, 160, 0.82);
  box-shadow: 0 18px 30px rgba(93, 70, 58, 0.16);
}

.map-sheet-photo {
  width: 106px;
  height: 106px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(218, 192, 160, 0.7);
}

.map-sheet-copy h3 {
  font-size: 1.55rem;
  margin: 0 0 6px;
}

.map-sheet-town {
  margin: 0 0 4px;
  color: #97735e;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
}

.map-sheet-rating {
  margin-bottom: 6px;
  color: #5f4a3d;
  font-weight: 700;
}

.map-sheet-desc {
  margin: 0;
  color: #70584b;
}

.map-sheet-actions {
  display: flex;
  gap: 10px;
  align-self: end;
}

.route-shield {
  stroke-width: 1.5;
}

.route-shield.interstate {
  fill: #4d7fc9;
  stroke: #ffffff;
}

.route-shield.state {
  fill: rgba(255, 251, 242, 0.98);
  stroke: rgba(203, 180, 151, 0.9);
}

.shield-text {
  font-size: 11px;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  fill: #6c584b;
}

.shield-text-light {
  fill: #ffffff;
}

.map-legend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: #7b6759;
  font-size: 0.92rem;
  padding: 10px 4px 2px;
}

.rating-guide-image {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(96, 58, 77, 0.08);
  margin: 6px 0 8px;
}

.legend-dot {
  width: 12px;
  height: 12px;
  display: inline-block;
  background: var(--pink-deep);
  border-radius: 999px;
  margin-right: 6px;
}

.legend-dot.alt {
  background: var(--mint-deep);
}

.details-panel {
  min-height: 720px;
  background:
    linear-gradient(180deg, rgba(255,251,246,0.98), rgba(252,245,236,0.96));
}

.details-empty {
  display: grid;
  place-items: center;
  min-height: 680px;
  text-align: center;
  padding: 24px;
}

.details-content {
  display: grid;
  gap: 16px;
}

.detail-hero {
  background: linear-gradient(180deg, rgba(255,250,244,0.98), rgba(255,241,220,0.96));
  border-radius: 26px;
  padding: 20px;
  color: var(--ink);
  border: 1px solid rgba(229, 199, 157, 0.7);
}

.detail-hero-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.detail-status-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(191, 232, 207, 0.62);
  color: #417150;
  font-weight: 700;
  border: 1px solid rgba(95, 180, 128, 0.22);
}

.pill-row,
.link-row,
.action-row,
.meta-grid,
.mini-feed,
.review-list,
.photo-grid,
.badge-shelf {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,252,247,0.96);
  font-size: 0.92rem;
  border: 1px solid rgba(222, 198, 170, 0.58);
}

.detail-photo {
  border-radius: 22px;
  min-height: 220px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(96, 58, 77, 0.08);
}

.detail-photo img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

.content-card {
  background: rgba(255,252,247,0.92);
  border: 1px solid rgba(218, 193, 163, 0.5);
  border-radius: 24px;
  padding: 16px;
}

.content-card h4 {
  margin: 0 0 8px;
  font-family: "Fredoka", sans-serif;
  font-size: 1.1rem;
}

.meta-grid > div {
  flex: 1 1 180px;
  background: rgba(255,248,240,0.82);
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(223, 196, 166, 0.36);
}

.link-chip {
  text-decoration: none;
  background: rgba(255,245,228,0.94);
  color: var(--ink);
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid rgba(234, 202, 143, 0.62);
}

.menu-list,
.review-list,
.photo-grid,
.mini-feed {
  margin-top: 10px;
}

.menu-item,
.review-card,
.upload-card,
.feed-card,
.badge-card {
  background: rgba(255,252,247,0.94);
  border-radius: 18px;
  border: 1px solid rgba(217, 192, 163, 0.46);
  padding: 14px;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.review-card,
.upload-card,
.feed-card,
.badge-card {
  flex: 1 1 220px;
}

.badge-card.locked {
  opacity: 0.55;
  filter: grayscale(0.3);
}

.star-row {
  color: #ec8a00;
  letter-spacing: 0.1em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.stack-form {
  display: grid;
  gap: 12px;
}

.checkbox {
  grid-template-columns: auto 1fr;
  align-items: start;
}

.checkbox input {
  width: 18px;
  margin-top: 2px;
}

.scoop-rating-field {
  display: grid;
  gap: 10px;
}

.scoop-rating-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.scoop-rating-head span {
  font-weight: 700;
}

.scoop-rating-value {
  color: var(--muted);
  font-size: 0.92rem;
}

.scoop-picker {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.scoop-choice,
.scoop-choice:hover,
.scoop-choice:focus-visible,
.scoop-choice.active,
.scoop-choice.preview {
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
  outline: none;
}

.scoop-choice {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--muted);
  cursor: pointer;
  transition: filter 140ms ease, opacity 140ms ease, transform 140ms ease;
}

.scoop-choice img {
  width: 38px;
  height: 56px;
  object-fit: contain;
  filter: grayscale(1) saturate(0.2);
  opacity: 0.38;
  transition: filter 140ms ease, opacity 140ms ease, transform 140ms ease;
}

.scoop-choice:hover img,
.scoop-choice:focus-visible img,
.scoop-choice.active img,
.scoop-choice.preview img {
  filter: none;
  opacity: 1;
  transform: translateY(-1px);
}

.scoop-choice:focus-visible img {
  filter: drop-shadow(0 0 0 2px rgba(232, 95, 141, 0.28));
}

.scoop-choice span {
  display: none;
}

.status-card {
  margin-top: 10px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 245, 228, 0.74);
  color: var(--ink);
  border: 1px solid rgba(234, 202, 143, 0.48);
}

.feature-grid,
.dashboard-grid {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.dashboard-grid {
  grid-template-columns: 1fr 0.9fr;
}

.member-summary {
  background: linear-gradient(180deg, rgba(255,250,244,0.96), rgba(255,242,224,0.94));
  border-radius: 20px;
  padding: 16px;
  margin-bottom: 16px;
  border: 1px solid rgba(230, 200, 159, 0.52);
}

.member-summary-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.member-summary-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.checkin-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.checkin-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,252,247,0.82);
  border: 1px solid rgba(222, 198, 170, 0.42);
}

.checkin-item strong {
  display: block;
}

.checkin-item span {
  color: var(--muted);
  font-size: 0.92rem;
}

.scoop-icons {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  flex-wrap: wrap;
}

.scoop-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  border-radius: 6px;
}

.badge-card strong {
  display: block;
  font-family: "Fredoka", sans-serif;
  margin-bottom: 4px;
}

.policy-copy {
  display: grid;
  gap: 12px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 20;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(57, 34, 49, 0.38);
  backdrop-filter: blur(6px);
}

.modal-card {
  position: relative;
  width: min(620px, calc(100% - 24px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  margin: 16px auto;
  padding: 24px;
  border-radius: 28px;
  background: white;
  box-shadow: 0 24px 80px rgba(39, 16, 29, 0.28);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255, 244, 248, 1);
  border-radius: 999px;
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-section {
  display: grid;
  gap: 12px;
}

.admin-lockup {
  display: flex;
  gap: 10px;
  align-items: end;
}

.admin-lockup label {
  flex: 1 1 auto;
}

.admin-post {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 12px;
}

.admin-post-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.admin-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-directory-search {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.owner-auth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.owner-section {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}

.owner-claim-banner,
.owner-claim-card,
.owner-dashboard-card {
  display: grid;
  gap: 10px;
}

.owner-claim-banner {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 248, 236, 0.86);
  border: 1px solid rgba(231, 203, 169, 0.72);
}

.owner-dashboard-list {
  display: grid;
  gap: 14px;
}

.owner-status-pill {
  text-transform: capitalize;
  background: rgba(248, 198, 93, 0.18);
}

.admin-collapsible {
  display: grid;
  gap: 14px;
}

.admin-collapsible-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-family: "Fredoka", sans-serif;
  font-size: 1.2rem;
  list-style: none;
}

.admin-collapsible-summary::-webkit-details-marker {
  display: none;
}

.admin-collapsible-summary::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-right: 10px;
  border-radius: 999px;
  background: rgba(255, 245, 228, 0.82);
  color: var(--pink-deep);
  font-size: 1rem;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
}

.admin-collapsible[open] .admin-collapsible-summary::before {
  content: "−";
}

.admin-collapsible-body {
  padding-top: 4px;
}

.validation-card {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
}

.photo-audit-card,
.photo-edit-preview {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.photo-audit-preview {
  width: 108px;
  height: 88px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 252, 247, 0.82);
}

.photo-audit-body {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.photo-audit-topline {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
  flex-wrap: wrap;
}

.photo-audit-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.photo-audit-badge.priority-3 {
  background: rgba(210, 77, 87, 0.14);
  color: #8c2530;
}

.photo-audit-badge.priority-2 {
  background: rgba(236, 184, 59, 0.18);
  color: #8a6114;
}

.photo-audit-badge.priority-1,
.photo-audit-badge.priority-0 {
  background: rgba(105, 163, 132, 0.18);
  color: #2e6950;
}

.audit-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.audit-links a {
  color: var(--berry);
  font-weight: 700;
  text-decoration: none;
}

.audit-links a:hover {
  text-decoration: underline;
}

.validation-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.validation-label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.review-meta,
.upload-meta,
.feed-meta {
  font-size: 0.88rem;
  color: var(--muted);
}

.avatar-picker {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  background: rgba(255,252,247,0.88);
}

.avatar-picker legend {
  padding: 0 6px;
  color: var(--muted);
}

.avatar-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 4px;
}

.avatar-option input {
  width: 18px;
}

.hero-avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  object-fit: cover;
  background: rgba(255,255,255,0.95);
  border: 2px solid rgba(239,95,150,0.16);
}

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

.aspect-chip {
  background: rgba(255, 248, 236, 0.96);
  border: 1px solid rgba(229, 199, 157, 0.46);
  border-radius: 16px;
  padding: 10px 12px;
}

.aspect-chip strong {
  display: block;
  margin-bottom: 4px;
}

.map-stage,
.policy-panel,
.feature-card,
.panel,
.hero-copy,
.hero-card {
  position: relative;
  overflow: hidden;
}

.panel::after,
.hero-copy::after,
.hero-card::after {
  content: "";
  position: absolute;
  inset: auto -30px -30px auto;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(255,255,255,0.55), transparent 70%);
  pointer-events: none;
}

@media (max-width: 980px) {
  .hero,
  .two-up,
  .dashboard-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero-priority-search-row {
    grid-template-columns: 1fr;
  }

  .details-panel {
    min-height: auto;
  }

  .details-empty {
    min-height: 220px;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 16px, 1180px);
    padding-top: 16px;
  }

  .hero-copy,
  .hero-card,
  .panel {
    border-radius: 24px;
  }

  .hero-copy {
    padding: 22px;
  }

  .hero-topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .map-toolbar {
    border-radius: 24px;
    padding: 12px;
  }

  .map-chip-row {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .search-modal-grid,
  .search-modal-grid-three {
    grid-template-columns: 1fr;
  }

  .photo-audit-card,
  .photo-edit-preview,
  .detail-hero-top,
  .admin-lockup,
  .owner-auth-grid {
    flex-direction: column;
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .photo-audit-preview {
    width: 100%;
    max-width: 240px;
  }

  .scoop-picker {
    gap: 8px;
  }

  .scoop-choice {
    padding: 8px 4px 7px;
  }

  .scoop-choice img {
    width: 36px;
    height: 46px;
  }

  .map-viewport {
    width: 100%;
  }

  .map-bottom-sheet {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .google-map-shell {
    min-height: 560px;
  }

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

  .map-sheet-photo {
    width: 100%;
    height: 156px;
  }

  .map-sheet-actions {
    width: 100%;
    justify-content: space-between;
  }

  .aspect-grid {
    grid-template-columns: 1fr;
  }
}
