/* ─── TOKENS ─────────────────────────────────── */
:root {
  --black: #0A0A0A;
  --white: #FFFFFF;
  --grey-50: #F7F7F7;
  --grey-100: #EEEEEE;
  --grey-200: #DEDEDE;
  --grey-400: #A0A0A0;
  --grey-600: #6B6B6B;
  --accent: #0A0A0A;
  --hestia: #0A0A0A;

  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;

  --safe-t: env(safe-area-inset-top, 0px);
  --nav-h: calc(60px + env(safe-area-inset-bottom, 0px));
  --safe-b: env(safe-area-inset-bottom, 0px);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
}

/* ─── RESET ──────────────────────────────────── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; -webkit-tap-highlight-color:transparent; }
html, body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--black);
  height: 100dvh;
  overflow: hidden;
  max-width: 430px;
  margin: 0 auto;
  -webkit-text-size-adjust: 93%;
  text-size-adjust: 93%;
}
body { overscroll-behavior: none; }
button { font-family: var(--sans); cursor: pointer; }
input, textarea { font-family: var(--sans); }

body.native-app {
  --safe-t: max(36px, env(safe-area-inset-top, 0px));
  -webkit-text-size-adjust: 93%;
  text-size-adjust: 93%;
}

body.native-app::before {
  content: '';
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--safe-t);
  background: #fff;
  z-index: 9998;
  pointer-events: none;
}

body.native-app .discover-place-search-overlay,
body.native-app .discover-advanced-filter-overlay,
body.native-app .profile-settings-sheet,
body.native-app .friend-profile-sheet,
body.native-app #custom-modal,
body.native-app .review-photo-lightbox {
  padding-top: var(--safe-t);
}

body.native-app .discover-place-search-sheet,
body.native-app .discover-advanced-filter-sheet,
body.native-app .profile-settings-card,
body.native-app .friend-profile-card,
body.native-app .modal-card,
body.native-app .cm-sheet {
  max-height: calc(100dvh - var(--safe-t));
}

body.native-app .review-photo-lightbox-close {
  top: calc(16px + var(--safe-t));
}

/* ─── SCREENS ────────────────────────────────── */
.screen { display: none; height: calc(100dvh - var(--safe-t)); flex-direction: column; overflow: hidden; padding-top: var(--safe-t); }
.screen.active { display: flex; }
body.auth-visible .screen,
body.auth-visible .bottom-nav,
body.auth-visible .discover-map-controls,
body.auth-visible .discover-place-search-overlay,
body.auth-visible .discover-advanced-filter-overlay,
body.auth-visible .profile-settings-sheet,
body.auth-visible #screen-restaurant,
body.auth-visible #screen-review,
body.auth-visible #screen-specials,
body.auth-visible #custom-modal {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.scroll-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding-bottom: calc(var(--nav-h) + 16px);
}

/* ─── ANIMATIONS ─────────────────────────────── */
@keyframes fadeUp { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:none; } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes slideUp { from { transform:translateY(100%); } to { transform:none; } }
@keyframes pulse { 0%,100%{transform:scale(1);} 50%{transform:scale(1.05);} }
@keyframes ellipsis { 0%{content:'';} 33%{content:'.';} 66%{content:'..';} 100%{content:'...';} }
.fade-up { animation: fadeUp 0.3s ease both; }

/* ─── NAV ────────────────────────────────────── */
.bottom-nav {
  height: var(--nav-h);
  background: var(--white);
  border-top: 1px solid var(--grey-100);
  display: flex;
  align-items: flex-start;
  padding-top: 8px;
  padding-bottom: var(--safe-b);
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}
.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  color: var(--grey-400);
  font-size:12px;
  font-weight: 500;
  letter-spacing: .03em;
  transition: color .15s;
  padding: 0;
}
.nav-item.active { color: var(--black); }
.nav-icon { width: 24px; height: 24px; position: relative; }
.nav-dot {
  position: absolute;
  top: -1px; right: -2px;
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--black);
  border: 1.5px solid var(--white);
  display: none;
}
.nav-dot.show { display: block; }
.nav-scope-dot {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: 1px solid var(--white);
  display: none;
  box-shadow: 0 0 0 1px rgba(0,0,0,.04);
}
.nav-scope-dot.show {
  display: block;
}
.nav-scope-dot-expert {
  top: -2px;
  left: -3px;
  background: #6D28D9;
}
.nav-scope-dot-friends {
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  background: #2563EB;
}
.nav-scope-dot-inner {
  top: -2px;
  right: -3px;
  background: #D4A017;
}
.nav-label { font-size:12px; }

.social-pull-scroll {
  position: relative;
}

.social-pull-indicator {
  --pull-distance: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(calc((var(--pull-distance) - 48px) * .5));
  transition: opacity .18s ease, transform .18s ease, height .18s ease;
}

.social-pull-indicator.visible {
  height: 44px;
  opacity: 1;
}

.social-pull-indicator.armed .social-pull-indicator-text,
.social-pull-indicator.refreshing .social-pull-indicator-text {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.social-pull-indicator-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--grey-100);
  background: #fff;
  color: var(--grey-600);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .01em;
}

/* ─── TOAST ──────────────────────────────────── */
#toast {
  position: fixed; top: calc(8px + var(--safe-t)); left: 50%;
  transform: translateX(-50%);
  background: var(--black); color: var(--white);
  padding: 10px 18px; border-radius: var(--radius-pill);
  font-size:14px; font-weight: 500; z-index: 9999;
  transition: opacity .22s ease;
  white-space: nowrap; pointer-events: none;
  opacity: 0;
  visibility: hidden;
}
#toast.show {
  transform: translateX(-50%);
  opacity: 1;
  visibility: visible;
}

body.native-app #toast {
  top: calc(var(--safe-t) + 12px);
  max-width: calc(100% - 36px);
  white-space: normal;
  text-align: center;
}

body.native-app #restaurant-overlay-body {
  padding-top: 12px;
}

/* ─── OVERLAY BASE ───────────────────────────── */
.overlay-screen {
  position: fixed; inset: 0; max-width: 430px; margin: 0 auto;
  background: var(--white); z-index: 200;
  display: none; flex-direction: column; overflow: hidden; padding-top: var(--safe-t);
}
.overlay-screen.open { display: flex; animation: fadeIn .2s ease; }

/* ─────────────────────────────────────────────── */
/* HESTIA TAB                                     */
/* ─────────────────────────────────────────────── */
@keyframes orbGlow { 0%,100%{box-shadow:0 0 0 0 rgba(10,10,10,.15);} 50%{box-shadow:0 0 0 10px rgba(10,10,10,0);} }
@keyframes meshMove { 0%{transform:translate(0,0) rotate(0deg);} 100%{transform:translate(-10px,8px) rotate(2deg);} }

#screen-hestia {
  background: var(--white);
  position: relative;
}
#screen-hestia::before {
  content:'';
  position:absolute; inset:0; z-index:0; pointer-events:none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.025'/%3E%3C/svg%3E");
  opacity: .4;
}
.hestia-header {
  padding: 52px 20px 20px;
  flex-shrink: 0;
  background: var(--black);
  position: relative; z-index: 1;
}
.hestia-wordmark {
  font-family: var(--serif);
  font-size:32px;
  font-style: italic;
  color: var(--white);
  letter-spacing: -.5px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}
.hestia-orb {
  width: 38px; height: 38px;
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  display: flex; align-items: center; justify-content: center;
  font-size:16px;
  animation: orbGlow 2.8s ease infinite;
  flex-shrink: 0;
}
.hestia-sub {
  font-size:13px;
  color: rgba(255,255,255,.5);
  letter-spacing: .03em;
}
.hestia-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  padding-bottom: 340px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: transparent;
  position: relative; z-index: 1;
}
.msg {
  max-width: 84%;
  animation: fadeUp .28s cubic-bezier(.2,.8,.4,1) both;
}
.msg.hestia { align-self: flex-start; }
.msg.user { align-self: flex-end; }
.msg-bubble {
  padding: 13px 17px;
  border-radius: 20px;
  font-size:15px;
  line-height: 22px;
}
.msg.hestia .msg-bubble {
  background: var(--white);
  color: var(--black);
  border-radius: 2px 20px 20px 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,.07), 0 0 0 1px rgba(0,0,0,.05);
}
.msg.user .msg-bubble {
  background: var(--black);
  color: var(--white);
  border-radius: 20px 20px 2px 20px;
}
.msg-typing .msg-bubble { color: var(--grey-400); }
.msg-typing .msg-bubble::after {
  content: '';
  animation: ellipsis 1.4s infinite;
}
.hestia-topic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px 16px 10px;
  flex-shrink: 0;
  position: fixed;
  bottom: calc(var(--nav-h) + 88px);
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 98;
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,.06);
}
.hestia-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 8px 16px 10px;
  position: fixed;
  bottom: calc(var(--nav-h) + 88px);
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 98;
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,.06);
}
.hestia-chip {
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--grey-100);
  background: var(--white);
  color: var(--black);
  font-size:13px;
  font-weight: 400;
  transition: all .15s;
  white-space: nowrap;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.hestia-chip:active { background: var(--grey-50); transform: scale(.97); }
.hestia-chip.active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.hestia-reset-btn {
  position: fixed;
  right: calc(50% - 198px);
  bottom: calc(var(--nav-h) + 152px);
  z-index: 100;
  border: 1px solid rgba(0,0,0,.08);
  background: var(--white);
  color: var(--grey-500);
  border-radius: var(--radius-md);
  padding: 8px 11px;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--sans);
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.hestia-person-search {
  width: 100%;
}
.hestia-person-search-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--grey-400);
  margin-bottom: 8px;
}
#hestia-person-search-results {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}
#hestia-person-search-results::-webkit-scrollbar { display: none; }
.hestia-person-result {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 168px;
  max-width: 220px;
  border: 1px solid rgba(0,0,0,.08);
  background: var(--white);
  color: var(--black);
  border-radius: var(--radius-md);
  padding: 9px 11px;
  font-family: var(--sans);
  text-align: left;
  box-shadow: 0 1px 5px rgba(0,0,0,.06);
}
.hestia-person-avatar {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--grey-100);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}
.hestia-person-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hestia-person-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.hestia-person-copy strong {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hestia-person-copy small,
.hestia-person-empty {
  font-size: 12px;
  color: var(--grey-400);
}
.hestia-topic-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0,0,0,.07);
  background: var(--white);
  color: var(--black);
  font-size:13px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all .15s;
  font-family: var(--sans);
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.hestia-topic-btn:hover { border-color: rgba(0,0,0,.15); box-shadow: 0 4px 12px rgba(0,0,0,.1); }
.hestia-topic-btn:active { transform: scale(.97); background: var(--grey-50); }
.hestia-topic-emoji { font-size:21px; flex-shrink: 0; }
.hestia-topic-label { font-size:13px; font-weight: 500; line-height: 1.3; }
.hestia-input-section {
  flex-shrink: 0;
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,.06);
  position: fixed;
  bottom: var(--nav-h);
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 99;
  transition: opacity .15s ease, transform .15s ease;
}
.hestia-input-section.is-locked {
  opacity: .55;
}
.hestia-input-label {
  font-size:12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--grey-400);
  padding: 12px 20px 0;
}
.hestia-input-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px 12px;
  flex-shrink: 0;
  background: var(--white);
}
.hestia-input {
  flex: 1;
  background: var(--grey-50);
  border: 1.5px solid var(--grey-100);
  border-radius: var(--radius-pill);
  padding: 11px 18px;
  color: var(--black);
  font-size:15px;
  outline: none;
  transition: all .2s;
}
.hestia-input:focus {
  border-color: var(--black);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0,0,0,.06);
}
.hestia-input::placeholder { color: var(--grey-400); }
.hestia-send {
  width: 42px; height: 42px;
  border-radius: 999px;
  background: var(--black);
  border: none;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform .12s;
}
.hestia-send:disabled,
.hestia-input:disabled {
  cursor: not-allowed;
}
.hestia-send:active { transform: scale(.93); }
.hestia-send svg { width: 15px; height: 15px; }
.hestia-rec-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 6px 0 2px;
  margin: 0;
}
.hestia-rec-cards::-webkit-scrollbar { display: none; }
.hestia-rec-card {
  width: 100%;
  background: var(--white);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--radius-md);
  overflow: visible;
  cursor: pointer;
  box-shadow: 0 1px 6px rgba(0,0,0,.07);
  transition: transform .15s, box-shadow .15s;
}
.hestia-rec-card:active { transform: scale(.97); box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.hestia-rec-body {
  min-height: 54px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.hestia-rec-main { min-width: 0; }
.hestia-rec-kicker { font-size:10px; font-weight: 700; color: var(--grey-400); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 3px; }
.hestia-rec-name { font-size:14px; font-weight: 700; color: var(--black); letter-spacing: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hestia-rec-meta { flex-shrink: 0; font-size:13px; color: var(--black); font-weight: 800; text-align: right; }

@media (max-width: 430px) {
  .hestia-reset-btn {
    right: 20px;
  }
}

/* ─────────────────────────────────────────────── */
/* FRIENDS TAB                                     */
/* ─────────────────────────────────────────────── */
.page-header {
  padding: 52px 20px 0;
  flex-shrink: 0;
  background: var(--white);
}
.page-title {
  font-family: var(--serif);
  font-size:26px;
  font-weight: 400;
  letter-spacing: -.35px;
  margin-bottom: 16px;
}
.page-title span { font-style: italic; }
.app-page-titlebar {
  min-height: 46px;
  padding: 18px 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #ffffff;
}
.app-page-title {
  margin: 0;
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1;
  letter-spacing: -.35px;
  font-weight: 400;
  color: var(--black);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.app-page-settings-btn {
  appearance: none;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--grey-100);
  background: #fff;
  color: var(--black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  box-shadow: 0 6px 16px rgba(0,0,0,.05);
  cursor: pointer;
}
.app-page-settings-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tab-row {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--grey-100);
  margin: 0 -20px;
  padding: 0 20px;
  overflow-x: auto;
  flex-shrink: 0;
}
.tab-row::-webkit-scrollbar { display: none; }
.tab-btn {
  padding: 10px 0;
  margin-right: 24px;
  border: none;
  background: none;
  font-size:14px;
  font-weight: 500;
  color: var(--grey-400);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: all .15s;
}
.tab-btn.active { color: var(--black); border-bottom-color: var(--black); }
.post-card {
  border-bottom: 1px solid var(--grey-100);
  padding: 20px;
  cursor: pointer;
  transition: background .1s;
}
.social-feed-review-card {
  padding-left: 14px;
  padding-right: 14px;
}
.post-card:active { background: var(--grey-50); }
.post-top {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}
.post-top-copy {
  min-width: 0;
  flex: 1;
}
.post-top-side {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.post-stars-wrap {
  display: flex;
  justify-content: flex-end;
}
.post-top-side .review-return-badge {
  margin-bottom: 0;
}
.post-place-return-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin: -2px 0 10px;
}
.post-place-return-row .review-return-badge {
  margin-bottom: 0;
  white-space: nowrap;
}
.avatar {
  width: 36px; height: 36px;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size:14px; font-weight: 600;
  flex-shrink: 0;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}
.friend-review-avatar-btn {
  border: none;
  padding: 0;
  cursor: pointer;
}
.friend-review-avatar-btn:active {
  transform: scale(.96);
}
.post-author { font-size:14px; font-weight: 600; }
.post-meta { font-size:12px; color: var(--grey-400); margin-top: 1px; }
.post-place { font-size:16px; font-weight: 600; font-family: var(--sans); letter-spacing: -.02em; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post-recommendations { font-size:14px; line-height:20px; color: var(--grey-600); }
.post-comment { font-size:14px; line-height: 20px; color: var(--grey-600); }
.post-img {
  width: 100%; height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
  margin-bottom: 12px;
  background: var(--grey-100);
  filter: brightness(.97);
  cursor: zoom-in;
}
.social-feed-card-image {
  display: block;
  width: calc(100% + 28px);
  margin: 0 -14px 14px;
  border-radius: 18px 18px 0 0;
}
.social-review-card-body {
  display: flex;
  flex-direction: column;
}
.feed-review-preview-copy {
  font-size: 13px;
  line-height: 1.5;
  color: var(--grey-600);
  margin: -2px 0 12px;
}
.feed-review-preview-copy span {
  display: inline;
}
.feed-review-preview-more {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--black);
  font-size: 13px;
  font-weight: 600;
  padding: 0;
  margin-left: 6px;
  text-decoration: underline;
  cursor: pointer;
}
.feed-review-place-meta {
  font-size: 13px;
  color: var(--grey-400);
  margin: 4px 0 12px;
}
.social-review-top-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.social-review-top-tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}
.social-review-top-tag-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  margin-right: 6px;
  font-size: 14px;
  line-height: 1;
}
.social-review-top-tag.rating {
  background: #f4efe7;
  color: #6b5133;
}
.social-review-top-tag.standout {
  background: #fff6dd;
  color: #8a6500;
}
.social-review-top-tag.drawback {
  background: #fff0ed;
  color: #a3442f;
}
.feed-review-summary-row {
  display: grid;
  grid-template-columns: minmax(0,1.35fr) .72fr .72fr .92fr;
  gap: 0;
  align-items: stretch;
  margin: 2px 0 12px;
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
}
.feed-review-summary-cell {
  min-height: 44px;
  border-radius: 0;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 9px;
  font-size: 12px;
  font-weight: 500;
  color: var(--black);
  font-family: var(--sans);
}
.feed-review-summary-cell + .feed-review-summary-cell {
  border-left: 0;
}
.feed-review-summary-return {
  justify-content: center;
  padding: 0 8px;
}
.feed-review-summary-return.positive {
  background: #eef8f1;
  color: #17663a;
}
.feed-review-summary-return.maybe {
  background: #fff6dd;
  color: #b86500;
}
.feed-review-summary-return.negative {
  background: #fff1ee;
  color: #a3442f;
}
.feed-review-summary-return.neutral {
  background: var(--grey-50);
  color: var(--grey-500);
}
.feed-review-summary-return .review-return-badge {
  width: 100%;
  min-height: 44px;
  margin: 0;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -.01em;
  background: transparent;
  color: inherit;
  border-radius: 0;
  padding: 0;
}
.feed-review-summary-rating {
  font-weight: 600;
}
.feed-review-summary-icon {
  font-size: 15px;
  line-height: 1;
}
.feed-review-summary-heart {
  appearance: none;
  cursor: pointer;
  color: #fca5a5;
  background: transparent;
}
.feed-review-summary-heart svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feed-review-summary-heart.active svg {
  fill: currentColor;
}
.feed-review-summary-heart.active {
  background: #fee2e2;
  color: #991b1b;
}
.feed-review-summary-save {
  padding: 0;
}
.feed-review-summary-save.active {
  background: #dbeafe;
}
.feed-review-summary-save .saved-place-btn {
  width: 100%;
  min-height: 44px;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
  padding: 0 8px;
  background: transparent;
  border: 0;
  color: #60a5fa;
  box-shadow: none;
  border-radius: 0;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.feed-review-summary-save .saved-place-btn.mono {
  background: transparent;
  border: 0;
  color: #60a5fa;
}
.feed-review-summary-save .saved-place-btn.active {
  background: transparent;
  border: 0;
  color: #1e3a8a;
}
.feed-review-summary-save .saved-place-btn.mono.active {
  background: transparent;
  border: 0;
  color: #1e3a8a;
}
.feed-review-summary-save .saved-place-btn.active svg,
.feed-review-summary-save .saved-place-btn.mono.active svg {
  fill: currentColor;
}
.feed-review-summary-save .saved-place-btn:focus,
.feed-review-summary-save .saved-place-btn:focus-visible,
.feed-review-summary-save .saved-place-btn:active {
  outline: none;
  box-shadow: none;
}
.feed-review-primary-action {
  margin-bottom: 10px;
}
.feed-review-primary-action .feed-view-btn {
  width: 100%;
  min-height: 44px;
  justify-content: center;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
}
.feed-review-secondary-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.post-img + .review-inline-photo-strip {
  margin-top: -4px;
}
.post-stars { display: flex; gap: 2px; margin-bottom: 12px; }
.star {
  position: relative;
  display: inline-block;
  font-size:14px;
  line-height: 1;
  color: var(--black);
}
.star.empty { color: var(--grey-200); }
.star.half {
  color: var(--grey-200);
}
.star.half::before {
  content: '★';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  overflow: hidden;
  color: var(--black);
}
.post-actions {
  display: flex;
  gap: 20px;
}
.post-action-btn {
  display: flex; align-items: center; gap: 5px;
  background: none; border: none;
  font-size:13px; color: var(--grey-400);
  font-weight: 500;
  transition: color .12s;
}
.post-action-btn svg { width: 16px; height: 16px; stroke: var(--grey-400); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.post-action-btn.liked { color: var(--black); }
.post-action-btn.liked svg { stroke: var(--black); }
.thin-dark-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--black);
  background: var(--black);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  font-family: var(--sans);
}
.thin-dark-btn:hover {
  background: #000;
  border-color: #000;
}
.review-love-block {
  margin-top: 12px;
  padding-top: 0;
  border-top: none;
}
.review-love-note {
  font-size: 12px;
  color: var(--grey-500);
  margin-bottom: 8px;
}
.review-love-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.review-love-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--grey-100);
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  transition: all .12s;
  flex-shrink: 0;
}
.review-love-btn:hover {
  background: var(--grey-50);
  border-color: #d9d9d9;
}
.review-love-btn.active {
  border-color: #b23a48;
  background: #b23a48;
  color: #ffffff;
}
.review-love-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.review-love-btn.active svg {
  fill: currentColor;
}
.review-love-count {
  font-size: 14px;
  font-weight: 700;
  color: var(--grey-500);
  line-height: 1;
}
.review-love-count.active {
  color: #8f2431;
}
.saved-place-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: all .12s;
  flex-shrink: 0;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.saved-place-btn:hover {
  background: #dbeafe;
  border-color: #93c5fd;
}
.saved-place-btn.active {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}
.saved-place-btn:focus,
.saved-place-btn:focus-visible,
.saved-place-btn:active {
  outline: none;
  box-shadow: none;
}
.saved-place-btn.compact {
  min-height: 32px;
  padding: 0 11px;
}
.saved-place-btn.icon-only {
  width: 34px;
  min-width: 34px;
  padding: 0;
  justify-content: center;
  gap: 0;
}
.feed-review-section {
  margin-bottom: 12px;
}
.feed-review-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--grey-400);
  margin-bottom: 4px;
}
.feed-score-pill-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 14px;
}
.feed-score-pill-row::-webkit-scrollbar {
  display: none;
}
.feed-score-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #f5f1ea;
  color: var(--grey-600);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}
.feed-score-pill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  font-size: 16px;
}
.expert-score-pill-row {
  margin-bottom: 8px;
}
.feed-score-block {
  margin-bottom: 14px;
}
.feed-more-pill {
  appearance: none;
  border: none;
  cursor: pointer;
  user-select: none;
  font-family: inherit;
}
.feed-more-panel {
  margin-top: 10px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--grey-100);
  background: #faf8f5;
}
.feed-more-section + .feed-more-section {
  margin-top: 10px;
}
.feed-more-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--grey-400);
  margin-bottom: 6px;
}
.feed-more-empty {
  font-size: 13px;
  color: var(--grey-500);
}
.feed-review-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.feed-review-actions::-webkit-scrollbar {
  display: none;
}
.feed-action-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--grey-100);
  background: var(--white);
  color: var(--black);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: all .12s;
}
.feed-action-btn:hover {
  background: var(--grey-50);
  border-color: #d9d9d9;
}
.feed-action-btn.active {
  border-color: #b23a48;
  background: #fff1f3;
  color: #8f2431;
}
.feed-action-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feed-action-btn.active svg {
  fill: currentColor;
}
.feed-action-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .06);
  font-size: 11px;
  line-height: 1;
}
.feed-view-btn {
  min-height: 34px;
  padding: 0 12px;
  flex-shrink: 0;
}
.saved-place-btn.icon-only.compact {
  width: 32px;
  min-width: 32px;
}
.saved-place-btn.mono {
  background: var(--white);
  border-color: var(--grey-100);
  color: var(--black);
}
.saved-place-btn.mono:hover {
  background: var(--grey-50);
  border-color: #d9d9d9;
}
.saved-place-btn.mono.active {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}
.saved-place-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.saved-place-btn.active svg {
  fill: currentColor;
}
.review-heart-summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--grey-500);
}
.review-heart-summary svg {
  width: 13px;
  height: 13px;
  stroke: #b23a48;
  fill: rgba(178, 58, 72, 0.14);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.privacy-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size:12px; font-weight: 600;
  color: var(--grey-600);
  background: var(--grey-50);
  padding: 3px 8px; border-radius: var(--radius-pill);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.review-return-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .01em;
  margin-bottom: 10px;
}
.review-return-badge.positive {
  background: #eef8f1;
  color: #17663a;
}
.review-return-badge.maybe {
  background: #fff6dd;
  color: #b86500;
}
.review-return-badge.negative {
  background: #fff1ee;
  color: #a3442f;
}
.review-return-badge.neutral {
  background: var(--grey-50);
  color: var(--grey-500);
}
.review-return-badge.compact {
  letter-spacing: 0;
  white-space: nowrap;
}
.review-chip-row,
.review-highlight-row,
.review-meta-row,
.structured-ratings {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.review-chip-row,
.review-highlight-row,
.review-meta-row {
  margin-bottom: 10px;
}
.structured-ratings {
  margin-bottom: 12px;
}
.structured-ratings.compact {
  margin-bottom: 10px;
}
.review-context-chip,
.review-tone-badge,
.review-neutral-chip,
.review-highlight-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
}
.review-context-chip {
  background: #f4efe7;
  color: #6b5133;
}
.review-tone-badge,
.review-neutral-chip {
  background: var(--grey-50);
  color: var(--grey-600);
}
.review-highlight-chip.standout {
  background: #fff6dd;
  color: #8a6500;
}
.review-highlight-chip.dealbreaker {
  background: #fff0ed;
  color: #a3442f;
}
.structured-rating-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 12px;
  background: #faf8f5;
  color: var(--grey-600);
  font-size: 13px;
  font-weight: 700;
}
.structured-rating-item.compact {
  font-size: 12px;
  padding: 6px 9px;
}

/* ─────────────────────────────────────────────── */
/* DISCOVER TAB                                    */
/* ─────────────────────────────────────────────── */
.search-bar-wrap {
  position: relative;
  padding: 0 20px 16px;
  z-index: 20;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid var(--grey-100);
  border-radius: 18px;
  min-height: 52px;
  padding: 0 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,.04);
}

.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 15px;
  color: var(--black);
}

.search-bar input::placeholder { color: var(--grey-400); }

.search-icon {
  width: 18px;
  height: 18px;
  stroke: var(--grey-400);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  flex-shrink: 0;
}

.search-clear-btn {
  background: #c7c7cc;
  border: none;
  border-radius: 999px;
  width: 18px;
  height: 18px;
  min-width: 18px;
  padding: 0;
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  color: #ffffff;
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  box-shadow: inset 0 0 0 0.5px rgba(255,255,255,0.35);
  transition: background-color 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
  -webkit-appearance: none;
  appearance: none;
}

.search-clear-btn:hover {
  background: #b8b8be;
}

.search-clear-btn:active {
  transform: scale(0.94);
}

.search-clear-btn:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.22);
  outline-offset: 2px;
}

.search-dropdown {
  position: absolute;
  left: 20px;
  right: 20px;
  top: calc(100% + 8px);
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 22px;
  box-shadow: 0 20px 40px rgba(0,0,0,.12);
  z-index: 2200;
  max-height: 340px;
  overflow-y: auto;
  overflow-x: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease;
}
.search-dropdown.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.sdrop-section {
  padding: 12px 16px 6px;
  font-size:12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--grey-400);
}

.sdrop-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  cursor: pointer;
  border-bottom: 1px solid rgba(0,0,0,.05);
  transition: background .12s ease;
}
.sdrop-row:last-child { border-bottom: none; }
.sdrop-row:active,
.sdrop-row:hover { background: rgba(0,0,0,.03); }

.sdrop-thumb {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--grey-100);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size:18px;
}
.sdrop-thumb img { width: 100%; height: 100%; object-fit: cover; }

.sdrop-name {
  font-size:15px;
  font-weight: 700;
  color: var(--black);
  line-height: 1.25;
}
.sdrop-sub {
  font-size:13px;
  color: var(--grey-400);
  margin-top: 2px;
  line-height: 1.3;
}
.sdrop-right { margin-left: auto; text-align: right; flex-shrink: 0; }
.sdrop-price { font-size:13px; font-weight: 600; }
.sdrop-rating { font-size:12px; color: var(--grey-600); }

.cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 20px 20px;
}
.cat-tile {
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  height: 100px;
  background: var(--grey-100);
}
.cat-tile img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.55);
  display: block;
}
.cat-tile-label {
  position: absolute;
  bottom: 10px; left: 12px;
  font-size:16px; font-weight: 700;
  color: var(--white);
  letter-spacing: -.2px;
}
.cat-tile-emoji {
  position: absolute;
  top: 10px; right: 10px;
  font-size:21px;
}

.section-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px 12px;
}
.section-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -.02em;
  text-transform: none;
}
.section-link {
  font-size:13px;
  font-weight: 600;
  color: var(--black);
  cursor: pointer;
}

.h-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0 20px 20px;
}
.h-scroll::-webkit-scrollbar { display: none; }

.rest-card {
  flex-shrink: 0;
  width: 180px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--grey-100);
  background: var(--white);
}
.rest-card-img {
  width: 100%; height: 110px; object-fit: cover; display: block; background: var(--grey-100);
  filter: brightness(.95);
}
.rest-card-body { padding: 10px; }
.rest-card-name { font-size:16px; font-weight: 600; font-family: var(--sans); margin-bottom: 3px; letter-spacing: -.02em; }
.rest-card-meta { font-size:12px; color: var(--grey-400); }
.rest-card-rating { font-size:13px; font-weight: 600; color: var(--black); }

.deal-card-strip {
  flex-shrink: 0;
  width: 140px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--grey-100);
  background: var(--white);
}
.deal-card-img { width: 100%; height: 80px; object-fit: cover; display: block; background: var(--grey-100); }
.deal-card-body { padding: 8px 10px 10px; }
.deal-card-price { font-size:16px; font-weight: 700; }
.deal-card-orig { font-size:12px; color: var(--grey-400); text-decoration: line-through; }
.deal-card-name { font-size:12px; color: var(--grey-600); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Combined Discover sticky filter area */
#screen-discover {
  overflow: visible !important;  /* allow the search dropdown to escape the screen bounds */
}
#screen-discover .scroll-body {
  background: #ffffff;
  overflow-x: visible; /* don't clip the absolute dropdown */
}
#discover-filter-wrap {
  position: relative;
  z-index: 40;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 10px 18px rgba(0,0,0,.035);
  overflow: visible;
}

.discover-page-header {
  min-height: 64px;
  padding: 0;
  border-bottom: 1px solid rgba(17,17,17,.06);
  background: #ffffff;
}

.discover-page-brand {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  color: #111111;
  letter-spacing: -.4px;
  line-height: 1;
}

.discover-header-menu-btn {
  appearance: none;
  width: 34px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 7px;
  cursor: pointer;
}

.discover-header-menu-btn svg {
  display: block;
  width: 19px;
  height: 19px;
  stroke: #111111;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#discover-results-title {
  letter-spacing: -.02em;
}
#discover-results-sub {
  line-height: 1.35;
}

.discover-map-card {
  position: relative;
  overflow: visible;
}

.discover-map-card.list-view {
  margin-bottom: 0;
}

.discover-map-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: 0;
  background: #ffffff;
  opacity: 0;
  transition: opacity .28s ease;
}

.discover-map-card.list-view::after {
  opacity: 0;
}

.discover-map-card #discover-map {
  transition: height .28s ease, filter .28s ease, opacity .28s ease;
}

.discover-map-card.list-view #discover-map {
  filter: none;
  opacity: 0;
  height: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

.discover-map-controls {
  position: relative;
  z-index: 60;
  pointer-events: auto;
}

.discover-map-search-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
  padding: 0 14px 12px;
}

.discover-map-search {
  position: relative;
  min-height: 40px;
  border: 1px solid rgba(17,17,17,.08);
  box-shadow: none;
  pointer-events: auto;
  padding: 0 10px;
  flex: 0 0 calc(80% - 5px);
  width: calc(80% - 5px);
  border-radius: 20px;
  background: #ffffff;
}

.discover-meet-toggle-btn {
  flex: 0 0 calc(20% - 5px);
  width: calc(20% - 5px);
  min-width: 56px;
  min-height: 40px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.discover-meet-toggle-btn svg {
  width: 18px;
  height: 18px;
}

.discover-unified-search-trigger {
  cursor: pointer;
  padding-right: 0;
}

.discover-unified-search-placeholder {
  flex: 1 1 auto;
  min-width: 0;
  color: #6b7280;
  font-size: 13px;
  font-weight: 750;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.discover-map-search-secondary {
  min-height: 34px;
  width: 100%;
  border-radius: 0 0 18px 18px;
  border-top: none;
  box-shadow: none;
}

.discover-map-search-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111111;
  stroke: currentColor;
}

.discover-map-search-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.discover-search-mode-btn {
  appearance: none;
  align-self: stretch;
  width: 48px;
  min-width: 48px;
  height: auto;
  border: 0;
  border-left: 2px solid #111111;
  border-radius: 0 18px 18px 0;
  background: #111111;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}

.discover-search-mode-btn svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.discover-place-search-trigger {
  width: 100%;
  justify-content: center;
  cursor: pointer;
  background: #111111;
  color: #ffffff;
}

.discover-place-search-trigger-text {
  flex: 0 1 auto;
  text-align: center;
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
}

.discover-map-search-name-btn {
  padding: 0 8px;
}

.discover-map-filter-chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 0 0 2px;
  scrollbar-width: none;
}

.discover-map-filter-chips::-webkit-scrollbar {
  display: none;
}

.discover-map-filter-chips::-webkit-scrollbar-track {
  display: none;
}

.discover-map-filter-chips::-webkit-scrollbar-thumb {
  display: none;
}

.discover-map-filter-chip {
  flex: 0 0 auto;
  appearance: none;
  min-height: 32px;
  border: 1px solid rgba(17,17,17,.08);
  border-radius: 8px;
  background: #ffffff;
  color: #111111;
  box-shadow: none;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 9px;
  cursor: pointer;
}

.discover-map-card.list-view .discover-map-filter-chip,
.discover-map-card.list-view .discover-map-filter-reset {
  border-color: rgba(17,17,17,.08);
  box-shadow: none;
}

.discover-map-filter-chips .discover-map-filter-chip:nth-child(4) {
  min-width: 82px;
}

.discover-map-filter-chips .discover-map-filter-chip:nth-child(5) {
  min-width: 90px;
}

.discover-map-filter-reset {
  flex: 0 0 auto;
  appearance: none;
  width: 34px;
  min-width: 34px;
  min-height: 32px;
  border: 1px solid rgba(17,17,17,.08);
  border-radius: 8px;
  background: #ffffff;
  color: #111111;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.discover-map-filter-reset svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.discover-map-filter-chip.active {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(17,17,17,.14);
}

.discover-map-chip-popover {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 10px);
  z-index: 2605;
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(17,17,17,.1);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(17,17,17,.18);
  padding: 12px;
}

.discover-map-chip-popover.open {
  display: block;
}

.discover-map-chip-popover-title {
  font-size: 13px;
  font-weight: 850;
  color: #111111;
  margin-bottom: 8px;
}

.discover-map-chip-popover-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 168px;
  overflow-y: auto;
}

.discover-map-custom-hours {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
  margin-top: 4px;
}

.discover-map-custom-hours label {
  display: grid;
  gap: 4px;
  font-size: 11px;
  font-weight: 800;
  color: #6b7280;
}

.discover-map-custom-hours select {
  height: 34px;
  border: 1px solid var(--grey-200);
  border-radius: 8px;
  background: #ffffff;
  color: #111111;
  padding: 0 8px;
  font: inherit;
}

.discover-map-location-btn {
  position: absolute;
  left: 14px;
  right: auto;
  bottom: 14px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 999px;
  background: rgba(255,255,255,.96);
  color: #111111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px rgba(17,17,17,.14);
  cursor: pointer;
  pointer-events: auto;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  z-index: 6;
}

.discover-map-card.list-view .discover-map-location-btn {
  display: none;
}

.discover-map-card.map-view .discover-map-location-btn {
  display: inline-flex;
}

.discover-map-location-btn:active {
  transform: scale(0.96);
}

.discover-map-distance-wrap {
  position: absolute;
  left: 0;
  bottom: 0;
  pointer-events: auto;
}

.discover-map-expand-toggle {
  position: absolute;
  right: 14px;
  bottom: 14px;
  transform: none;
  appearance: none;
  min-height: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(17,17,17,.18);
  font-size: 12px;
  font-weight: 900;
  padding: 0 12px;
  cursor: pointer;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 6;
}

.discover-map-expand-toggle span:first-child {
  position: static;
  transform: none;
}

.discover-map-expand-toggle span:last-child {
  position: static;
}

.discover-map-card.list-view .discover-map-expand-toggle {
  position: static;
  margin: 0 14px 0 auto;
}

.discover-map-distance-chip {
  white-space: nowrap;
}

.discover-map-distance-btn {
  border-color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.96);
  color: #111111;
  box-shadow: 0 10px 22px rgba(17,17,17,.14);
}

.discover-map-distance-btn:hover,
.discover-map-distance-btn.active,
.discover-map-distance-btn:active {
  border-color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.96);
  color: #111111;
  box-shadow: 0 10px 22px rgba(17,17,17,.14);
}

.discover-map-popover {
  position: absolute;
  left: 14px;
  top: 86px;
  bottom: auto;
  z-index: 2605;
  pointer-events: auto;
}

.discover-distance-popover-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(17,17,17,.16);
  padding: 6px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.discover-distance-pill {
  appearance: none;
  border: 1px solid var(--grey-100);
  background: #ffffff;
  color: #111111;
  border-radius: 8px;
  min-height: 30px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.discover-distance-pill.active {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

.discover-top-controls {
  position: relative;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 20px 4px;
  overflow: visible;
}

.discover-sort-wrap {
  position: relative;
  flex: 0 0 auto;
}

.discover-sort-icon-btn {
  appearance: none;
  width: 36px;
  min-width: 36px;
  height: 34px;
  border: 1.5px solid #111111;
  border-radius: 8px;
  background: #ffffff;
  color: #111111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.discover-sort-icon-btn svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.discover-sort-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 2200;
  min-width: 146px;
  background: #ffffff;
  border: 1px solid rgba(17,17,17,.12);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(17,17,17,.14);
  padding: 6px;
}

.discover-sort-menu.open {
  display: grid;
  gap: 4px;
}

.discover-sort-menu button {
  appearance: none;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #111111;
  min-height: 34px;
  text-align: left;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 10px;
  cursor: pointer;
}

.discover-sort-menu button.active {
  background: #111111;
  color: #ffffff;
}

.discover-filter-icon-btn {
  appearance: none;
  width: 42px;
  min-width: 42px;
  height: 36px;
  border: 1.5px solid #111111;
  border-radius: 12px;
  background: #ffffff;
  color: #111111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: 0 0 auto;
  gap: 8px;
  transition: width .18s ease, flex-basis .18s ease, background .16s ease;
}

.discover-filter-icon-btn svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.discover-filter-icon-btn span {
  display: none;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.discover-filter-icon-btn.open {
  width: 100%;
  flex: 1 1 100%;
  justify-content: center;
}

.discover-filter-icon-btn.open span {
  display: inline;
}

.discover-filter-icon-btn.open + .discover-scope-row {
  display: none;
}

.discover-scope-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 1 320px;
  min-width: 0;
  flex-wrap: nowrap;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

#discover-filter-sections {
  position: relative;
  z-index: 65;
}

.discover-scope-row button {
  min-height: 30px;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  font-size: 12px !important;
}

.discover-specials-active .discover-filter-icon-btn,
.discover-specials-active .discover-filter-accordion-shell {
  display: none;
}

.discover-specials-active .discover-top-controls {
  padding-bottom: 0;
}

.discover-specials-active .discover-scope-row {
  flex: 1 1 100%;
}

.discover-specials-toggle {
  width: 100%;
  border: 1.5px solid #111111;
  border-radius: 8px;
  background: #ffffff;
  color: #111111;
  font-size: 14px;
  font-weight: 850;
  min-height: 40px;
  cursor: pointer;
}

.discover-specials-toggle.active {
  background: #111111;
  color: #ffffff;
}

.discover-specials-section {
  background: #f3f4f6;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 18px;
}

.discover-specials-filters {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}

.discover-specials-filter-label {
  font-size: 12px;
  font-weight: 850;
  color: #111111;
  margin-bottom: 6px;
}

.discover-specials-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.discover-specials-filter-row-cuisine {
  align-items: flex-start;
}

.discover-specials-chip {
  border: 1px solid rgba(17,17,17,.14);
  border-radius: 8px;
  background: #ffffff;
  color: #111111;
  font-size: 12px;
  font-weight: 800;
  min-height: 32px;
  padding: 7px 10px;
  cursor: pointer;
}

.discover-specials-chip.active {
  border-color: #111111;
  background: #111111;
  color: #ffffff;
}

.discover-specials-list {
  background: #ffffff;
  border-radius: 8px;
  padding: 0 12px;
}

.discover-specials-card-block {
  border: 1px solid rgba(17,17,17,.1);
  border-radius: 8px;
  background: #f9fafb;
  padding: 10px;
  margin: 8px 0;
}

.discover-specials-card-title {
  font-size: 12px;
  font-weight: 850;
  color: #111111;
  margin-bottom: 6px;
}

.discover-specials-card-item + .discover-specials-card-item {
  border-top: 1px solid rgba(17,17,17,.08);
  margin-top: 8px;
  padding-top: 8px;
}

.discover-specials-card-item-title {
  font-size: 13px;
  font-weight: 850;
  color: #111111;
}

.discover-specials-card-item-desc,
.discover-specials-card-item-meta,
.discover-specials-loading,
.discover-specials-empty {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.4;
}

.discover-specials-card-item-meta {
  font-weight: 750;
  margin-top: 4px;
}

.discover-specials-loading,
.discover-specials-empty {
  background: #ffffff;
  border-radius: 8px;
  padding: 14px;
}

.discover-place-search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17,17,17,.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 2600;
}

.discover-place-search-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.discover-place-search-sheet {
  position: absolute;
  inset: auto 0 0 0;
  max-width: 430px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 24px 24px 0 0;
  min-height: 88vh;
  max-height: 92vh;
  padding: 18px 20px 26px;
  transform: translateY(100%);
  transition: transform .24s ease;
  box-shadow: 0 -18px 40px rgba(0,0,0,.16);
  display: flex;
  flex-direction: column;
}

.discover-place-search-overlay.open .discover-place-search-sheet {
  transform: translateY(0);
}

.discover-place-search-sheet-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.discover-search-mode-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.discover-search-mode-btn {
  appearance: none;
  display: block;
  width: 100%;
  min-height: 40px;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: #ffffff;
  color: #374151;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all .14s ease;
}

.discover-search-mode-btn.active {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}

.discover-place-search-bar {
  flex: 1;
  min-height: 42px;
  padding: 0 12px;
}

.discover-place-search-close {
  appearance: none;
  width: 36px;
  min-width: 36px;
  height: 36px;
  border: none;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.discover-place-search-results {
  display: grid;
  flex-direction: column;
  grid-template-rows: minmax(140px, 1fr);
  gap: 14px;
  min-height: 0;
  flex: 1 1 auto;
  overflow: hidden;
  padding-bottom: 12px;
}

.discover-place-search-empty {
  padding: 18px 4px;
  color: var(--grey-400);
  font-size: 14px;
}

.discover-place-remote-search-btn {
  appearance: none;
  margin-top: 12px;
  width: 100%;
  border: 1px solid #111111;
  border-radius: 8px;
  background: #111111;
  color: #ffffff;
  min-height: 42px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.discover-place-remote-search-btn:active {
  transform: translateY(1px);
}

.discover-place-expand-search-btn {
  margin-top: 14px;
}

.discover-unified-section {
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.discover-unified-section + .discover-unified-section {
  margin-top: 0;
  padding-top: 14px;
  border-top: 1px solid var(--grey-100);
}

.discover-unified-section-scroll {
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: #9ca3af #f3f4f6;
}

.discover-unified-section-scroll::-webkit-scrollbar {
  width: 6px;
}

.discover-unified-section-scroll::-webkit-scrollbar-track {
  background: #f3f4f6;
  border-radius: 999px;
}

.discover-unified-section-scroll::-webkit-scrollbar-thumb {
  background: #9ca3af;
  border-radius: 999px;
}

.discover-unified-section.is-sparse {
  flex: 0 0 auto;
}

.discover-place-search-results:has(.discover-unified-section-locations.is-sparse) {
  grid-template-rows: auto minmax(180px, 1fr);
}

.discover-place-search-results:has(.discover-unified-section-places.is-sparse) {
  grid-template-rows: minmax(180px, 1fr) auto;
}

.discover-unified-section-places-full {
  min-height: 0;
}

.discover-place-search-loading-state {
  display: flex;
  min-height: 180px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--grey-500);
  text-align: center;
}

.discover-place-search-loading-icon {
  position: relative;
  width: 44px;
  height: 44px;
  animation: discover-search-wander 1.8s ease-in-out infinite;
}

.discover-place-search-loading-icon svg {
  width: 44px;
  height: 44px;
  stroke: #111111;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.discover-place-search-loading-copy {
  font-size: 14px;
  font-weight: 600;
}

@keyframes discover-search-wander {
  0% { transform: translateX(-16px) translateY(0) rotate(-8deg); }
  25% { transform: translateX(14px) translateY(-4px) rotate(6deg); }
  50% { transform: translateX(8px) translateY(6px) rotate(0deg); }
  75% { transform: translateX(-12px) translateY(-3px) rotate(-6deg); }
  100% { transform: translateX(-16px) translateY(0) rotate(-8deg); }
}

.discover-unified-section-title {
  font-size: 13px;
  font-weight: 650;
  color: #111111;
  margin: 0 0 8px;
}

.discover-unified-result-row {
  appearance: none;
  width: 100%;
  border: 0;
  background: #ffffff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 6px;
  text-align: left;
  cursor: pointer;
}

.discover-unified-result-row:active,
.discover-place-result-row:active {
  background: #f3f4f6;
}

.discover-unified-result-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #f3f4f6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111111;
  flex: 0 0 auto;
}

.discover-unified-result-icon svg {
  width: 20px;
  height: 20px;
}

.discover-place-result-row {
  appearance: none;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border: none;
  border-bottom: 1px solid var(--grey-100);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.discover-place-result-thumb {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--grey-100);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.discover-place-result-copy {
  min-width: 0;
  flex: 1;
}

.discover-place-result-name {
  font-size: 15px;
  font-weight: 700;
  color: #111111;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.discover-place-result-sub {
  font-size: 13px;
  color: var(--grey-400);
  line-height: 1.4;
}

.discover-cookie-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 34px 12px;
}

.discover-cookie-loading-icon {
  font-size: 42px;
  animation: cookieSpin 1s linear infinite;
  transform-origin: 50% 50%;
}

.discover-cookie-loading-copy {
  font-size: 14px;
  color: var(--grey-400);
  text-align: center;
}

@keyframes cookieSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.discover-filter-accordion-shell {
  width: 100%;
  border: 1.5px solid #111111;
  border-radius: 16px;
  background: #ffffff;
  overflow: hidden;
  display: none;
}

.discover-filter-accordion-shell.open {
  display: block;
}

.discover-filter-panel-top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}

.discover-filter-reset-btn {
  appearance: none;
  border: 1px solid #111111;
  background: #ffffff;
  color: #111111;
  border-radius: 8px;
  padding: 5px 10px;
  min-height: 30px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.discover-filter-reset-btn:hover {
  background: #fafafa;
}

.discover-advanced-filter-overlay {
  position: fixed;
  inset: 0;
  z-index: 2700;
  background: rgba(17,17,17,.24);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}

.discover-advanced-filter-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.discover-advanced-filter-sheet {
  position: absolute;
  inset: auto 0 0 0;
  max-width: 430px;
  max-height: 88vh;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 18px 18px 0 0;
  padding: 18px 18px calc(20px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: 0 -18px 40px rgba(17,17,17,.18);
  transform: translateY(14px);
  transition: transform .2s ease;
}

.discover-advanced-filter-overlay.open .discover-advanced-filter-sheet {
  transform: translateY(0);
}

.discover-advanced-filter-sticky {
  position: sticky;
  top: -18px;
  z-index: 5;
  background: #ffffff;
  padding: 18px 0 10px;
  margin: -18px 0 12px;
  border-bottom: 1px solid var(--grey-100);
}

#discover-advanced-filter-sections {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding-bottom: 12px;
}

.discover-advanced-filter-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.discover-advanced-filter-title {
  font-size: 18px;
  font-weight: 900;
  color: #111111;
}

.discover-advanced-filter-sub {
  font-size: 12px;
  color: #6b7280;
  margin-top: 3px;
}

.discover-advanced-apply-btn {
  appearance: none;
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: #111111;
  color: #ffffff;
  min-height: 44px;
  font-size: 14px;
  font-weight: 900;
  margin-top: 16px;
  position: sticky;
  bottom: env(safe-area-inset-bottom, 0px);
  flex-shrink: 0;
  box-shadow: 0 -4px 14px rgba(255,255,255,.96);
  cursor: pointer;
}

.discover-filter-section {
  display: block;
}

.discover-filter-section + .discover-filter-section {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--grey-100);
}

.discover-filter-section-title {
  font-size: 13px;
  font-weight: 700;
  color: #111111;
  margin-bottom: 8px;
}

.discover-filter-option-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.discover-filter-social-row {
  flex-wrap: nowrap;
}

.discover-filter-social-btn {
  min-height: 34px;
}

.discover-filter-option-row-scroll {
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: #9ca3af #f3f4f6;
}

.discover-filter-option-row-scroll::-webkit-scrollbar {
  height: 6px;
}

.discover-filter-option-row-scroll::-webkit-scrollbar-track {
  background: #f3f4f6;
  border-radius: 999px;
}

.discover-filter-option-row-scroll::-webkit-scrollbar-thumb {
  background: #9ca3af;
  border-radius: 999px;
  border: 1px solid #f3f4f6;
}

.discover-filter-option-row-scroll .discover-filter-bubble {
  flex: 0 0 auto;
}

.discover-filter-option-row-cuisines {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, minmax(0, auto));
  grid-auto-columns: max-content;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: #9ca3af #f3f4f6;
}

.discover-filter-option-row-cuisines::-webkit-scrollbar {
  height: 6px;
}

.discover-filter-option-row-cuisines::-webkit-scrollbar-track {
  background: #f3f4f6;
  border-radius: 999px;
}

.discover-filter-option-row-cuisines::-webkit-scrollbar-thumb {
  background: #9ca3af;
  border-radius: 999px;
  border: 1px solid #f3f4f6;
}

.discover-filter-bubble {
  appearance: none;
  border: 1px solid var(--grey-200);
  background: #ffffff;
  color: #111111;
  border-radius: 999px;
  padding: 7px 12px;
  min-height: 32px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
  transition: background .12s ease, border-color .12s ease, color .12s ease, transform .12s ease;
}

.discover-filter-bubble:active {
  transform: scale(.97);
}

.discover-filter-bubble.active {
  border-color: #111111;
  background: #111111;
  color: #ffffff;
}

.discover-custom-opening-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.discover-custom-opening-field {
  display: grid;
  gap: 5px;
  min-width: 132px;
  flex: 1 1 132px;
  font-size: 12px;
  font-weight: 700;
  color: var(--grey-500);
}

.discover-custom-opening-field select {
  appearance: none;
  width: 100%;
  min-height: 36px;
  border: 1px solid var(--grey-200);
  border-radius: 8px;
  background: #ffffff;
  color: #111111;
  padding: 8px 32px 8px 10px;
  font: inherit;
  cursor: pointer;
  background-image:
    linear-gradient(45deg, transparent 50%, #111111 50%),
    linear-gradient(135deg, #111111 50%, transparent 50%);
  background-position:
    calc(100% - 16px) 16px,
    calc(100% - 11px) 16px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.discover-filter-bubble-removable {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.discover-filter-bubble-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
}

#discover-filter-wrap div[style*="overflow-x:auto"],
#discover-chip-scroll {
  scrollbar-width: auto;
  scrollbar-color: #9ca3af #f3f4f6;
}
#discover-filter-wrap div[style*="overflow-x:auto"]::-webkit-scrollbar,
#discover-chip-scroll::-webkit-scrollbar {
  height: 8px;
}
#discover-chip-scroll::-webkit-scrollbar-track {
  background: #f3f4f6;
  border-radius: 99px;
}
#discover-chip-scroll::-webkit-scrollbar-thumb {
  background: #9ca3af;
  border-radius: 99px;
  border: 1px solid #f3f4f6;
}

/* Discover filter chips */
.chip-btn,
.tab-btn,
.friend-btn,
.radius-btn,
.map-sort-btn,
.disc-sort-btn,
.disc-distance-btn,
.disc-cuisine-btn,
.disc-price-btn,
.disc-been-btn {
  appearance: none;
  border: 1px solid var(--grey-100);
  background: #ffffff;
  color: var(--black);
  border-radius: 999px;
  padding: 9px 14px;
  min-height: 38px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,.03);
  transition: all .16s ease;
}
.chip-btn:hover,
.tab-btn:hover,
.friend-btn:hover,
.radius-btn:hover,
.map-sort-btn:hover,
.disc-sort-btn:hover,
.disc-distance-btn:hover,
.disc-cuisine-btn:hover,
.disc-price-btn:hover,
.disc-been-btn:hover {
  background: #fafafa;
  border-color: #d9d9d9;
}
.chip-btn.active,
.tab-btn.active,
.friend-btn.following,
.radius-btn.active,
.map-sort-btn.active,
.disc-sort-btn.active,
.disc-distance-btn.active,
.disc-cuisine-btn.active,
.disc-price-btn.active,
.disc-been-btn.active {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
  box-shadow: 0 6px 16px rgba(17,17,17,.14);
}
.chip-btn.chip-btn-success.active {
  background: #1f8f4e;
  color: #ffffff;
  border-color: #1f8f4e;
  box-shadow: 0 6px 16px rgba(31,143,78,.18);
}
.friend-btn:disabled,
.chip-btn:disabled {
  opacity: .55;
  cursor: default;
  box-shadow: none;
}

#discover-linear-results > div:last-child {
  border-bottom: 0 !important;
}
#discover-linear-results > div {
  transition: transform .14s ease, opacity .14s ease;
}
#discover-linear-results > div:hover {
  transform: translateY(-1px);
}

.discover-result-card {
  position: relative;
  display: flex;
  gap: 14px;
  align-items: stretch;
  padding: 14px 0;
  border-bottom: 1px solid var(--grey-100);
  cursor: pointer;
}

.discover-result-card-media {
  width: 108px;
  min-width: 108px;
  min-height: 170px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--grey-100);
  flex-shrink: 0;
}

.discover-result-card-thumb {
  width: 100%;
  height: 100%;
}

.discover-result-card-content {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.discover-result-card-save {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
}

.discover-result-card-save .saved-place-btn {
  box-shadow: none;
}

.discover-result-card-title {
  padding-right: 42px;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--sans);
  letter-spacing: -.02em;
  line-height: 1.25;
  margin-bottom: 4px;
}

.discover-result-card-meta {
  font-size: 13px;
  color: var(--grey-400);
  margin-bottom: 8px;
}

.discover-result-card-scores {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 8px;
  align-items: stretch;
  width: 100%;
}

.discover-result-card-status-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  margin-top: 2px;
  padding-top: 0;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.discover-result-card-visit-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F3F4F6;
  color: #6B7280;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
}

/* ─────────────────────────────────────────────── */
/* PROFILE TAB                                     */
/* ─────────────────────────────────────────────── */
.profile-hero {
  padding: 52px 20px 20px;
  border-bottom: 1px solid var(--grey-100);
  display: flex;
  align-items: center;
  gap: 16px;
}
.profile-avatar-lg {
  width: 72px; height: 72px;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  font-family: var(--serif);
  font-size:29px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.profile-name { font-family: var(--serif); font-size:25px; letter-spacing: -.3px; margin-bottom: 4px; }
.profile-sub { font-size:14px; color: var(--grey-400); }
.stats-row {
  display: flex;
  border-bottom: 1px solid var(--grey-100);
}
.stat-block {
  flex: 1;
  text-align: center;
  padding: 16px 0;
  border-right: 1px solid var(--grey-100);
}
.stat-block:last-child { border-right: none; }
.stat-num { font-family: var(--serif); font-size:25px; }
.stat-lbl { font-size:12px; color: var(--grey-400); margin-top: 2px; text-transform: uppercase; letter-spacing: .05em; }
.profile-section { padding: 20px 20px 0; }
.profile-section-label { font-size:12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--grey-400); margin-bottom: 12px; }
.mini-review {
  border-bottom: 1px solid var(--grey-100);
  padding: 14px 0;
  cursor: pointer;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.mini-review-thumb { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; flex-shrink: 0; background: var(--grey-100); }
.mini-review-thumb.has-photo { cursor: zoom-in; }
.review-inline-photo-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  margin-bottom: 10px;
  -webkit-overflow-scrolling: touch;
}
.review-inline-photo-thumb {
  appearance: none;
  border: none;
  background: transparent;
  padding: 0;
  width: 58px;
  height: 58px;
  border-radius: 12px;
  overflow: hidden;
  flex: 0 0 auto;
  cursor: zoom-in;
  box-shadow: 0 0 0 1px rgba(10,10,10,.06);
}
.review-inline-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: var(--grey-100);
}
.mini-review-place { font-size:16px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 2px; font-family: var(--sans); }
.mini-review-text { font-size:13px; color: var(--grey-600); line-height: 18px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.review-photo-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.94);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.review-photo-lightbox-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: pan-y;
}
.review-photo-lightbox-img {
  max-width: 95vw;
  max-height: 88vh;
  border-radius: 14px;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}
.review-photo-lightbox-close,
.review-photo-lightbox-nav {
  appearance: none;
  border: none;
  background: rgba(255,255,255,.16);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.review-photo-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  font-size: 22px;
  z-index: 2;
}
.review-photo-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  font-size: 24px;
  z-index: 2;
}
.review-photo-lightbox-nav.prev { left: 16px; }
.review-photo-lightbox-nav.next { right: 16px; }
.review-photo-lightbox-meta {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  background: rgba(0,0,0,.42);
  color: #fff;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
}
.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--grey-100);
  cursor: pointer;
}
.settings-row:active { background: var(--grey-50); }
.settings-lbl { font-size:16px; }
.settings-val { font-size:14px; color: var(--grey-400); }

.profile-screen-body {
  padding: 0 20px 96px;
}
.profile-topbar {
  display: block;
  margin: 0 -20px 22px;
}
.profile-username {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
  letter-spacing: -.5px;
  font-weight: 700;
  color: var(--black);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile-settings-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--grey-100);
  background: #fff;
  color: var(--black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(0,0,0,.05);
  cursor: pointer;
}
.profile-settings-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.profile-summary-row {
  display: grid;
  gap: 16px;
  margin-bottom: 26px;
}
.profile-summary-head {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.profile-summary-copy {
  min-width: 0;
}
.profile-summary-name {
  font-size: 26px;
  line-height: 1.05;
  font-family: var(--serif);
  letter-spacing: -.03em;
  color: var(--black);
}
.profile-summary-handle {
  font-size: 13px;
  color: var(--grey-500);
  font-weight: 500;
  margin-top: 4px;
}
.profile-summary-location {
  font-size: 14px;
  color: var(--grey-400);
  font-weight: 500;
  margin-top: 4px;
}
.profile-manage-heading {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 8px 0 14px;
}
.profile-page-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--grey-100);
  margin: 0 0 16px;
}
.profile-page-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--grey-500);
  padding: 10px 4px 12px;
  font-size: 12px;
  font-weight: 600;
  position: relative;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.profile-page-tab.active {
  color: var(--black);
}
.profile-page-tab.active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: -1px;
  height: 2px;
  border-radius: 999px;
  background: var(--black);
}
.profile-reviews-card {
  background: #fff;
}
.social-my-profile-reviews {
  padding-top: 4px;
}
.profile-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0 10px;
}
.profile-section-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--black);
}
.profile-section-sub {
  color: var(--grey-400);
  font-size: 14px;
  font-weight: 700;
  margin-top: 3px;
}
.profile-review-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.profile-review-toolbar .profile-view-toggle {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  width: auto;
  margin: 0;
}
.profile-review-sort-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--grey-100);
  background: #fff;
  color: var(--black);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.profile-review-sort-btn.active,
.profile-review-sort-btn.open {
  background: var(--black);
  border-color: var(--black);
  color: #fff;
}
.profile-review-sort-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.profile-review-filter-panel {
  background: #fff;
  border: 1px solid var(--grey-100);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(0,0,0,.08);
  padding: 14px;
  margin: 8px 0 14px;
}
.profile-review-filter-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.profile-review-filter-title {
  font-size: 16px;
  font-weight: 700;
}
.profile-review-filter-sub {
  font-size: 12px;
  color: var(--grey-400);
  font-weight: 700;
  margin-top: 2px;
}
.profile-review-filter-reset {
  appearance: none;
  border: 1px solid var(--grey-100);
  background: #fff;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.profile-diary-filter-pills {
  position: relative;
  margin: 0 0 14px;
}
.profile-filter-pill-row {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 8px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.profile-filter-pill-row::-webkit-scrollbar {
  display: none;
}
.profile-filter-pill {
  appearance: none;
  border: 1px solid var(--grey-100);
  background: #fff;
  color: var(--black);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  flex: 0 0 auto;
}
.profile-filter-pill.active {
  background: var(--black);
  border-color: var(--black);
  color: #fff;
}
.profile-filter-pill.reset-icon {
  width: auto;
  min-width: 58px;
  height: 34px;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--grey-100);
  background: #fff;
  color: #111;
  box-shadow: none;
}
.profile-filter-popover-inline {
  position: relative;
  z-index: 45;
  margin: 2px 0 12px;
  padding: 11px;
  background: #ffffff;
  border: 1px solid var(--grey-100);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(0,0,0,.1);
}
.profile-filter-popover-title {
  font-size: 12px;
  font-weight: 950;
  color: var(--grey-500);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 8px;
}
.profile-filter-option-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.profile-filter-option-chip {
  appearance: none;
  border: 1px solid var(--grey-100);
  background: #ffffff;
  color: var(--black);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.profile-filter-option-chip.active {
  background: var(--black);
  border-color: var(--black);
  color: #ffffff;
}
.saved-places-filter-row {
  margin: 14px 0 12px;
}
.profile-avatar-circle {
  width: 86px;
  height: 86px;
  border-radius: 999px;
  background: var(--black);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: var(--serif);
  font-size: 32px;
}
.profile-avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.profile-stats-inline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.profile-stats-inline .stat-block {
  border: none;
  padding: 0;
  text-align: center;
}
.profile-stats-inline .stat-num {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
}
.profile-stats-inline .stat-lbl {
  font-size: 11px;
  margin-top: 6px;
  color: var(--grey-400);
  font-weight: 600;
  line-height: 1.25;
}
.profile-reviews-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.profile-section-heading {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.profile-filter-icon-btn.active,
.profile-filter-icon-btn.open {
  background: #111111;
  color: #ffffff;
}
.profile-filter-accordion-shell {
  margin: 0 0 14px;
  border-radius: 8px;
}
.profile-filter-btn {
  border: 1px solid var(--grey-100);
  background: #fff;
  border-radius: 999px;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--black);
  box-shadow: 0 4px 12px rgba(0,0,0,.04);
  cursor: pointer;
  white-space: nowrap;
}
.profile-filter-wrap {
  position: relative;
  flex-shrink: 0;
}
.profile-filter-popover {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 20;
}
.profile-filter-popover-card {
  width: 190px;
  background: #fff;
  border: 1px solid var(--grey-100);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(0,0,0,.12);
  padding: 8px;
}
.profile-filter-popover-card button {
  width: 100%;
  border: none;
  background: transparent;
  border-radius: 12px;
  padding: 10px 9px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: var(--grey-600);
  cursor: pointer;
}
.profile-filter-popover-card button.active {
  background: var(--black);
  color: #fff;
}
.profile-view-toggle,
.profile-view-toggle-buttons {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: auto;
  border: 0;
  border-radius: 0;
  overflow: visible;
  margin: 0 0 14px;
  background: transparent;
}
.profile-view-toggle > .profile-view-toggle-buttons {
  border: 0;
  border-radius: 0;
  margin: 0;
}
.profile-view-toggle button,
.profile-view-toggle-buttons button {
  height: 40px;
  min-width: 40px;
  padding: 0 12px;
  border: 1px solid var(--grey-100);
  border-radius: 999px;
  background: #fff;
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  gap: 6px;
  width: auto;
  box-shadow: 0 4px 12px rgba(0,0,0,.04);
}
.profile-view-toggle button + button,
.profile-view-toggle-buttons button + button {
  border-left: 0;
}
.profile-view-toggle button.active,
.profile-view-toggle-buttons button.active {
  background: var(--black);
  border-color: var(--black);
  color: #fff;
}
.profile-view-toggle svg,
.profile-view-toggle-buttons svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.profile-view-toggle-label {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}
.friend-review-search-wrap {
  position: relative;
  z-index: 40;
}
.friend-review-search-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
}
.friend-review-search-bar {
  flex: 1;
  min-width: 0;
}
.friend-review-search-wrap .friend-review-search-dropdown {
  top: 54px;
}
.friends-page-header {
  padding: 0 0 16px;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 300;
  border-bottom: 1px solid var(--grey-100);
}
.friends-page-tabs {
  position: relative;
  z-index: 301;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 16px 12px 0;
  align-items: stretch;
}
.friends-page-tab {
  appearance: none;
  width: 100%;
  min-width: 0;
  border: 0;
  border-right: 1px solid var(--grey-100);
  border-radius: 0;
  background: transparent;
  color: var(--grey-500);
  padding: 10px 6px 12px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  cursor: pointer;
  position: relative;
}
.friends-page-tab:nth-child(2) {
  font-size: 16px;
  letter-spacing: normal;
}
.friends-page-tab:last-child {
  border-right: 0;
}
.friends-page-tab.active {
  color: var(--black);
  font-weight: 700;
}
.friends-page-tab.active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--black);
}
.recommendation-card {
  display: flex;
  gap: 10px;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--grey-100);
  border-radius: 8px;
  padding: 8px 6px;
}
.recommendation-thumb {
  width: 94px;
  min-width: 94px;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  background: var(--grey-100);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-400);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}
.recommendation-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: var(--grey-100);
}
.recommendation-copy {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: relative;
}
.recommendation-by {
  font-size: 11px;
  font-weight: 700;
  color: var(--grey-400);
  text-transform: uppercase;
  letter-spacing: .3px;
}
.recommendation-place {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.15;
  overflow-wrap: anywhere;
  padding-right: 62px;
  font-family: var(--sans);
}
.recommendation-rating-row {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}
.recommendation-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}
.recommendation-comment {
  font-size: 13px;
  line-height: 18px;
  color: var(--grey-600);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recommendation-actions {
  margin-top: auto;
}
.recommendation-actions .chip-btn {
  padding: 6px 8px;
  font-size: 13px;
  border-radius: 8px;
}
.recommendation-actions {
  flex-wrap: wrap;
}
.recommendation-actions .chip-btn {
  min-height: 34px;
}
.expert-place-review-btn {
  flex: 1;
  min-width: 0;
}
.expert-feed-subhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}
.expert-feed-filter-toggle {
  appearance: none;
  width: 42px;
  height: 36px;
  min-width: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #6D28D9;
  border-radius: 8px;
  background: #ffffff;
  color: #6D28D9;
  cursor: pointer;
}
.expert-feed-filter-toggle.active {
  background: #6D28D9;
  color: #ffffff;
}
.expert-feed-filter-toggle svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.expert-feed-filter-panel {
  width: 100%;
  border: 1px solid #DDD6FE;
  border-radius: 8px;
  background: #ffffff;
  padding: 12px;
  margin: 0 0 12px;
}
.friend-feed-filter-panel {
  margin-top: -4px;
}
.restaurant-expert-review-focus {
  box-shadow: 0 0 0 2px #6D28D9;
  transition: box-shadow .2s ease;
}
.expert-review-modal-copy {
  color: var(--grey-600);
  font-size: 14px;
  line-height: 21px;
  max-height: 42vh;
  overflow: auto;
  white-space: pre-wrap;
}
.recommendation-remove-btn {
  margin-left: auto;
  background: #ffffff;
  border-color: #fecaca;
  color: #b91c1c;
}
.recommendation-done-btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--black);
  background: var(--white);
  color: var(--black);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}
.friends-audience-filter-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  margin: 0 -20px 16px;
  padding: 8px 12px 10px;
  background: #fff;
  position: sticky;
  top: 118px;
  z-index: 80;
  border-bottom: 1px solid var(--grey-100);
  box-shadow: 0 8px 18px rgba(0,0,0,.035);
}
.friends-feed-view-toggle .profile-view-toggle-buttons {
  height: 100%;
  min-height: 40px;
  margin: 0;
  border-radius: 999px;
}
.friends-feed-view-toggle .profile-view-toggle-buttons button {
  height: 100%;
  min-height: 40px;
}
.social-feed-control-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
  margin: 0 0 14px;
}
.social-feed-control-strip .friend-review-search-wrap,
.social-feed-control-strip .friends-feed-view-toggle,
.social-feed-control-strip .profile-view-toggle-buttons {
  min-width: 0;
  width: 100%;
}
.social-feed-control-strip .friends-feed-view-toggle,
.social-feed-control-strip .friends-feed-view-toggle .profile-view-toggle-buttons,
.social-feed-control-strip .friends-feed-view-toggle .profile-view-toggle-buttons button {
  width: auto;
}
.social-feed-pill-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 0 5px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.social-feed-pill-row::-webkit-scrollbar {
  display: none;
}
.social-feed-pill {
  appearance: none;
  border: 1px solid var(--grey-100);
  background: #fff;
  color: var(--black);
  border-radius: 16px;
  padding: 0 16px;
  min-height: 42px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  flex: 1 1 100%;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,.04);
}
.social-feed-pill.active,
.social-feed-pill:active {
  background: var(--black);
  border-color: var(--black);
  color: #fff;
}
.social-feed-pill-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.social-feed-pill-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.social-feed-pill-popover {
  position: relative;
  z-index: 95;
  background: #fff;
  border: 1px solid var(--grey-100);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(0,0,0,.12);
  padding: 12px;
  margin: 4px 0 12px;
}
.friend-search-card {
  max-height: min(620px, calc(100vh - 70px));
}
.friend-search-sheet-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 420px;
  overflow-y: auto;
}
.friends-feed-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-bottom: 12px;
}
.friends-feed-grid-card {
  appearance: none;
  border: 1px solid var(--grey-100);
  border-radius: 8px;
  background: #fff;
  padding: 0;
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(17,17,17,.06);
}
.friends-feed-grid-photo {
  position: relative;
  aspect-ratio: 1 / .78;
  background: var(--grey-100);
  overflow: hidden;
}
.friends-feed-grid-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: var(--grey-100);
}
.friends-feed-grid-copy {
  padding: 10px;
  min-width: 0;
}
.friends-feed-grid-place {
  font-size: 14px;
  font-weight: 900;
  color: var(--black);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.friends-feed-grid-meta {
  margin-top: 4px;
  font-size: 12px;
  color: var(--grey-400);
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.friends-feed-grid-stars {
  margin-top: 0;
  line-height: 1;
  min-width: 0;
}
.friends-feed-grid-score-row {
  margin-top: 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.friends-feed-grid-return {
  display: flex;
  justify-content: flex-end;
  flex: 0 0 auto;
}
.friends-feed-grid-return .review-return-badge {
  margin-bottom: 0;
  padding: 4px 6px;
  font-size: 9px;
  line-height: 1;
  white-space: nowrap;
}
.social-feed-load-more {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--black);
  font-size: 14px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
  display: block;
  margin: 18px auto 8px;
  padding: 10px 16px;
  cursor: pointer;
}
.social-feed-load-sentinel {
  height: 54px;
  width: 100%;
}
.suggested-friend-request-btn {
  font-size: 12px;
  padding: 7px 10px;
  white-space: nowrap;
}
.friends-feed-grid-expert-badge {
  position: absolute;
  left: 8px;
  top: 8px;
  background: #111;
  color: #fff;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 900;
}
.friends-feed-expert-inline-title {
  font-size: 18px;
  font-weight: 900;
  color: #6D28D9;
  margin: 18px 0 10px;
}
.friend-review-search-dropdown {
  position: absolute;
  top: calc(100% - 6px);
  left: 0;
  right: 0;
  z-index: 90;
  background: #fff;
  border: 1px solid var(--grey-100);
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(0,0,0,.14);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.friend-review-search-option {
  appearance: none;
  border: none;
  background: transparent;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px;
  border-radius: 14px;
  text-align: left;
  cursor: pointer;
}
.friend-review-search-option:hover,
.friend-review-search-option:focus {
  background: var(--grey-50);
}
.friend-review-search-avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--black);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: var(--serif);
  flex-shrink: 0;
}
.friend-review-search-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.friend-review-search-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  font-size: 14px;
  font-weight: 800;
  color: var(--black);
}
.friend-review-search-copy small,
.friend-review-search-empty {
  font-size: 12px;
  color: var(--grey-400);
  font-weight: 700;
}
.friend-review-search-empty {
  padding: 11px 12px;
}
.profile-reviewed-places {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.profile-review-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  column-gap: 18px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--grey-100);
  cursor: pointer;
  overflow: visible;
}
.profile-review-photo {
  width: 76px;
  height: 76px;
  border-radius: 16px;
  background: var(--grey-100);
  overflow: hidden;
  min-width: 76px;
  grid-column: 1;
  grid-row: 1;
}
.profile-review-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.profile-review-meta {
  min-width: 0;
  max-width: 100%;
  width: 100%;
  grid-column: 2;
  grid-row: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.profile-review-place {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--black);
  font-family: var(--sans);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.profile-review-date {
  font-size: 12px;
  color: var(--grey-400);
  font-weight: 600;
}
.profile-review-score-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.profile-review-rating {
  line-height: 1;
}
.profile-review-metric-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.profile-review-metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #f8f6f1;
  color: #6b7280;
  font-size: 11px;
  font-weight: 600;
}
.profile-review-return {
  display: flex;
}
.profile-review-hearts {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #E11D48;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  width: fit-content;
}
.profile-review-hearts svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}
.profile-review-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.profile-review-action-btn {
  appearance: none;
  border: 1px solid var(--grey-100);
  background: #fff;
  color: var(--black);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.profile-review-action-btn.primary {
  background: var(--black);
  border-color: var(--black);
  color: #fff;
}
.profile-likers-popover {
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  width: max-content;
  min-width: 150px;
  max-width: min(260px, calc(100vw - 150px));
  background: #3a3a3a;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(0,0,0,.14);
  padding: 10px 12px;
  color: #fff;
  white-space: nowrap;
}
.profile-likers-popover-floating {
  position: fixed;
  z-index: 10000;
}
.profile-likers-popover::before {
  content: '';
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  border-width: 7px;
  border-style: solid;
  border-color: transparent #3a3a3a transparent transparent;
}
.profile-likers-title {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
  margin-bottom: 7px;
}
.profile-liker-name,
.profile-liker-empty {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  padding: 5px 0;
  color: #fff;
}
.profile-liker-empty {
  color: rgba(255,255,255,.72);
}
.profile-review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
}
.profile-review-grid-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border: none;
  padding: 0;
  background: var(--grey-100);
  overflow: hidden;
  cursor: pointer;
}
.profile-review-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.profile-review-grid-rating {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(0,0,0,.72);
  color: #fff;
  border-radius: 999px;
  padding: 3px 6px;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}
.profile-review-grid-return {
  position: absolute;
  top: 6px;
  right: 6px;
  max-width: calc(100% - 52px);
  display: flex;
  justify-content: flex-end;
}
.profile-review-grid-return .review-return-badge {
  margin: 0;
  padding: 3px 5px;
  font-size: 8.5px;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0,0,0,.12);
}
.review-grid-rating-star {
  color: #F5C542;
}
.profile-review-grid-place,
.friend-profile-grid-place {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 7px 7px;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.74));
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.12;
  text-align: left;
  text-shadow: 0 1px 6px rgba(0,0,0,.4);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.profile-empty-reviews {
  padding: 34px 0;
  color: var(--grey-400);
  font-size: 14px;
  text-align: center;
}
.profile-settings-sheet {
  position: fixed;
  inset: 0;
  z-index: 2700;
  max-width: 430px;
  margin: 0 auto;
  background: rgba(0,0,0,.56);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
  display: flex;
  align-items: flex-end;
}
.profile-settings-sheet.open {
  opacity: 1;
  pointer-events: auto;
}
.profile-settings-card {
  width: 100%;
  background: #fff;
  border-radius: 28px 28px 0 0;
  padding: 12px 20px 28px;
  position: relative;
  box-shadow: 0 -18px 48px rgba(0,0,0,.18);
  transform: translateY(100%);
  transition: transform .28s cubic-bezier(.32,1.1,.5,1);
}
.profile-settings-sheet.open .profile-settings-card {
  transform: translateY(0);
}
.profile-settings-handle {
  width: 42px;
  height: 4px;
  border-radius: 99px;
  background: var(--grey-100);
  margin: 0 auto 14px;
}
.profile-settings-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: none;
  background: var(--grey-100);
  color: var(--black);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.profile-settings-title {
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: -.04em;
  margin: 4px 0 12px;
}
.profile-settings-list {
  border-top: 1px solid var(--grey-100);
}
.profile-settings-list .settings-row {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--grey-100);
  text-align: left;
  padding: 16px 0;
  font-family: inherit;
  cursor: pointer;
}

.settings-section-label {
  margin-top: 18px;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--grey-400);
}
.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.settings-row-static {
  cursor: default !important;
}
.settings-lbl {
  font-size: 15px;
  font-weight: 600;
  color: var(--black);
}
.settings-val {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--grey-400);
}
.settings-chevron {
  font-size: 18px;
  line-height: 1;
  color: var(--grey-300);
}
.profile-settings-actions {
  margin-top: 18px;
}
.settings-danger-row .settings-lbl {
  color: #b42318;
}
.settings-detail-sheet {
  background: var(--white);
  border-radius: 28px 28px 0 0;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  position: relative;
  padding: 12px 20px calc(26px + var(--safe-b));
  animation: slideUp .28s cubic-bezier(.32,1.1,.5,1);
}
.settings-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.settings-detail-head .profile-settings-close {
  position: static;
  margin-left: auto;
}
.settings-detail-title {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: -.04em;
  margin-bottom: 6px;
}
.settings-detail-subtitle {
  color: var(--grey-400);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 18px;
}
.settings-detail-body {
  padding-bottom: 4px;
}
.settings-avatar-editor {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.settings-avatar-button {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: none;
  background: var(--grey-100);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  cursor: pointer;
}
.settings-avatar-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.settings-field {
  display: block;
  margin-bottom: 14px;
}
.settings-field-gap {
  margin-top: 22px;
}
.settings-field > span,
.settings-group-title {
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--black);
}
.settings-input,
.settings-textarea {
  width: 100%;
  border: 1px solid var(--grey-100);
  border-radius: 16px;
  padding: 13px 14px;
  font: inherit;
  color: var(--black);
  background: var(--white);
  box-sizing: border-box;
}
.settings-input[readonly] {
  background: var(--grey-50);
  color: var(--grey-400);
}
.settings-textarea {
  min-height: 110px;
  resize: vertical;
}
.settings-muted {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  color: var(--grey-400);
  margin-top: 6px;
}
.settings-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--grey-100);
  border-bottom: 1px solid var(--grey-100);
  margin: 18px 0;
}
.settings-toggle-row strong {
  display: block;
  font-size: 14px;
}
.settings-toggle-switch {
  position: relative;
  flex-shrink: 0;
}
.settings-toggle-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.settings-toggle-switch span {
  display: block;
  width: 52px;
  height: 31px;
  border-radius: 999px;
  background: var(--grey-200);
  position: relative;
  transition: background .16s ease;
}
.settings-toggle-switch span::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 6px rgba(0,0,0,.16);
  transition: transform .16s ease;
}
.settings-toggle-switch input:checked + span {
  background: var(--black);
}
.settings-toggle-switch input:checked + span::after {
  transform: translateX(21px);
}
.settings-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.settings-pill-option {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--grey-100);
  background: var(--white);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .14s ease;
}
.settings-pill-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.settings-pill-option.checked {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}
.settings-checkbox-group {
  padding: 12px 0 8px;
  border-top: 1px solid var(--grey-100);
}
.settings-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--black);
}
.settings-checkbox-row input {
  margin-top: 2px;
}
.settings-save-btn {
  width: 100%;
  justify-content: center;
  padding: 14px 18px;
  margin-top: 18px;
}
.settings-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.settings-faq-item {
  border: 1px solid var(--grey-100);
  border-radius: 16px;
  padding: 14px 16px;
  background: var(--grey-50);
}
.settings-faq-item summary {
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 700;
}
.settings-faq-item summary::-webkit-details-marker {
  display: none;
}
.settings-faq-item p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--grey-500);
}
.settings-legal-copy p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--grey-500);
}

/* ─────────────────────────────────────────────── */
/* RESTAURANT PAGE (overlay)                       */
/* ─────────────────────────────────────────────── */
#screen-restaurant {
  position: fixed; inset: 0; max-width: 430px; margin: 0 auto;
  background: var(--white); z-index: 2900;
  display: none; flex-direction: column; overflow-y: auto;
}
#screen-restaurant.open { display: flex; animation: slideUpFull .3s cubic-bezier(.32,1.1,.5,1); }
@keyframes slideUpFull { from { transform: translateY(100%); opacity: .8; } to { transform: none; opacity: 1; } }
.overlay-topbar {
  padding: 16px 20px;
  border-bottom: 1px solid var(--grey-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
  background: #fff;
}
.overlay-topbar-title {
  flex: 1;
  min-width: 0;
  text-align: center;
  font-size: 15px;
  font-weight: 800;
  color: var(--black);
}
.overlay-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--grey-100);
  background: #fff;
  color: var(--black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}
.overlay-close-btn span {
  transform: translateY(-1px);
}
.rest-hero {
  width: 100%; height: 280px;
  object-fit: cover; display: block;
  background: var(--grey-100);
  flex-shrink: 0;
}
.rest-back-btn {
  position: absolute; top: 52px; left: 16px;
  width: 36px; height: 36px; border-radius: 999px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border: none; display: flex; align-items: center; justify-content: center;
  z-index: 10; box-shadow: 0 1px 6px rgba(0,0,0,.1);
}
.rest-save-btn {
  position: absolute; top: 52px; right: 16px;
  width: 36px; height: 36px; border-radius: 999px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border: none; display: flex; align-items: center; justify-content: center;
  z-index: 10; font-size:17px; box-shadow: 0 1px 6px rgba(0,0,0,.1);
}
.restaurant-user-photo-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 12px 12px;
  background: #fff;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.restaurant-user-photo-strip::-webkit-scrollbar {
  display: none;
}
.restaurant-user-photo-thumb {
  appearance: none;
  border: 2px solid transparent;
  padding: 0;
  width: 54px;
  height: 78px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--grey-100);
  flex: 0 0 auto;
  cursor: pointer;
}
.restaurant-user-photo-thumb:focus,
.restaurant-user-photo-thumb:active {
  border-color: var(--black);
}
.restaurant-user-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.restaurant-hero-photo-btn {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: transparent;
  cursor: zoom-in;
}
.restaurant-hero-photo-btn img {
  cursor: zoom-in;
}
.restaurant-hero-shell {
  position: relative;
  min-height: 220px;
  background: var(--grey-100);
}
.restaurant-hero-pill-wrap {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 6;
}
.restaurant-hero-pill-wrap-bottom {
  top: auto;
  left: 12px;
  right: auto;
  bottom: 12px;
}
.restaurant-hero-save-wrap {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 6;
}
.restaurant-title-save-wrap {
  position: static;
  flex: 0 0 auto;
}
.restaurant-hero-save-wrap .saved-place-btn {
  background: rgba(255,255,255,.94);
  border-color: rgba(255,255,255,.82);
  color: #111111;
  box-shadow: 0 8px 20px rgba(0,0,0,.14);
  backdrop-filter: blur(10px);
}
.restaurant-hero-save-wrap .saved-place-btn.active {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}
.restaurant-title-save-wrap .saved-place-btn,
.restaurant-title-save-wrap .saved-place-btn.active {
  width: 36px;
  min-width: 36px;
  min-height: 36px;
  padding: 0;
  justify-content: center;
  border-radius: 999px;
}
.restaurant-visit-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(0,0,0,.16);
  backdrop-filter: blur(10px);
}
.restaurant-visit-pill.unvisited {
  background: rgba(255,237,213,.96);
  color: #c2410c;
  border: 1px solid #fdba74;
}
.restaurant-visit-pill.visited {
  background: rgba(22,163,74,.96);
}
.restaurant-ai-close-label {
  display: none;
}
details[open] .restaurant-ai-preview {
  display: none !important;
}
details[open] .restaurant-ai-open-label {
  display: none;
}
details[open] .restaurant-ai-close-label {
  display: inline;
}
.restaurant-score-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  gap: 8px;
  margin: 12px 0 16px;
}
.restaurant-score-card {
  min-width: 0;
  border: 1px solid var(--grey-100);
  border-radius: 14px;
  padding: 10px 8px 9px;
  background: #ffffff;
  color: #111111;
  text-align: center;
}
.restaurant-score-card.clickable {
  appearance: none;
  cursor: pointer;
}
.restaurant-score-card.clickable:active {
  transform: scale(.985);
}
.restaurant-score-card.general {
  border-color: rgba(17,17,17,.08);
}
.restaurant-score-card.friends {
  border-color: #93c5fd;
  background: #f8fbff;
}
.restaurant-score-card.inner {
  border-color: #f4c542;
  background: #fffaf0;
}
.restaurant-score-card.expert {
  border-color: #d8b4fe;
  background: #fcf7ff;
}
.restaurant-score-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 15px;
  font-weight: 800;
  line-height: 18px;
  white-space: nowrap;
}
.restaurant-score-main.general .restaurant-score-star {
  color: #111111;
}
.restaurant-score-main.friends,
.restaurant-score-card.friends .restaurant-score-main {
  color: #2563eb;
}
.restaurant-score-main.inner,
.restaurant-score-card.inner .restaurant-score-main {
  color: #b7791f;
}
.restaurant-score-main.expert,
.restaurant-score-card.expert .restaurant-score-main {
  color: #7c3aed;
}
.restaurant-score-star {
  font-size: 13px;
  line-height: 1;
}
.restaurant-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}
.restaurant-title-row .page-title {
  min-width: 0;
  flex: 1;
}
.restaurant-expert-badge {
  flex: 0 0 auto;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #6D28D9;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .3px;
  max-width: 64px;
}
.restaurant-expert-star {
  font-size: 20px;
  line-height: 20px;
}
.restaurant-score-label {
  color: var(--grey-500);
  font-size: 11px;
  font-weight: 800;
  line-height: 15px;
  margin-top: 3px;
}
.restaurant-score-breakdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 7px;
  color: #111111;
  font-size: 11px;
  font-weight: 800;
  line-height: 16px;
  white-space: nowrap;
  min-height: 18px;
}
.restaurant-score-metric {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 4px;
  padding: 0 6px;
  border-radius: 999px;
  background: #f8fafc;
}
.restaurant-score-metric.friends { color: #2563eb; }
.restaurant-score-metric.inner { color: #b7791f; }
.restaurant-score-metric.expert { color: #7c3aed; }
.restaurant-score-metric-icon {
  font-size: 12px;
  line-height: 16px;
}
.restaurant-score-metric-value {
  font-size: 11px;
  font-weight: 900;
  line-height: 16px;
}
.restaurant-main-tabs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 0;
  overflow: hidden;
  padding-bottom: 6px;
  margin-bottom: 2px;
  border-bottom: 1px solid var(--grey-100);
  scrollbar-width: none;
}
.restaurant-main-tabs::-webkit-scrollbar {
  display: none;
}
.restaurant-main-tab {
  appearance: none;
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--grey-400);
  font-size: 13px;
  font-weight: 600;
  padding: 0 0 10px;
  white-space: nowrap;
  text-align: center;
  cursor: pointer;
}
.restaurant-main-tab.active {
  color: #111111;
  border-bottom-color: #111111;
}
.restaurant-insight-card {
  margin: 0 0 14px;
  background: #fcfcfb;
  border: 1px solid var(--grey-100);
  border-radius: 16px;
  overflow: hidden;
}
.restaurant-insight-summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 16px 14px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.restaurant-insight-summary::-webkit-details-marker {
  display: none;
}
.restaurant-insight-copy {
  min-width: 0;
}
.restaurant-insight-title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #111111;
}
.restaurant-insight-preview {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.55;
  color: #4b5563;
  font-weight: 400;
}
.restaurant-insight-toggle {
  font-size: 12px;
  color: var(--grey-400);
  font-weight: 700;
  white-space: nowrap;
}
.restaurant-insight-body {
  padding: 0 16px 16px;
  font-size: 14px;
  line-height: 1.6;
  color: #374151;
  white-space: pre-wrap;
}
.restaurant-overview-card {
  border: 1px solid var(--grey-100);
  border-radius: 16px;
  padding: 16px;
  background: #ffffff;
}
.restaurant-overview-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  gap: 10px;
  margin: 0 0 14px;
}
.restaurant-overview-action-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 76px;
  padding: 12px 10px;
  border: 1px solid var(--grey-100);
  border-radius: 16px;
  background: linear-gradient(180deg, #fffdf9 0%, #ffffff 100%);
  color: #111111;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(17,17,17,.04);
}
.restaurant-overview-action-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111111;
}
.restaurant-overview-action-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.restaurant-overview-action-label {
  font-size: 12px;
  font-weight: 600;
  color: #4b5563;
}
.restaurant-overview-action-sublabel {
  font-size: 10px;
  font-weight: 400;
  color: #9ca3af;
  text-align: center;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 90px;
  display: block;
}
.restaurant-overview-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.restaurant-overview-title {
  font-size: 15px;
  font-weight: 700;
  color: #111111;
}
.restaurant-overview-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
}
.restaurant-overview-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  display: inline-block;
  flex-shrink: 0;
}
.restaurant-overview-hours-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.restaurant-overview-hours-details summary span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}
.restaurant-overview-hours-details summary small {
  font-size: 12px;
  font-weight: 400;
  margin-top: 0;
  white-space: nowrap;
}
.restaurant-hours-today-line {
  font-size: 12px;
  font-weight: 500;
}
.restaurant-hours-more-label {
  font-size: 11px;
  font-weight: 400;
}
.restaurant-hero-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 7;
  box-shadow: 0 8px 20px rgba(0,0,0,.14);
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.94);
  border-color: rgba(255,255,255,.82);
}
.restaurant-overview-action-row {
  display: flex;
  justify-content: flex-end;
  margin: 12px 0 10px;
}
.restaurant-overview-review-cta {
  margin: 0 0 6px;
}
.restaurant-photos-panel {
  display: grid;
  gap: 10px;
}
.restaurant-photos-lead,
.restaurant-photos-grid-item {
  appearance: none;
  border: none;
  padding: 0;
  background: var(--grey-100);
  overflow: hidden;
  cursor: zoom-in;
}
.restaurant-photos-lead {
  width: 100%;
  height: 220px;
  border-radius: 16px;
}
.restaurant-photos-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.restaurant-photos-grid-item {
  height: 132px;
  border-radius: 14px;
}
.restaurant-photos-lead img,
.restaurant-photos-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.restaurant-specials-panel {
  display: grid;
  gap: 14px;
}
.restaurant-specials-day-group {
  border: 1px solid var(--grey-100);
  border-radius: 16px;
  padding: 14px 16px;
  background: #ffffff;
}
.restaurant-specials-day-title {
  font-size: 14px;
  font-weight: 800;
  color: #111111;
  margin-bottom: 10px;
}
.restaurant-specials-day-list {
  display: grid;
  gap: 10px;
}
.restaurant-specials-day-item + .restaurant-specials-day-item {
  padding-top: 10px;
  border-top: 1px solid var(--grey-100);
}
.restaurant-specials-day-item-title {
  font-size: 14px;
  font-weight: 800;
  color: #111111;
}
.restaurant-specials-day-item-meta {
  font-size: 12px;
  font-weight: 800;
  color: #b7791f;
  margin-top: 3px;
}
.restaurant-specials-day-item-desc {
  font-size: 13px;
  line-height: 1.45;
  color: var(--grey-600);
  margin-top: 5px;
}
.restaurant-tab-empty {
  color: var(--grey-400);
  font-size: 14px;
  padding: 12px 0;
}
.restaurant-contact-list {
  display: grid;
  gap: 12px;
  font-size: 14px;
  color: var(--grey-600);
  line-height: 20px;
}
.restaurant-contact-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.restaurant-contact-label {
  color: #111111;
  font-weight: 800;
}
.restaurant-contact-value {
  min-width: 0;
}
.restaurant-contact-value a {
  color: #111111;
  text-decoration: none;
  word-break: break-word;
}
.restaurant-hours-details summary {
  cursor: pointer;
  list-style: none;
  color: #111111;
  font-weight: 800;
  outline: none;
}
.restaurant-hours-details summary::-webkit-details-marker {
  display: none;
}
.restaurant-hours-details summary small {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--grey-500);
  font-size: 13px;
  font-weight: 700;
  margin-top: 4px;
}
.restaurant-hours-arrow {
  font-size: 12px;
  line-height: 1;
}
.restaurant-contact-hours {
  margin-top: 10px;
  padding-left: 12px;
  border-left: 2px solid var(--grey-100);
  color: var(--grey-600);
}
.restaurant-contact-hours-line {
  padding: 2px 0;
}
.restaurant-loading-dots span {
  animation: restaurantLoadingDot 1.2s infinite;
}
.restaurant-loading-dots span:nth-child(2) {
  animation-delay: .18s;
}
.restaurant-loading-dots span:nth-child(3) {
  animation-delay: .36s;
}
@keyframes restaurantLoadingDot {
  0%, 60%, 100% { opacity: .25; }
  30% { opacity: 1; }
}
.restaurant-special-summary-line {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 6px;
}
.restaurant-special-summary-line strong {
  color: #111111;
  font-size: 14px;
  font-weight: 900;
}
.restaurant-special-summary-line span {
  color: var(--grey-500);
  font-size: 12px;
  font-weight: 750;
}
.restaurant-specials-expanded {
  margin-top: 10px;
  padding-left: 12px;
  border-left: 2px solid var(--grey-100);
}
.restaurant-special-detail-line {
  padding: 8px 0;
  border-bottom: 1px solid var(--grey-100);
}
.restaurant-special-detail-line:last-child {
  border-bottom: 0;
}
.restaurant-special-detail-title {
  color: #111111;
  font-size: 14px;
  font-weight: 900;
}
.restaurant-special-detail-meta {
  color: #d89b21;
  font-size: 12px;
  font-weight: 900;
  margin-top: 2px;
}
.restaurant-special-detail-desc {
  color: var(--grey-600);
  font-size: 13px;
  line-height: 1.4;
  margin-top: 5px;
}
.restaurant-review-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}
.restaurant-review-tabs::-webkit-scrollbar {
  display: none;
}
.restaurant-review-tabs .chip-btn {
  flex: 0 0 auto;
}
.restaurant-review-tabs.full-width {
  display: grid;
  grid-template-columns: repeat(var(--restaurant-review-tab-count, 3), minmax(0, 1fr));
  overflow: visible;
}
.restaurant-review-tabs.full-width .chip-btn {
  width: 100%;
  min-width: 0;
}
.restaurant-review-tabs .restaurant-expert-tab {
  border-color: #6D28D9;
  color: #6D28D9;
}
.restaurant-review-tabs .restaurant-expert-tab.active {
  background: #6D28D9;
  border-color: #6D28D9;
  color: #ffffff;
}
.restaurant-expert-review-card {
  border: 1px solid #DDD6FE;
  border-radius: 8px;
  background: #ffffff;
  padding: 14px;
}
.restaurant-expert-review-title {
  color: #111111;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 12px;
}
.restaurant-expert-review-card .expert-review-modal-copy {
  max-height: none;
}
.restaurant-my-review-card {
  border: 1px solid var(--grey-100);
  border-radius: 8px;
  padding: 14px;
  background: #ffffff;
}
.restaurant-my-review-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.restaurant-my-review-title {
  font-size: 15px;
  font-weight: 800;
  color: #111111;
}
.restaurant-my-review-date {
  color: var(--grey-400);
  font-size: 12px;
  font-weight: 700;
  margin-top: 3px;
}
.restaurant-my-review-rating {
  flex: 0 0 auto;
}
.restaurant-my-review-side {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.restaurant-my-review-side .review-return-badge {
  margin: 0;
}
.restaurant-my-score-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 10px;
}
.restaurant-my-score-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--grey-50);
  color: #111111;
  font-size: 12px;
  font-weight: 800;
}
.restaurant-my-review-meta {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  margin-bottom: 12px;
}
.restaurant-my-review-label {
  color: var(--grey-400);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.restaurant-my-review-copy {
  color: var(--grey-600);
  font-size: 14px;
  line-height: 21px;
  margin-top: 10px;
}
.restaurant-my-review-edit {
  appearance: none;
  border: none;
  background: transparent;
  color: #6B7280;
  font-size: 13px;
  font-weight: 800;
  text-decoration: underline;
  padding: 0;
  margin-top: 12px;
  cursor: pointer;
}
.restaurant-my-review-empty {
  color: var(--grey-400);
  font-size: 14px;
}
.rest-body { padding: 20px; }
.rest-name { font-family: var(--serif); font-size:29px; letter-spacing: -.5px; margin-bottom: 6px; }
.rest-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.rest-tag {
  font-size:12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .05em; color: var(--grey-600);
  background: var(--grey-50); padding: 4px 10px;
  border-radius: var(--radius-pill);
}
.rest-tag-vibe {
  background: #F5F0E8;
  color: #7A5C1A;
  border: 1px solid #E8C84A;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}
.scores-row { display: flex; gap: 10px; margin-bottom: 20px; }
.score-block {
  flex: 1; background: var(--grey-50);
  border-radius: var(--radius-sm);
  padding: 12px; text-align: center;
  transition: transform .15s;
}
.score-block.ic {
  background: #FDFAF3;
  border: 1px solid #E8C84A;
  box-shadow: 0 0 0 1px rgba(232,200,74,.2), 0 4px 16px rgba(232,200,74,.12);
}
.score-num { font-family: var(--serif); font-size:25px; }
.score-num.ic { color: #8B6914; font-size:28px; }
.score-lbl { font-size:12px; text-transform: uppercase; letter-spacing: .05em; color: var(--grey-400); margin-top: 2px; }
.score-lbl.ic { color: #A07820; font-weight: 700; }
.score-ic-crown { font-size:12px; margin-bottom: 2px; display: block; }
.rest-desc { font-size:15px; line-height: 22px; color: var(--grey-600); margin-bottom: 20px; }
.rest-tabs { display: flex; border-bottom: 1px solid var(--grey-100); margin: 0 -20px 20px; padding: 0 20px; }
.rest-tab {
  padding: 10px 0; margin-right: 24px;
  border: none; background: none;
  font-size:14px; font-weight: 500; color: var(--grey-400);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: all .15s;
}
.rest-tab.active { color: var(--black); border-bottom-color: var(--black); }
.rest-tab-content { display: none; }
.rest-tab-content.active { display: block; }
.visited-banner {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px;
  background: var(--grey-50);
  cursor: pointer;
  border-top: 1px solid var(--grey-100);
  border-bottom: 1px solid var(--grey-100);
  margin-bottom: 20px;
}
.visited-banner.been { background: #f0f0f0; }
.vb-dot { width: 10px; height: 10px; border-radius: 999px; background: var(--grey-200); flex-shrink: 0; }
.vb-dot.been { background: var(--black); }
.vb-text-main { font-size:14px; font-weight: 600; }
.vb-text-sub { font-size:12px; color: var(--grey-400); margin-top: 1px; }
.vb-expand {
  display: none; padding: 16px 20px;
  background: var(--grey-50); border-bottom: 1px solid var(--grey-100);
  font-size:14px; line-height: 20px; color: var(--grey-600);
}
.vb-expand.open { display: block; animation: fadeUp .2s ease; }
.visited-review-accordion {
  margin: 12px 0 16px;
  background: #f3f4f6;
  border-radius: 14px;
  overflow: hidden;
}
.visited-review-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.visited-review-title {
  color: #374151;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}
.visited-review-subtitle {
  color: var(--grey-600);
  font-size: 13px;
  line-height: 18px;
}
.visited-review-arrow {
  color: var(--grey-500);
  font-size: 20px;
  line-height: 1;
  transition: transform .18s ease;
}
.visited-review-arrow.open {
  transform: rotate(90deg);
}
.visited-review-body {
  display: none;
  padding: 0 14px 14px;
}
.visited-review-body.open {
  display: block;
  animation: fadeUp .18s ease;
}
.visited-review-copy {
  color: var(--grey-600);
  font-size: 14px;
  line-height: 20px;
  margin-bottom: 8px;
}
.visited-review-copy:last-child {
  margin-bottom: 0;
}
.review-card {
  border-bottom: 1px solid var(--grey-100);
  padding: 16px 0;
}
.review-card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.friend-review-card .review-return-badge {
  margin-bottom: 0;
}
.friend-profile-sheet {
  position: fixed;
  inset: 0;
  z-index: 930;
  max-width: 430px;
  margin: 0 auto;
  background: rgba(0,0,0,.24);
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  transition: opacity .22s ease;
}
.friend-profile-sheet.open {
  opacity: 1;
  pointer-events: auto;
}
.friend-profile-card {
  position: relative;
  width: 100%;
  height: 88vh;
  max-height: 88vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 28px 28px 0 0;
  padding: 18px 20px 30px;
  box-shadow: 0 -18px 48px rgba(0,0,0,.18);
  transform: translateY(100%);
  transition: transform .28s cubic-bezier(.32,1.1,.5,1);
}
.friend-profile-sheet.open .friend-profile-card {
  transform: translateY(0);
}
.friend-profile-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: none;
  background: var(--grey-100);
  color: var(--black);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.friend-profile-close.inline {
  position: static;
}
.friend-profile-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 44px 18px 0;
  border-bottom: 1px solid var(--grey-100);
  margin-bottom: 14px;
}
.friend-profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: var(--black);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: var(--serif);
  font-size: 28px;
  flex-shrink: 0;
}
.friend-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.friend-profile-name {
  font-family: var(--serif);
  font-size: 27px;
  letter-spacing: -.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.friend-profile-sub {
  color: var(--grey-400);
  font-size: 13px;
  margin-top: 5px;
}
.friend-profile-review-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 320px;
}
.friend-profile-card > .profile-view-toggle,
.friend-profile-card > .profile-view-toggle-buttons {
  margin-bottom: 14px;
}
.friend-profile-sort-bar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}
.friend-profile-sort-bar button {
  appearance: none;
  border: 1px solid var(--grey-100);
  background: #fff;
  color: var(--black);
  border-radius: 999px;
  padding: 10px 8px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.friend-profile-sort-bar button.active {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
}
.friend-profile-review-row {
  appearance: none;
  border: none;
  background: #fff;
  border-bottom: 1px solid var(--grey-100);
  padding: 12px 0;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
  text-align: left;
  cursor: pointer;
}
.friend-profile-review-thumb {
  width: 76px;
  height: 76px;
  border-radius: 16px;
  background: var(--grey-100);
  overflow: hidden;
}
.friend-profile-review-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.friend-profile-review-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.friend-profile-review-place {
  font-size: 16px;
  font-weight: 600;
  font-family: var(--sans);
  color: var(--black);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.friend-profile-review-meta,
.friend-profile-review-comment {
  font-size: 12px;
  color: var(--grey-400);
}
.friend-profile-review-comment {
  color: var(--grey-600);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.friend-profile-review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
}
.friend-profile-review-grid-item {
  appearance: none;
  border: none;
  padding: 0;
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--grey-100);
  overflow: hidden;
  cursor: pointer;
}
.friend-profile-review-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.friend-profile-grid-rating {
  position: absolute;
  top: 6px;
  right: 6px;
  border-radius: 999px;
  background: rgba(17,17,17,.74);
  color: #fff;
  padding: 3px 7px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 6px 16px rgba(0,0,0,.18);
}
.friend-profile-detail-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.post-card.in-profile-sheet {
  margin-bottom: 0 !important;
}
.review-filter-row { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 16px; }
.review-filter-row::-webkit-scrollbar { display: none; }
.saved-place-card {
  cursor: pointer;
}
.saved-place-recommendation-card {
  border-bottom: 1px solid var(--grey-100);
}
.saved-place-thumb .recommendation-place-thumb {
  width: 100%;
  height: 100%;
}
.saved-place-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.saved-place-card-title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 4px;
  padding-right: 0;
}
.saved-place-card-meta {
  font-size: 13px;
  color: var(--grey-400);
  line-height: 1.5;
}
.saved-place-card-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--grey-50);
  color: var(--grey-500);
  font-size: 12px;
  font-weight: 800;
  padding: 7px 12px;
  border-radius: 999px;
}
.saved-place-card-status.visited {
  background: #eef8f1;
  color: #17663a;
}
.saved-place-card-actions {
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}
.rev-chip {
  padding: 6px 14px; border-radius: var(--radius-pill);
  border: 1px solid var(--grey-100); background: var(--white);
  font-size:13px; font-weight: 500; color: var(--black);
  cursor: pointer; white-space: nowrap; flex-shrink: 0; transition: all .12s;
}
.rev-chip.active { background: var(--black); color: var(--white); border-color: var(--black); }
.rest-cta {
  width: 100%; height: 50px;
  background: var(--black); color: var(--white);
  border: none; border-radius: var(--radius-sm);
  font-size:15px; font-weight: 600;
  margin-top: 20px; margin-bottom: 40px;
}

/* ─────────────────────────────────────────────── */
/* REVIEW FLOW (overlay)                           */
/* ─────────────────────────────────────────────── */
#screen-review {
  position: fixed; inset: 0; max-width: 430px; margin: 0 auto;
  background: var(--white); z-index: 2500;
  display: none; flex-direction: column;
}
#screen-review.open { display: flex; }
.review-hdr {
  padding: 52px 20px 16px;
  display: flex; align-items: center; justify-content: space-between;
  flex-shrink: 0; border-bottom: 1px solid var(--grey-100);
}
.review-hdr-title { font-size:16px; font-weight: 600; }
.icon-btn {
  width: 36px; height: 36px; border-radius: 999px;
  background: var(--grey-50); border: none;
  display: flex; align-items: center; justify-content: center;
}
.step-track { display: flex; gap: 6px; padding: 14px 20px 0; flex-shrink: 0; }
.step-dot { flex: 1; height: 2px; background: var(--grey-100); border-radius: 999px; transition: background .25s; }
.step-dot.done { background: var(--black); }
.review-body { flex: 1; overflow-y: auto; padding: 20px; overscroll-behavior: contain; }
.review-step-card {
  animation: stepSlideIn .28s cubic-bezier(.32,1.1,.5,1) both;
}
@keyframes stepSlideIn {
  from { opacity: 0; transform: translateX(28px); }
  to   { opacity: 1; transform: none; }
}
.review-step-card.back {
  animation: stepSlideInBack .28s cubic-bezier(.32,1.1,.5,1) both;
}
@keyframes stepSlideInBack {
  from { opacity: 0; transform: translateX(-28px); }
  to   { opacity: 1; transform: none; }
}
.form-label { font-size:12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--grey-400); margin-bottom: 8px; display: block; }
.form-input {
  width: 100%; padding: 12px 16px;
  border: 1px solid var(--grey-100); border-radius: var(--radius-sm);
  font-size:16px; color: var(--black); outline: none; background: var(--white);
  transition: border-color .15s;
}
.form-input:focus { border-color: var(--black); }
.form-input::placeholder { color: var(--grey-400); }
textarea.form-input { height: 120px; resize: none; line-height: 21px; }
.review-form-shell {
  padding: 20px;
  padding-bottom: 40px;
  display: grid;
  gap: 14px;
}
.review-form-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--grey-600);
  margin-bottom: -6px;
}
.review-required-asterisk {
  color: #e53e3e;
  font-size: 12px;
  font-weight: 900;
}
.review-place-heading {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.02;
  letter-spacing: -.03em;
  color: var(--black);
}
.review-place-subheading {
  font-size: 14px;
  color: var(--grey-600);
  margin-top: -8px;
}
.review-field-card {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(10,10,10,.03);
}
.review-field-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--grey-600);
  margin-bottom: 8px;
}
.review-field-note {
  font-size: 12px;
  color: var(--grey-600);
}
.review-form-section-title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 8px;
}
.review-static-value {
  font-size: 17px;
  font-weight: 600;
  color: var(--black);
  line-height: 1.3;
}
.review-photo-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.review-action-row {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.review-photo-public-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--grey-100);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--black);
}
.review-photo-public-toggle {
  display: inline-flex;
  padding: 3px;
  background: var(--grey-50);
  border: 1px solid var(--grey-100);
  border-radius: 999px;
  flex-shrink: 0;
}
.review-photo-public-toggle button {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--grey-600);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}
.review-photo-public-toggle button.active {
  background: var(--black);
  color: #fff;
}
.review-rating-stack {
  display: grid;
  gap: 14px;
}
.review-rating-row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}
.review-rating-row-overall {
  grid-template-columns: minmax(0, 1fr);
}
.review-rating-row-overall .review-rating-copy {
  display: none;
}
.review-rating-copy {
  min-width: 0;
}
.review-rating-scale {
  min-width: 0;
}
.review-rating-header {
  margin-bottom: -8px;
}
.review-rating-labels {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  align-items: end;
  gap: 6px;
  margin-bottom: 6px;
  font-size: 9px;
  font-weight: 700;
  color: var(--grey-500);
  line-height: 1.1;
  text-align: center;
}
.review-rating-labels span {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  white-space: nowrap;
}
.review-rating-header-overall .review-rating-labels {
  font-size: 10px;
  margin-bottom: 8px;
}
.review-rating-header-overall .review-rating-labels span:nth-child(1) {
  grid-column: 1;
}
.review-rating-header-overall .review-rating-labels span:nth-child(2) {
  grid-column: 5;
}
.review-rating-header-overall .review-rating-labels span:nth-child(3) {
  grid-column: 9;
}
.review-rating-labels span:nth-child(1) { grid-column: 1; }
.review-rating-labels span:nth-child(2) { grid-column: 5; }
.review-rating-labels span:nth-child(3) { grid-column: 9; }
.review-rating-buttons {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 8px;
  align-items: center;
}
.review-rating-buttons-overall {
  gap: 10px;
}
.review-rating-number {
  min-width: 0;
  height: 42px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .12s ease, border-color .12s ease, box-shadow .12s ease;
  padding: 0 4px;
}
.review-rating-number:active {
  transform: scale(.97);
}
.review-rating-1 {
  background: #fff1f1;
  color: #9f2d2d;
}
.review-rating-2 {
  background: #fff0e6;
  color: #a24d20;
}
.review-rating-3 {
  background: #fff4df;
  color: #985f12;
}
.review-rating-4 {
  background: #f5f7df;
  color: #6c7d25;
}
.review-rating-5 {
  background: #edf8ef;
  color: #2f7a43;
}
.review-rating-number.active {
  border-color: currentColor;
  box-shadow: 0 0 0 3px rgba(17,17,17,.06);
}
.review-rating-half {
  appearance: none;
  min-width: 0;
  height: 40px;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.review-rating-half-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #d8d5ee;
  box-shadow: inset 0 0 0 2px rgba(91,84,226,.18);
  transition: transform .12s ease, background .12s ease, box-shadow .12s ease;
}
.review-rating-half-between-1 .review-rating-half-dot {
  background: #f6c4b8;
  box-shadow: inset 0 0 0 2px rgba(206,103,84,.18);
}
.review-rating-half-between-2 .review-rating-half-dot {
  background: #f5d89b;
  box-shadow: inset 0 0 0 2px rgba(201,146,46,.2);
}
.review-rating-half-between-3 .review-rating-half-dot {
  background: #dfe6a5;
  box-shadow: inset 0 0 0 2px rgba(154,167,64,.22);
}
.review-rating-half-between-4 .review-rating-half-dot {
  background: #cce9be;
  box-shadow: inset 0 0 0 2px rgba(75,152,88,.2);
}
.review-rating-half:active .review-rating-half-dot {
  transform: scale(.92);
}
.review-rating-half.active .review-rating-half-dot {
  background: #5b54e2;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.88), 0 0 0 2px rgba(91,84,226,.18);
}
.review-rating-half-between-1.active .review-rating-half-dot {
  background: #c75d46;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.88), 0 0 0 2px rgba(199,93,70,.16);
}
.review-rating-half-between-2.active .review-rating-half-dot {
  background: #bf8730;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.88), 0 0 0 2px rgba(191,135,48,.16);
}
.review-rating-half-between-3.active .review-rating-half-dot {
  background: #8b9a35;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.88), 0 0 0 2px rgba(139,154,53,.16);
}
.review-rating-half-between-4.active .review-rating-half-dot {
  background: #4d9159;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.88), 0 0 0 2px rgba(77,145,89,.16);
}
.social-loading-state,
.whats-on-loading-state {
  padding: 28px 16px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--black);
}
.social-loading-icon,
.whats-on-loading-icon {
  font-size: 42px;
  line-height: 1;
  display: inline-block;
}
.social-loading-icon {
  animation: socialMegaphoneBounce 1.15s ease-in-out infinite;
}
.whats-on-loading-icon {
  animation: whatsOnChefHatBounce 1.15s ease-in-out infinite;
}
.social-loading-title,
.whats-on-loading-title {
  font-size: 15px;
  font-weight: 700;
}
.social-loading-copy,
.whats-on-loading-copy {
  font-size: 13px;
  line-height: 1.45;
  color: var(--grey-400);
  max-width: 250px;
}
@keyframes socialMegaphoneBounce {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50% { transform: translateY(-6px) rotate(0deg); }
}
@keyframes whatsOnChefHatBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
.review-dropdown-field.open {
  background: var(--grey-50);
}
.review-dropdown-trigger {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  background: none;
  border: none;
  text-align: left;
  padding: 0;
}
.review-dropdown-copy {
  display: grid;
  gap: 6px;
}
.review-dropdown-value {
  font-size: 15px;
  color: var(--black);
  line-height: 1.45;
}
.review-dropdown-value.placeholder {
  color: var(--grey-600);
}
.review-dropdown-arrow {
  font-size: 24px;
  line-height: 1;
  color: var(--grey-600);
}
.review-dropdown-menu {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.review-option-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--grey-100);
  background: var(--white);
  color: var(--black);
  font-size: 14px;
}
.review-option-row.active {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}
.review-option-check {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.review-extra-tags-box.open {
  background: #fbfaf6;
}
.review-extra-tags-trigger {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  color: var(--black);
  cursor: pointer;
}
.review-extra-tags-trigger .review-field-label {
  display: block;
}
.review-extra-tags-trigger .review-form-section-title {
  margin-bottom: 0;
}
.review-extra-tags-trigger .review-field-note {
  display: block;
  margin-top: 4px;
}
.review-extra-tags-content {
  display: grid;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--grey-100);
}
.review-extra-tag-title {
  font-size: 13px;
  font-weight: 900;
  color: var(--black);
  margin-bottom: 8px;
}
.review-extra-tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.review-extra-tag-chip {
  border: 1px solid var(--grey-100);
  background: var(--white);
  color: var(--black);
  border-radius: 999px;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.review-extra-tag-chip:active {
  transform: scale(.97);
}
.review-extra-tag-chip.active {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}
.review-next-step-hint {
  background: #f9f6ef;
  color: var(--grey-600);
  font-size: 13px;
  font-weight: 700;
}
.review-textarea {
  width: 100%;
  min-height: 108px;
  border: 1px solid var(--grey-100);
  border-radius: 16px;
  padding: 14px;
  background: var(--white);
  font-size: 15px;
  line-height: 1.5;
  resize: vertical;
  color: var(--black);
}
.review-textarea:focus {
  outline: none;
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(10,10,10,.06);
}
.review-visibility-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(92px, .8fr);
  gap: 8px;
  margin-top: 12px;
}
.review-visibility-card {
  min-height: 32px;
  border-radius: 16px;
  border: 1px solid var(--grey-100);
  background: var(--white);
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  padding: 6px 10px;
  white-space: nowrap;
}
.review-visibility-card.active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.review-submit-row {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
@media (max-width: 380px) {
  .review-rating-row {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 8px;
  }
  .review-rating-row-overall {
    grid-template-columns: minmax(0, 1fr);
  }
  .review-rating-scale {
    width: 100%;
  }
  .review-visibility-grid {
    grid-template-columns: minmax(0, 1.8fr) minmax(74px, .7fr);
  }
}
.form-group { margin-bottom: 20px; position: relative; }
.review-quick-section {
  margin-top: 18px;
  padding: 16px;
  border-radius: 18px;
  background: #fbf8f4;
  border: 1px solid #f0e9df;
}
.review-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.review-section-title {
  font-size: 15px;
  font-weight: 700;
}
.review-section-value {
  margin-left: auto;
  font-size: 13px;
  font-weight: 700;
  color: #111111;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.review-section-value-star {
  font-size: 12px;
  line-height: 1;
}
.review-section-note,
.review-inline-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--grey-500);
}
.review-form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.review-form-inline-close {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--black);
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.review-inline-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.review-inline-score {
  font-size: 13px;
  font-weight: 700;
  color: #111111;
  white-space: nowrap;
}
.review-inline-label {
  margin-bottom: 8px;
}
.pill-row { display: flex; gap: 6px; flex-wrap: wrap; }
.pill-opt {
  padding: 7px 14px; border-radius: var(--radius-pill);
  border: 1px solid var(--grey-100); background: var(--white);
  font-size:14px; cursor: pointer; transition: all .12s;
}
.pill-opt.on { background: var(--black); color: var(--white); border-color: var(--black); }
.star-row { display: flex; gap: 8px; }
.star-tap { font-size:29px; cursor: pointer; opacity: .2; transition: opacity .12s; }
.star-tap.lit { opacity: 1; }
.binary-row { display: flex; gap: 8px; }
.binary-btn {
  flex: 1; height: 44px; border-radius: var(--radius-sm);
  border: 1px solid var(--grey-100); background: var(--white);
  font-size:15px; font-weight: 500; transition: all .12s;
}
.binary-btn.on { background: var(--black); color: var(--white); border-color: var(--black); }
.vis-seg { display: flex; background: var(--grey-50); border-radius: var(--radius-sm); padding: 3px; gap: 2px; }
.vis-opt {
  flex: 1; height: 34px; border-radius: 8px; border: none;
  font-size:12px; font-weight: 500; background: transparent;
  color: var(--grey-400); cursor: pointer; transition: all .15s;
}
.vis-opt.on { background: var(--white); color: var(--black); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.review-next {
  position: fixed; bottom: calc(16px + var(--safe-b));
  left: 50%; transform: translateX(-50%);
  width: calc(100% - 40px); max-width: 390px;
  height: 50px; background: var(--black); color: var(--white);
  border: none; border-radius: var(--radius-sm);
  font-size:16px; font-weight: 600; z-index: 10;
}
.autocomplete-dd {
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--white); border: 1px solid var(--grey-100);
  border-radius: var(--radius-md); box-shadow: 0 8px 24px rgba(0,0,0,.1);
  z-index: 600; max-height: 220px; overflow-y: auto; display: none; margin-top: 4px;
}
.autocomplete-dd.open { display: block; animation: fadeUp .15s ease; }
.ac-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; cursor: pointer; border-bottom: 1px solid var(--grey-100);
  transition: background .1s;
}
.ac-row:last-child { border-bottom: none; }
.ac-row:active { background: var(--grey-50); }
.ac-thumb { width: 36px; height: 36px; border-radius: 6px; overflow: hidden; flex-shrink: 0; background: var(--grey-100); }
.ac-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ac-name { font-size:14px; font-weight: 500; }
.ac-sub { font-size:12px; color: var(--grey-400); }

/* ─────────────────────────────────────────────── */
/* SPECIALS SCREEN (overlay)                       */
/* ─────────────────────────────────────────────── */
#screen-specials {
  position: fixed; inset: 0; max-width: 430px; margin: 0 auto;
  background: var(--white); z-index: 2500;
  display: none; flex-direction: column; overflow: hidden;
}
#screen-specials.open { display: flex; }
.spec-header { padding: 52px 20px 0; flex-shrink: 0; border-bottom: 1px solid var(--grey-100); }
.spec-title { font-family: var(--serif); font-size:27px; letter-spacing: -.5px; margin-bottom: 14px; }
.day-row { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 14px; }
.day-row::-webkit-scrollbar { display: none; }
.day-pill {
  padding: 6px 14px; border-radius: var(--radius-pill);
  border: 1px solid var(--grey-100); background: var(--white);
  font-size:13px; font-weight: 500; cursor: pointer; flex-shrink: 0;
  transition: all .12s;
}
.day-pill.active { background: var(--black); color: var(--white); border-color: var(--black); }
.day-pill.today { border-color: var(--black); }
.deal-type-row { display: flex; gap: 8px; overflow-x: auto; padding: 14px 20px; flex-shrink: 0; }
.deal-type-row::-webkit-scrollbar { display: none; }
.deal-type-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: var(--radius-pill);
  border: 1px solid var(--grey-100); background: var(--white);
  font-size:13px; font-weight: 500; cursor: pointer; flex-shrink: 0;
  transition: all .12s;
}
.deal-type-btn.active { background: var(--black); color: var(--white); border-color: var(--black); }
.spec-radius-row { display: flex; align-items: center; gap: 8px; padding: 0 20px 14px; flex-shrink: 0; }
.spec-radius-lbl { font-size:13px; color: var(--grey-400); flex-shrink: 0; }
.spec-body { flex: 1; overflow-y: auto; padding: 0 20px calc(var(--nav-h) + 16px); overscroll-behavior: contain; }
.deal-row {
  border-bottom: 1px solid var(--grey-100);
  padding: 16px 0;
  display: flex; gap: 12px;
  cursor: pointer; transition: opacity .1s;
}
.deal-row:active { opacity: .7; }
.deal-row-thumb { width: 70px; height: 70px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; background: var(--grey-100); }
.deal-row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.deal-row-body { flex: 1; min-width: 0; }
.deal-row-title { font-size:16px; font-weight: 600; font-family: var(--sans); margin-bottom: 2px; letter-spacing: -.02em; }
.deal-row-rest { font-size:13px; color: var(--grey-400); margin-bottom: 5px; }
.deal-row-desc { font-size:13px; color: var(--grey-600); line-height: 17px; }
.deal-row-right { text-align: right; flex-shrink: 0; }
.deal-row-price { font-family: var(--serif); font-size:21px; font-weight: 400; }
.deal-row-orig { font-size:12px; color: var(--grey-400); text-decoration: line-through; }
.deal-friend-tag { font-size:12px; font-weight: 600; color: var(--black); background: var(--grey-50); padding: 2px 7px; border-radius: var(--radius-pill); margin-top: 4px; display: inline-block; }

/* ─────────────────────────────────────────────── */
/* MAP SCREEN                                      */
/* ─────────────────────────────────────────────── */
.whats-on-body {
  padding-bottom: 112px;
  background: #ffffff;
}
.whats-on-top {
  position: relative;
  z-index: 80;
  background: #ffffff;
  border-bottom: 1px solid var(--grey-100);
}
.whats-on-titlebar {
  height: 58px;
  padding: 10px 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.whats-on-top .app-page-titlebar {
  border-bottom: 0;
}
.whats-on-title {
  font-family: var(--serif);
  font-size: 31px;
  line-height: 1;
  letter-spacing: -.5px;
  font-weight: 700;
  color: #111111;
}
.whats-on-settings-btn {
  appearance: none;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #111111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.whats-on-settings-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.whats-on-segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 12px 20px 0;
  background: #ffffff;
}
.whats-on-segment {
  appearance: none;
  border: 0;
  border-bottom: 3px solid transparent;
  background: #ffffff;
  color: #111111;
  min-height: 42px;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}
.whats-on-segment.active {
  border-bottom-color: #111111;
}
.whats-on-day-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 10px 20px 12px;
  background: #ffffff;
}
.whats-on-day-strip::-webkit-scrollbar {
  display: none;
}
.whats-on-day-pill {
  appearance: none;
  border: 0;
  background: #ffffff;
  color: #111111;
  border-radius: 999px;
  min-width: 54px;
  min-height: 68px;
  display: grid;
  place-items: center;
  gap: 2px;
  padding: 8px 10px 6px;
  cursor: pointer;
}
.whats-on-day-pill span {
  font-size: 11px;
  font-weight: 600;
}
.whats-on-day-pill strong {
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
}
.whats-on-day-pill i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
}
.whats-on-day-pill i.has-specials {
  background: #d89b21;
}
.whats-on-day-pill.active {
  background: #111111;
  color: #ffffff;
}
.whats-on-day-pill.active i.has-specials {
  background: #f2b84b;
}
.whats-on-header {
  padding: 24px 20px 16px;
  border-bottom: 1px solid var(--grey-100);
}
.whats-on-kicker {
  font-size: 12px;
  font-weight: 700;
  color: var(--grey-500);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.whats-on-subtitle {
  color: var(--grey-500);
  font-size: 14px;
  line-height: 20px;
  margin-top: -8px;
}
.whats-on-section {
  padding: 14px 0 24px;
}
.whats-on-specials-section .whats-on-location-group {
  padding: 0 20px 10px;
}
.whats-on-specials-section .whats-on-location-group .whats-on-filter-label {
  display: none;
}
.whats-on-day-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 20px 12px;
}
.whats-on-day-pills::-webkit-scrollbar {
  display: none;
}
.whats-on-date-chip {
  appearance: none;
  flex: 0 0 auto;
  border: 1px solid var(--grey-100);
  border-radius: 999px;
  background: #ffffff;
  color: #111111;
  min-height: 34px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.whats-on-date-chip.active {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}
.whats-on-radius-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 20px 12px;
  scrollbar-width: none;
}
.whats-on-radius-strip::-webkit-scrollbar {
  display: none;
}
.whats-on-radius-chip {
  appearance: none;
  flex: 0 0 auto;
  min-height: 36px;
  border: 1px solid var(--grey-100);
  border-radius: 999px;
  background: #ffffff;
  color: #111111;
  padding: 0 13px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.whats-on-radius-chip.active {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}
.whats-on-type-strip,
.whats-on-event-filter-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 20px 12px;
}
.whats-on-type-strip::-webkit-scrollbar,
.whats-on-event-filter-strip::-webkit-scrollbar {
  display: none;
}
.whats-on-type-chip,
.whats-on-event-pill {
  appearance: none;
  flex: 0 0 auto;
  border: 1px solid var(--grey-100);
  border-radius: 999px;
  background: #ffffff;
  color: #111111;
  min-height: 34px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.whats-on-type-chip.active,
.whats-on-event-pill.active {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}
.whats-on-summary-line {
  padding: 0 20px 16px;
  font-size: 12px;
  color: var(--grey-500);
}
.whats-on-content-row {
  margin-bottom: 22px;
}
.whats-on-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 20px 10px;
}
.whats-on-row-head h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
}
.whats-on-row-head button {
  appearance: none;
  border: 0;
  background: transparent;
  color: #111111;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.whats-on-card-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 20px 8px;
}
.whats-on-card-strip::-webkit-scrollbar {
  display: none;
}
.whats-on-special-card {
  position: relative;
  flex: 0 0 160px;
  width: 160px;
  min-height: 200px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(17,17,17,.1);
  overflow: hidden;
  cursor: pointer;
}
.whats-on-special-art {
  position: relative;
  height: 70px;
  display: grid;
  place-items: center;
  font-size: 34px;
  overflow: hidden;
}
.whats-on-special-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.18));
  pointer-events: none;
}
.whats-on-special-type-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  box-shadow: 0 6px 14px rgba(17,17,17,.14);
}
.whats-on-save-btn {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  appearance: none;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  color: #111111;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
}
.whats-on-save-btn.saved {
  background: #111111;
  color: #ffffff;
}
.whats-on-special-venue,
.whats-on-special-title,
.whats-on-special-price,
.whats-on-special-time,
.whats-on-special-urgency,
.whats-on-special-distance {
  padding-left: 10px;
  padding-right: 10px;
}
.whats-on-special-venue {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 900;
  color: #111111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.whats-on-special-title {
  margin-top: 4px;
  font-size: 15px;
  font-weight: 850;
  line-height: 18px;
  color: #111111;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.whats-on-special-price {
  margin-top: 6px;
  font-size: 16px;
  font-weight: 950;
  color: #d89b21;
}
.whats-on-special-time,
.whats-on-special-distance {
  margin-top: 4px;
  font-size: 12px;
  color: var(--grey-500);
}
.whats-on-special-suburb {
  margin: 6px 10px 0;
  padding-top: 5px;
  border-top: 1px solid var(--grey-100);
  font-size: 11px;
  font-weight: 850;
  color: var(--grey-500);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.whats-on-special-urgency {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 850;
  color: #d94b45;
}
.whats-on-netflix-empty {
  min-height: 360px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 9px;
  padding: 36px 20px;
  text-align: center;
}
.whats-on-empty-icon {
  font-size: 34px;
}
.whats-on-empty-title {
  font-size: 18px;
  font-weight: 950;
  color: #111111;
}
.whats-on-empty-sub {
  color: var(--grey-500);
  font-size: 13px;
}
.whats-on-empty-btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  min-height: 36px;
  padding: 0 16px;
  font-weight: 900;
  cursor: pointer;
}
.whats-on-full-list {
  padding: 18px 20px 30px;
}
.whats-on-full-list-title {
  font-size: 22px;
  font-weight: 950;
  margin-bottom: 14px;
}
.whats-on-full-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.whats-on-full-list-grid .whats-on-special-card {
  width: 100%;
  flex-basis: auto;
}
.whats-on-filters {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 18px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--grey-100);
}
.whats-on-filter-label {
  font-size: 12px;
  font-weight: 900;
  color: var(--grey-500);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.whats-on-filter-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.whats-on-filter-row::-webkit-scrollbar {
  display: none;
}
.whats-on-filter-row-cuisine {
  flex-wrap: wrap;
  overflow-x: visible;
}
.whats-on-filter-row-cuisine .whats-on-filter-chip {
  flex: 0 1 auto;
}
.whats-on-filter-chip {
  appearance: none;
  border: 1px solid var(--grey-100);
  background: #fff;
  border-radius: 8px;
  color: var(--black);
  cursor: pointer;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 800;
  min-height: 34px;
  padding: 8px 11px;
  white-space: nowrap;
}
.whats-on-filter-chip.active {
  background: var(--black);
  border-color: var(--black);
  color: #fff;
}
.whats-on-location-group {
  position: relative;
  z-index: 30;
}
.whats-on-location-search {
  min-height: 44px;
  border-radius: 8px;
  padding-right: 0;
}
.whats-on-meet-toggle {
  align-self: stretch;
  appearance: none;
  border: 0;
  border-left: 1px solid var(--grey-100);
  border-radius: 0 8px 8px 0;
  background: #111111;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 46px;
  margin: -1px -1px -1px 8px;
}
.whats-on-meet-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}
.whats-on-middle-panel {
  margin-top: 10px;
  border: 1px solid var(--grey-100);
  border-radius: 10px;
  background: #ffffff;
  padding: 10px;
}
.whats-on-middle-help {
  color: var(--grey-500);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
  margin-bottom: 8px;
}
.whats-on-middle-field {
  margin-bottom: 8px;
}
.whats-on-middle-search-bar {
  min-height: 38px;
  border-radius: 8px;
}
.whats-on-middle-search-bar input {
  font-size: 14px;
}
.whats-on-middle-submit {
  appearance: none;
  border: 0;
  border-radius: 8px;
  background: #111111;
  color: #ffffff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  min-height: 38px;
  width: 100%;
}
.whats-on-location-dropdown {
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 2200;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid var(--grey-100);
  box-shadow: 0 18px 36px rgba(17,17,17,.12);
  padding: 6px;
  max-height: 280px;
  overflow-y: auto;
}
.whats-on-location-dropdown.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.whats-on-middle-dropdown {
  position: fixed;
  z-index: 9999;
  background: #ffffff;
  border: 1px solid var(--grey-100);
  border-radius: 10px;
  box-shadow: 0 18px 36px rgba(17,17,17,.12);
  max-height: 260px;
  overflow-y: auto;
  padding: 6px;
}
.whats-on-location-dropdown .sdrop-row {
  background: #ffffff;
  border: 0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 9px 10px;
  width: 100%;
  text-align: left;
}
.whats-on-middle-dropdown .sdrop-row {
  background: #ffffff;
  border: 0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 9px 10px;
  width: 100%;
  text-align: left;
}
.whats-on-location-dropdown .sdrop-row:hover,
.whats-on-location-dropdown .sdrop-row:active,
.whats-on-middle-dropdown .sdrop-row:hover,
.whats-on-middle-dropdown .sdrop-row:active {
  background: #f5f5f6;
}
.whats-on-location-pin {
  align-items: center;
  background: #f1f1f2;
  border-radius: 999px;
  color: #111111;
  display: inline-flex;
  flex: 0 0 32px;
  height: 32px;
  justify-content: center;
  width: 32px;
}
.whats-on-location-pin svg {
  fill: none;
  height: 17px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 17px;
}
.whats-on-location-copy {
  flex: 1 1 auto;
  min-width: 0;
}
.whats-on-location-dropdown .sdrop-name,
.whats-on-middle-dropdown .sdrop-name {
  color: #111111;
  font-size: 14px;
  font-weight: 850;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.whats-on-location-dropdown .sdrop-sub,
.whats-on-middle-dropdown .sdrop-sub {
  color: var(--grey-500);
  font-size: 12px;
  font-weight: 650;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.whats-on-location-status {
  color: var(--grey-500);
  display: flex;
  flex-direction: column;
  font-size: 13px;
  gap: 3px;
  padding: 14px;
}
.whats-on-location-status strong {
  color: #111111;
  font-size: 14px;
}
.whats-on-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.whats-on-section-title {
  font-size: 18px;
  font-weight: 900;
  color: var(--black);
}
.whats-on-section-sub {
  font-size: 13px;
  color: var(--grey-400);
  margin-top: 3px;
}
.whats-on-refresh {
  appearance: none;
  border: 1px solid var(--grey-100);
  background: #fff;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 900;
  color: var(--black);
  cursor: pointer;
}
.whats-on-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.whats-on-card {
  appearance: none;
  width: 100%;
  border: 1px solid var(--grey-100);
  background: #fff;
  border-radius: 8px;
  padding: 10px;
  display: flex;
  gap: 12px;
  text-align: left;
  cursor: pointer;
}
.whats-on-card:active {
  background: var(--grey-50);
}
.whats-on-card-img {
  width: 84px;
  min-width: 84px;
  height: 84px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--grey-100);
}
.whats-on-card-img-empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-500);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.whats-on-card-copy {
  min-width: 0;
  flex: 1;
}
.whats-on-card-topline {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  font-weight: 900;
  color: var(--grey-500);
  margin-bottom: 4px;
}
.whats-on-card-topline span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.whats-on-card-title {
  font-size: 16px;
  font-weight: 900;
  color: var(--black);
  line-height: 20px;
  margin-bottom: 4px;
}
.whats-on-card-desc {
  font-size: 13px;
  color: var(--grey-600);
  line-height: 18px;
  margin-bottom: 6px;
}
.whats-on-card-meta {
  font-size: 12px;
  font-weight: 800;
  color: var(--grey-500);
}
.whats-on-empty {
  border: 1px solid var(--grey-100);
  border-radius: 8px;
  padding: 36px 16px;
}
.whats-on-section .empty-emoji {
  color: var(--grey-500);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

#screen-map { overflow: hidden; }
.map-page-scroll { flex: 1; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; display: block; }
.map-sticky { position: sticky; top: 0; z-index: 10; background: var(--white); }
.map-header { padding: 52px 20px 0; }
.map-header h1 { font-family: var(--serif); font-size:27px; letter-spacing: -.5px; margin-bottom: 12px; }
.map-search-wrap { padding: 0 0 12px; position: relative; }
.loc-row { display: flex; align-items: center; gap: 8px; padding-bottom: 12px; }
.loc-toggle { display: flex; background: var(--grey-50); border-radius: 8px; padding: 3px; gap: 2px; flex-shrink: 0; }
.loc-tab { padding: 5px 10px; border-radius: 6px; border: none; background: transparent; font-size:12px; font-weight: 500; color: var(--grey-400); cursor: pointer; transition: all .12s; white-space: nowrap; }
.loc-tab.active { background: var(--white); color: var(--black); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.loc-input { flex: 1; height: 36px; padding: 0 12px; border: 1px solid var(--grey-100); border-radius: 8px; font-size:14px; color: var(--black); outline: none; }
.discover-middle-search-bar {
  min-height: 32px;
  padding: 0 10px;
}
.discover-middle-search-bar .loc-input {
  height: 29px;
  padding: 0 10px;
}
.loc-input:focus { border-color: var(--black); }
.loc-suggestions { position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border: 1px solid var(--grey-100); border-radius: var(--radius-md); box-shadow: 0 8px 24px rgba(0,0,0,.1); z-index: 802; display: none; max-height: 200px; overflow-y: auto; }
.loc-suggestions.open { display: block; animation: fadeUp .15s ease; }
.loc-sug-row { display: flex; align-items: center; gap: 10px; padding: 10px 14px; cursor: pointer; border-bottom: 1px solid var(--grey-100); font-size:14px; }
.loc-sug-row:last-child { border-bottom: none; }
.loc-sug-row:active { background: var(--grey-50); }
.radius-row { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 12px; }
.radius-row::-webkit-scrollbar { display: none; }
.radius-btn { padding: 6px 14px; border-radius: var(--radius-pill); border: 1px solid var(--grey-100); background: var(--white); font-size:13px; font-weight: 500; cursor: pointer; flex-shrink: 0; transition: all .12s; }
.radius-btn.active { background: var(--black); color: var(--white); border-color: var(--black); }
.map-legend { display: flex; gap: 14px; padding-bottom: 12px; }
.legend-item { display: flex; align-items: center; gap: 5px; font-size:12px; color: var(--grey-600); }
.legend-dot { width: 8px; height: 8px; border-radius: 999px; }
#map-container { height: 240px; width: 100%; }
#leaflet-map { width: 100%; height: 100%; background: #f3f3f3; }
.map-results { background: var(--white); }
.map-results.open { display: block; }
.map-results-header { padding: 14px 20px; border-top: 1px solid var(--grey-100); border-bottom: 1px solid var(--grey-100); }
.map-results-title { font-size:15px; font-weight: 600; }
.map-results-sub { font-size:12px; color: var(--grey-400); margin-top: 2px; }
.map-sort-row { display: flex; gap: 8px; padding: 12px 20px 0; overflow-x: auto; }
.map-sort-row::-webkit-scrollbar { display: none; }
.map-sort-btn { padding: 5px 12px; border-radius: var(--radius-pill); border: 1px solid var(--grey-100); background: var(--white); font-size:12px; font-weight: 500; cursor: pointer; flex-shrink: 0; transition: all .12s; white-space: nowrap; }
.map-sort-btn.active { background: var(--black); color: var(--white); border-color: var(--black); }
.map-result-row { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--grey-100); cursor: pointer; }
.map-result-row:active { background: var(--grey-50); }
.map-result-thumb { width: 54px; height: 54px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: var(--grey-100); }
.map-result-thumb img { width: 100%; height: 100%; object-fit: cover; }
.map-result-dot { width: 10px; height: 10px; border-radius: 999px; border: 1.5px solid var(--white); flex-shrink: 0; }
.map-result-name { font-size:16px; font-weight: 600; font-family: var(--sans); letter-spacing: -.02em; }
.map-result-meta { font-size:13px; color: var(--grey-400); margin-top: 2px; }
.map-result-badge { font-size:12px; font-weight: 600; color: var(--black); background: var(--grey-100); padding: 2px 7px; border-radius: var(--radius-pill); margin-top: 4px; display: inline-block; }
.map-result-score { font-family: var(--serif); font-size:21px; margin-left: auto; flex-shrink: 0; }
.map-pin-preview { position: fixed; bottom: calc(var(--nav-h) + 12px); left: 50%; transform: translateX(-50%); width: calc(100% - 32px); max-width: 398px; background: var(--white); border-radius: var(--radius-lg); box-shadow: 0 8px 32px rgba(0,0,0,.15); padding: 14px 16px; display: none; z-index: 50; }
.map-pin-preview.show { display: flex; align-items: center; gap: 12px; animation: slideUp .25s cubic-bezier(.32,1.1,.5,1); }
.map-pin-preview-img { width: 54px; height: 54px; border-radius: 8px; object-fit: cover; flex-shrink: 0; background: var(--grey-100); }
.map-pin-actions { display: flex; gap: 8px; margin-top: 8px; }
.map-pin-btn { flex: 1; height: 34px; border-radius: var(--radius-sm); border: none; font-size:13px; font-weight: 600; cursor: pointer; }
.map-pin-btn.primary { background: var(--black); color: var(--white); }
.map-pin-btn.secondary { background: var(--grey-100); color: var(--black); }
.leaflet-container { background: #f3f3f3 !important; font-family: inherit; }
.leaflet-control-container { display: none; }
.map-pin { width: 32px; height: 32px; border-radius: 999px; border: 2.5px solid var(--white); overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.2); cursor: pointer; }
.map-pin img { width: 100%; height: 100%; object-fit: cover; }

/* ─────────────────────────────────────────────── */
/* CUSTOM RADIUS MODAL                             */
/* ─────────────────────────────────────────────── */
#custom-modal {
  position: fixed; inset: 0; max-width: 430px; margin: 0 auto;
  z-index: 4000; display: none; align-items: flex-end;
  background: rgba(0,0,0,.4);
}
#custom-modal.open { display: flex; }
.modal-card {
  background: var(--white);
  border-radius: 20px 20px 0 0;
  width: 100%;
  padding: 16px 20px calc(20px + var(--safe-b));
  animation: slideUp .28s cubic-bezier(.32,1.1,.5,1);
}
.cm-sheet {
  background: var(--white); border-radius: 20px 20px 0 0;
  width: 100%; padding: 16px 20px calc(20px + var(--safe-b));
  animation: slideUp .28s cubic-bezier(.32,1.1,.5,1);
}
.cm-handle { width: 36px; height: 4px; background: var(--grey-200); border-radius: 999px; margin: 0 auto 16px; }
.cm-title { font-family: var(--serif); font-size:23px; margin-bottom: 16px; }
.cm-number { font-family: var(--serif); font-size:48px; text-align: center; margin-bottom: 8px; }
.cm-unit { font-size:16px; color: var(--grey-400); }
input[type=range].cm-slider { width: 100%; margin-bottom: 20px; accent-color: var(--black); }
.cm-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.cm-preset { padding: 8px 16px; border-radius: var(--radius-pill); border: 1px solid var(--grey-100); background: var(--white); font-size:14px; font-weight: 500; cursor: pointer; }
.cm-preset:active { background: var(--black); color: var(--white); }
.cm-apply { width: 100%; height: 50px; background: var(--black); color: var(--white); border: none; border-radius: var(--radius-sm); font-size:16px; font-weight: 600; }

/* ─────────────────────────────────────────────── */
/* FRIENDS MANAGEMENT (overlay)                   */
/* ─────────────────────────────────────────────── */
#screen-friends-manage {
  position: fixed; inset: 0; max-width: 430px; margin: 0 auto;
  background: var(--white); z-index: 200; display: none; flex-direction: column;
}
#screen-friends-manage.open { display: flex; }
.friends-manage-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.friend-section-lbl { font-size:12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--grey-400); padding: 20px 20px 10px; }
.friend-row { display: flex; align-items: center; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--grey-100); }
.friend-row:active { background: var(--grey-50); }
.friend-name { font-size:15px; font-weight: 600; }
.friend-sub-text { font-size:13px; color: var(--grey-400); margin-top: 1px; }
.friend-btn { padding: 7px 16px; border-radius: var(--radius-pill); border: 1px solid var(--black); background: var(--white); font-size:13px; font-weight: 600; cursor: pointer; transition: all .12s; }
.friend-btn.following { background: var(--black); color: var(--white); }
.invite-block { margin: 20px; background: var(--black); border-radius: var(--radius-md); padding: 20px; }
.invite-block h3 { font-family: var(--serif); font-size:21px; color: var(--white); margin-bottom: 6px; }
.invite-block p { font-size:14px; color: rgba(255,255,255,.5); margin-bottom: 16px; }
.invite-row { display: flex; gap: 8px; }
.invite-input { flex: 1; height: 42px; padding: 0 14px; border: none; border-radius: var(--radius-sm); background: rgba(255,255,255,.1); color: var(--white); font-size:15px; outline: none; }
.invite-input::placeholder { color: rgba(255,255,255,.3); }
.invite-send-btn { height: 42px; padding: 0 18px; background: var(--white); color: var(--black); border: none; border-radius: var(--radius-sm); font-size:14px; font-weight: 700; cursor: pointer; }
.share-code-box { display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,.08); border-radius: var(--radius-sm); padding: 10px 14px; margin-top: 10px; }
.share-code-val { font-size:14px; font-weight: 700; color: var(--white); letter-spacing: .1em; }
.share-copy-btn { font-size:12px; color: var(--white); background: none; border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius-pill); padding: 4px 10px; cursor: pointer; }

/* ─────────────────────────────────────────────── */
/* UTILS                                           */
/* ─────────────────────────────────────────────── */
.empty-state { padding: 48px 20px; text-align: center; }
.empty-emoji { font-size:44px; margin-bottom: 12px; }
.empty-title { font-family: var(--serif); font-size:23px; margin-bottom: 8px; }
.empty-sub { font-size:15px; color: var(--grey-400); line-height: 21px; }
.divider { height: 1px; background: var(--grey-100); }
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: calc(60px + var(--safe-b));
  z-index: 799;
  display: none;
}
.search-overlay.open { display: block; }

.leaflet-pane { z-index: 1 !important; }
.leaflet-tile-pane { z-index: 1 !important; }
.leaflet-overlay-pane { z-index: 2 !important; }
.leaflet-shadow-pane { z-index: 3 !important; }
.leaflet-marker-pane { z-index: 4 !important; }
.leaflet-tooltip-pane { z-index: 5 !important; }
.leaflet-popup-pane { z-index: 6 !important; }
.leaflet-map-pane { z-index: 1 !important; }
.leaflet-control-container { z-index: 8 !important; }
#map-container { position: relative; z-index: 0; }

.admin-panel-page {
  padding: 0 20px 120px;
  background: #F7F7F8;
}

.admin-panel-header {
  margin: 0 -20px 18px;
  padding: 24px 20px 20px;
  background: #111111;
  color: #ffffff;
}

.admin-panel-title {
  color: #ffffff;
  margin-bottom: 6px;
}

.admin-panel-subtitle {
  color: rgba(255,255,255,.72);
  font-size: 14px;
}

.admin-panel-page .review-field-card {
  background: #ffffff;
  border: 1px solid #E7E7EA;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(17,17,17,.04);
}

.admin-panel-page .review-textarea,
.admin-panel-page input.review-textarea,
.admin-panel-page select.review-textarea {
  min-height: 46px !important;
  height: 46px;
  border-radius: 14px !important;
  border: 1px solid #E3E3E7 !important;
  background: #ffffff;
}

.admin-panel-page textarea.review-textarea {
  height: auto;
}

.admin-panel-page .review-textarea:focus {
  border-color: #111111 !important;
  box-shadow: 0 0 0 1.5px #111111;
  outline: none;
}

.admin-panel-page .chip-btn {
  background: #ffffff;
  border-color: #E3E3E7;
  color: #111111;
}

.admin-panel-page .chip-btn.active {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}

.admin-panel-page .chip-btn[disabled] {
  opacity: .45;
  cursor: not-allowed;
}

.admin-api-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: 12px;
}

.admin-api-table th,
.admin-api-table td {
  border: 1px solid #E3E3E7;
  padding: 9px 10px;
  text-align: left;
  vertical-align: top;
}

.admin-api-table th {
  background: #F7F7F8;
  color: #111111;
  font-weight: 800;
}

.admin-api-table code {
  white-space: nowrap;
}

.admin-api-method {
  display: inline-flex;
  min-width: 44px;
  justify-content: center;
  border-radius: 999px;
  padding: 3px 8px;
  color: #ffffff;
  font-weight: 800;
}

.admin-api-method.get {
  background: #2563EB;
}

.admin-api-method.post {
  background: #16A34A;
}
.map-sticky { z-index: 9; }
.map-pin-preview { z-index: 20; }
#screen-restaurant { z-index: 2900; }
#screen-specials { z-index: 2500; }
#screen-review { z-index: 2500; }
#screen-friends-manage { z-index: 470; }
#custom-modal { z-index: 4000; }

.nav-fab {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--black);
  border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  margin-top: -6px;
  box-shadow: 0 4px 14px rgba(0,0,0,.22);
  transition: transform .12s;
  flex-shrink: 0;
}
.nav-fab:active { transform: scale(.92); }

.disc-price-btn {
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--grey-100);
  background: var(--white);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--sans);
  transition: all .12s;
  flex-shrink: 0;
}
.disc-price-btn.active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.mini-dark-btn {
  appearance: none;
  border: 1px solid var(--black);
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-pill);
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  font-family: var(--sans);
  white-space: nowrap;
}

.mini-dark-btn:hover {
  background: #000;
  border-color: #000;
}

/* Small screen tuning */
@media (max-width: 430px) {
  .search-bar {
    min-height: 50px;
    border-radius: 16px;
  }

  .discover-map-search {
    min-height: 40px;
  }

  .search-dropdown {
    border-radius: 20px;
  }

  .sdrop-row {
    padding: 11px 13px;
  }

  .chip-btn,
  .tab-btn,
  .friend-btn,
  .radius-btn,
  .map-sort-btn,
  .disc-sort-btn,
  .disc-distance-btn,
  .disc-cuisine-btn,
  .disc-price-btn,
  .disc-been-btn {
    padding: 8px 13px;
    min-height: 36px;
    font-size: 13px;
  }
}
