/* Cholent Check — polish.css
   Premium polish layer: cards, badges, mobile refinements, delight details
   Load order: 3 of 7. Later files intentionally override earlier ones. */

/* ===================== PREMIUM POLISH ===================== */
:root {
  --r: 22px
}

.card,
.place-card,
.rev,
.group,
.summary,
.tile,
.cta-band {
  box-shadow: none;
  border: 0
}

.card,
.place-card,
.rev {
  border-radius: var(--r)
}

/* one title system for every page */
.ph {
  padding: 30px 2px 6px
}

.ph .eyebrow {
  margin-bottom: 4px
}

.ph h1 {
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.06;
  letter-spacing: -.036em;
  margin: 0
}

.ph p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.42;
  margin: 8px 0 0;
  max-width: 560px
}

.hero h1 em,
.ph h1 em {
  color: inherit;
  font-style: normal
}

.cine .eyebrow {
  display: none
}

/* rating badge */
.rbadge {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: var(--ink);
  color: #fff;
  line-height: 1
}

.rbadge b {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.03em
}

.rbadge i {
  font-style: normal;
  font-size: 9px;
  color: #ffc76b;
  margin-top: 4px;
  letter-spacing: 1px
}

.rbadge.sm {
  width: 42px;
  height: 42px;
  border-radius: 12px
}

.rbadge.sm b {
  font-size: 16px
}

/* place card */
.pc {
  display: flex;
  gap: 14px;
  align-items: flex-start
}

.pc-main {
  flex: 1;
  min-width: 0
}

.pc .place {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.pc-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap
}

.pc-line .km {
  color: var(--ink);
  font-weight: 600
}

.sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #c7c7cc;
  display: inline-block
}

.quote {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: .5px solid var(--line);
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.quote span {
  color: var(--faint)
}

.place-card .chips {
  margin-top: 10px
}

/* review card */
.rv-head {
  display: flex;
  align-items: center;
  gap: 12px
}

.av {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #3a3a3c, #1d1d1f)
}

.av.anon {
  background: linear-gradient(135deg, #aeaeb2, #8e8e93)
}

.rv-who {
  flex: 1;
  min-width: 0
}

.rv-who b {
  display: block;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.rv-who span {
  font-size: 13px;
  color: var(--faint)
}

.rev .body {
  font-size: 16px;
  margin-top: 14px
}

details.more {
  margin-top: 14px;
  border-top: .5px solid var(--line)
}

details.more>summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0 2px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink2)
}

details.more>summary::-webkit-details-marker {
  display: none
}

details.more>summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.6px solid var(--faint);
  border-bottom: 1.6px solid var(--faint);
  transform: rotate(45deg);
  transition: transform .35s var(--spring);
  margin-right: 4px
}

details.more[open]>summary::after {
  transform: rotate(-135deg)
}

details.more[open]>*:not(summary) {
  animation: rise .45s var(--spring)
}

details.more .bars {
  margin-top: 10px
}

.rv-foot {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: 10px;
  font-size: 13px;
  color: var(--faint)
}

.rv-foot a {
  color: var(--bad)
}

.cmts {
  border-top: 0;
  margin-top: 4px;
  padding-top: 4px
}

/* place sheet */
#placehead {
  padding-top: 6px
}

#placehead h2 {
  font-size: 32px;
  letter-spacing: -.035em
}

.ph-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px
}

.ph-actions>* {
  min-height: 46px
}

.scorebox {
  background: var(--soft)
}

.verdict b {
  font-weight: 600;
  color: var(--ink)
}

.verdict .where b {
  font-weight: 500
}

.sec-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.025em;
  margin: 0 0 4px
}

.addph {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  margin: 14px 0 0;
  min-height: 42px;
  padding: 9px 16px;
  border-radius: 99px;
  background: var(--soft);
  color: var(--ink);
  font-size: 15px;
  font-weight: 500
}

.addph:active {
  transform: scale(.96)
}

.addph input {
  display: none
}

/* stats grid */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 6px
}

.stat-grid div {
  background: #fff;
  padding: 14px 6px;
  text-align: center
}

.stat-grid b {
  display: block;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums
}

.stat-grid span {
  font-size: 11.5px;
  color: var(--faint)
}

.profile {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px
}

.profile .av {
  width: 56px;
  height: 56px;
  font-size: 22px
}

.profile h2 {
  margin: 0 !important;
  font-size: 22px
}

.profile p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 14px
}

/* icons in place of emoji */
.empty .big {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 20px;
  background: var(--soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink2)
}

.empty .big svg {
  width: 30px;
  height: 30px
}

.tile .ic {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold)
}

.tile .ic svg {
  width: 24px;
  height: 24px
}

.rebbe .face {
  width: 64px;
  height: 64px;
  margin: 4px auto 0;
  border-radius: 50%;
  background: var(--ink);
  color: #ffc76b;
  display: flex;
  align-items: center;
  justify-content: center
}

.rebbe .face svg {
  width: 30px;
  height: 30px
}

.rebbe {
  text-align: left
}

.rebbe .face+.sub {
  text-align: center
}

.rebbe .loc-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px
}

.rebbe .btn-gold {
  width: 100%;
  min-height: 50px;
  font-size: 17px
}

.bdg .ic svg {
  width: 13px;
  height: 13px
}

/* tab bar contrast */
@media(max-width:760px) {
  .tabbar button {
    color: #8e8e93
  }

  .tabbar button.active {
    color: var(--ink)
  }

  .ph {
    padding-top: 22px
  }

  .ph h1 {
    font-size: 34px
  }

  .stat-grid b {
    font-size: 21px
  }

  .rebbe .loc-row {
    grid-template-columns: 1fr
  }
}

@media(hover:hover) {
  .place-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, .07)
  }
}

.ph p.eyebrow,
.about-hero p.eyebrow {
  color: var(--gold);
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 4px
}

.place-card .openpill.unk,
.mcard .openpill.unk {
  display: none
}

.pc-line:empty {
  display: none
}

.mc-top .rbadge {
  margin-left: auto
}

.leaflet-tile-pane {
  filter: saturate(.6) brightness(1.03) contrast(.96)
}

/* Mobile-first refinement: quiet surfaces, clear hierarchy, generous hit areas. */
:root {
  --bg: #f7f7f8;
  --card: #fff;
  --r: 24px;
  --gold: #a95c21;
  --gold2: #93501d;
  --muted: #626267;
  --faint: #707075;
  --shadow: 0 8px 32px rgba(25, 22, 18, .045)
}

body {
  letter-spacing: -.018em
}

button,
.btn {
  min-height: 44px
}

button:disabled {
  cursor: wait
}

.btn-sm,
.btn-xs,
.icon-btn,
.avatar,
.map-search .clear,
.psheet-top .close {
  min-height: 44px
}

.icon-btn,
.psheet-top .close,
.map-search .clear {
  width: 44px;
  height: 44px
}

.topin {
  gap: 8px
}

.topin nav {
  min-width: 0
}

.brand {
  font-size: 16px
}

.brand .b2 {
  color: var(--gold)
}

.topin #userzone {
  margin-left: 0
}

.topin #userzone .btn-sm {
  font-size: 13px;
  padding: 8px 12px
}

.cine {
  min-height: 640px;
  max-height: 760px
}

.cine-in {
  padding-top: calc(var(--nav-h) + env(safe-area-inset-top) + 64px)
}

.cine h1 {
  font-weight: 650;
  letter-spacing: -.05em
}

.cine-sub {
  max-width: 440px;
  color: #b9b9bf;
  line-height: 1.5
}

.cine .hero-cta {
  margin-top: 22px
}

.cine-bg img {
  margin-bottom: -25vh
}

.cine::after {
  background: linear-gradient(180deg, #000 0%, #000 28%, rgba(0, 0, 0, .5) 49%, transparent 76%, #000 100%)
}

.float-card {
  border: 1px solid rgba(0, 0, 0, .045);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .07);
  border-radius: 24px;
  padding: 16px
}

.searchbar input {
  background: #f1f1f3;
  min-height: 50px
}

.quick button {
  min-height: 44px;
  font-size: 13px;
  padding: 8px 13px
}

.section-head {
  margin-top: 34px
}

.section-head h2 {
  letter-spacing: -.04em
}

.section-head p {
  font-size: 16px
}

.discovery-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  margin: 14px 2px 4px
}

.discovery-tools button[aria-pressed=true] {
  background: var(--ink);
  color: #fff
}

.place-card {
  padding: 0 0 20px;
  margin: 18px 0 24px;
  border: 1px solid rgba(0, 0, 0, .04);
  box-shadow: var(--shadow);
  border-radius: 24px
}

.place-card .pc,
.place-card>.chips {
  margin-left: 20px;
  margin-right: 20px
}

.place-card .pc {
  margin-top: 18px
}

.place-card .pc .place {
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 21px;
  line-height: 1.2
}

.place-card>.chips {
  margin-top: 12px
}

.venue-cover {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  background: #eeeae4
}

.venue-placeholder {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  background: linear-gradient(145deg, #eee7dc, #f8f4ed);
  color: #98795b;
  font-size: 14px
}

.venue-placeholder svg {
  width: 42px;
  height: 42px;
  stroke-width: 1.1
}

.save-card {
  position: absolute;
  right: 12px;
  top: 12px;
  background: rgba(255, 255, 255, .94);
  font-size: 25px;
  box-shadow: 0 2px 12px #0000000a
}

.save-card[aria-pressed=true] {
  color: var(--gold)
}

.rbadge {
  background: #242321;
  border-radius: 16px
}

.chip.ro {
  font-size: 12px;
  min-height: 0;
  padding: 4px 10px
}

.chip:not(.ro) {
  min-height: 44px
}

.quote {
  display: none
}

.openpill.unk {
  display: inline-flex !important;
  color: var(--muted)
}

#view-place {
  border-radius: 28px 28px 0 0
}

#view-place .card {
  padding: 22px 20px
}

#placehead {
  padding-top: 0 !important;
  overflow: hidden
}

.detail-cover {
  width: calc(100% + 40px);
  max-width: none;
  margin: 0 -20px 22px;
  height: 260px;
  object-fit: cover;
  display: block
}

.detail-secondary {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 8px
}

.location-note {
  font-size: 13px;
  color: #795c37;
  background: #f6f0e7;
  padding: 12px 14px;
  border-radius: 12px;
  line-height: 1.5
}

.ph-actions {
  gap: 8px
}

.ph-actions>* {
  font-size: 14px
}

.psheet-top {
  min-height: 56px
}

.psheet-top .close {
  top: 6px;
  right: 8px
}

.scorebox {
  border-radius: 20px
}

.lightbox-close {
  position: absolute;
  top: calc(16px + env(safe-area-inset-top));
  right: 16px;
  background: #fff;
  color: #111;
  font-size: 26px
}

.map-fallback {
  padding: 24px;
  color: var(--muted);
  font-size: 14px;
  text-align: center
}

.sheet {
  border-radius: 26px 26px 0 0;
  max-height: 88dvh
}

.sheet-head {
  padding: 8px 0
}

.sheet .grp {
  border-radius: 18px
}

.sheet .grp button {
  min-height: 56px
}

.sheet-bg {
  backdrop-filter: blur(3px)
}

.confirm-rating {
  font-size: 13px;
  min-height: 44px;
  margin-top: 4px
}

.confirm-rating.confirmed {
  color: var(--good)
}

.draft-note {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  background: #efeff2;
  border-radius: 12px;
  padding: 12px 14px;
  margin: 12px 0
}

.flow-foot {
  padding-bottom: calc(14px + env(safe-area-inset-bottom))
}

.flow-foot .btn-lg {
  min-height: 52px
}

.tabbar button {
  font-size: 11px;
  color: #696970
}

.tabbar button.active {
  color: var(--ink)
}

.toast {
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.4
}

.tabbar .plus .ti {
  background: var(--ink)
}

/* Map is a calm canvas with one coordinated results sheet. */
.leaflet-tile-pane {
  filter: none
}

.leaflet-container {
  background: #eaece9
}

.map-top {
  padding: 12px 14px 0
}

.map-search {
  height: 52px;
  border: 1px solid #00000006;
  border-radius: 18px;
  box-shadow: 0 6px 24px #00000012;
  background: rgba(255, 255, 255, .96)
}

.map-search input {
  min-width: 0;
  font-size: 16px
}

.map-chips {
  gap: 7px
}

.mchip {
  min-height: 44px;
  padding: 9px 14px;
  font-size: 13px;
  box-shadow: 0 3px 12px #0000000b;
  border: 1px solid #00000005
}

.map-fab {
  box-shadow: 0 4px 18px #00000012;
  width: 48px;
  height: 48px
}

.map-count {
  display: none
}

.mpin {
  padding: 9px 12px;
  border: 1px solid #00000012;
  box-shadow: 0 3px 12px #0000001a;
  font-size: 13px
}

.mpin.sel {
  background: #252320;
  transform: translate(-50%, 0) scale(1.06)
}

.mpin .st {
  color: #b77b38
}

.mpin.sel .st {
  color: #efbf7e
}

.mpin.approx {
  border: 1px dashed #8a8177
}

.mpin .nm {
  max-width: 120px
}

.cluster-pin {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: #252320;
  border: 3px solid #e4d6c5;
  box-shadow: 0 3px 12px #00000024;
  font-weight: 650;
  font-size: 15px
}

.me-dot::before {
  animation: none;
  inset: -7px
}

.leaflet-control-attribution {
  font-size: 10px !important;
  background: rgba(255, 255, 255, .9) !important;
  max-width: 100%;
  padding: 2px 5px !important
}

.leaflet-bottom.leaflet-right {
  bottom: 0;
  z-index: 25
}

.map-results {
  position: absolute;
  bottom: 22px;
  left: 12px;
  right: 12px;
  z-index: 22;
  background: rgba(255, 255, 255, .98);
  border: 1px solid #00000008;
  border-radius: 26px;
  box-shadow: 0 -4px 40px #00000012;
  height: 252px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: height .35s var(--spring)
}

.map-results[data-size=mid] {
  height: 46%
}

.map-results[data-size=full] {
  height: calc(100% - 140px)
}

.map-sheet-handle {
  position: relative;
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
  border-radius: 0;
  background: none;
  padding: 8px 36px 12px;
  font-size: 14px;
  font-weight: 600;
  min-height: 58px;
  touch-action: none
}

.map-sheet-handle:hover {
  background: #f9f9fa
}

.map-sheet-handle .grab {
  margin: 0 auto 2px;
  background: #d0d0d4;
  width: 32px;
  height: 4px
}

.sheet-chevron {
  position: absolute;
  right: 20px;
  bottom: 12px;
  font-size: 20px;
  color: #777
}

.map-cards {
  position: static;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  gap: 0;
  padding: 0 16px 12px;
  scroll-snap-type: none;
  scrollbar-width: thin;
  scrollbar-color: #ddd transparent
}

.map-cards.hide {
  transform: none
}

.mcard {
  flex: none;
  width: 100%;
  padding: 16px 0;
  margin: 0;
  border: 0;
  border-top: 1px solid #eee;
  box-shadow: none;
  border-radius: 0;
  background: transparent;
  position: relative;
  scroll-margin-top: 8px
}

.mcard.sel {
  border-color: #eee;
  background: #f7f5f1;
  border-radius: 16px;
  padding: 14px 12px;
  margin: 0 -4px;
  width: calc(100% + 8px)
}

.mc-top .place {
  white-space: normal;
  font-size: 17px
}

.mc-top .where {
  font-size: 12px
}

.mc-meta {
  font-size: 12px;
  gap: 6px
}

.mc-actions>* {
  min-height: 44px;
  font-size: 13px
}

.map-card-photo {
  float: left;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  margin: 0 12px 8px 0
}

.map-empty {
  bottom: 30px
}

.search-area {
  position: absolute;
  top: 126px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 21;
  min-height: 44px;
  background: #fff;
  box-shadow: 0 4px 20px #00000015;
  font-size: 13px;
  white-space: nowrap
}

.search-area:active {
  transform: translateX(-50%) scale(.97)
}

.map-fab {
  right: 16px
}

.mapx .leaflet-control-zoom {
  display: block;
  border: 0 !important;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px #00000010
}

.mapx .leaflet-control-zoom a {
  width: 44px;
  height: 44px;
  line-height: 44px
}

.mapx .leaflet-bottom.leaflet-left {
  bottom: 290px;
  left: 4px
}

@media(min-width:761px) {
  #homelist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    align-items: start
  }

  #homelist>.empty {
    grid-column: 1/-1
  }

  .place-card {
    margin: 8px 0
  }

  .map-results {
    left: auto;
    right: 18px;
    top: 140px;
    bottom: 26px;
    width: 360px;
    height: auto !important
  }

  .map-cards {
    width: auto
  }

  .map-top {
    max-width: 520px
  }

  .map-fab {
    display: flex
  }

  .map-sheet-handle {
    pointer-events: none
  }

  .search-area {
    left: 240px
  }

  .mapx .leaflet-bottom.leaflet-left {
    bottom: 26px
  }

  .map-results .sheet-chevron {
    display: none
  }
}

@media(max-width:760px) {
  .cine {
    min-height: 570px;
    height: 68svh;
    max-height: 660px
  }

  .cine-in {
    padding: calc(var(--nav-h) + env(safe-area-inset-top) + 36px) 20px 0
  }

  .cine h1 {
    font-size: clamp(40px, 11vw, 52px)
  }

  .cine-sub {
    font-size: 16px;
    max-width: 300px;
    margin-top: 14px
  }

  .cine-bg img {
    width: 140vw;
    margin-bottom: -20svh
  }

  .cine .hero-cta {
    padding: 0;
    gap: 10px
  }

  .cine .hero-cta button {
    font-size: 15px;
    min-height: 48px;
    padding: 12px 16px
  }

  .float-card {
    margin-top: -30px !important;
    padding: 14px
  }

  .quick {
    margin-top: 10px
  }

  .wrap {
    padding-bottom: calc(90px + env(safe-area-inset-bottom))
  }

  .section-head {
    margin-top: 30px
  }

  .section-head h2 {
    font-size: 32px
  }

  .venue-cover {
    height: 210px
  }

  .place-card {
    padding-bottom: 18px
  }

  .place-card .pc,
  .place-card>.chips {
    margin-left: 18px;
    margin-right: 18px
  }

  .mapx {
    bottom: var(--tab-h)
  }

  .tabbar {
    padding-top: 5px
  }

  .tabbar button {
    min-height: 48px
  }

  .sheet {
    max-height: 88dvh
  }

  .flow-head {
    top: calc(var(--nav-h) + env(safe-area-inset-top))
  }
}

@media(max-width:350px) {
  .cine {
    min-height: 550px
  }

  .cine-in {
    padding-top: calc(var(--nav-h) + 28px)
  }

  .cine h1 {
    font-size: 40px
  }

  .cine-sub {
    font-size: 15px
  }

  .brand {
    font-size: 15px
  }

  .topin {
    padding: 0 12px
  }

  .venue-cover {
    height: 180px
  }

  .discovery-tools {
    font-size: 12px
  }

  .map-results {
    left: 8px;
    right: 8px
  }

  .ph-actions {
    grid-template-columns: 1fr
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto !important
  }

  .map-results {
    transition: none
  }

  .me-dot::before {
    animation: none
  }
}

/* Keep discovery results out of the way until requested. */
.map-results[data-size=peek] {
  height: 58px !important
}

.map-results[data-size=peek] .map-cards {
  visibility: hidden;
  pointer-events: none
}

.map-sheet-handle {
  cursor: pointer;
  pointer-events: auto
}

.map-results .sheet-chevron {
  display: block;
  line-height: 24px;
  bottom: 12px
}

@media(min-width:761px) {
  .map-results {
    top: auto;
    height: 46% !important;
    max-height: calc(100% - 140px)
  }

  .map-results[data-size=full] {
    height: calc(100% - 140px) !important
  }
}

/* Quiet, mobile-first community extras. */
.luxury-page {
  max-width: 920px;
  margin: 0 auto
}

.joy-stage {
  background: #f4f0e9;
  border: 1px solid #e7e0d5;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 16px 48px #3426190a;
  min-height: 280px
}

.joy-figure {
  margin: 0
}

.joy-figure>img {
  display: block;
  width: 100%;
  height: clamp(280px, 53vh, 580px);
  object-fit: contain;
  background: #eae3d8
}

.joy-figure figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 24px
}

.joy-figure h2 {
  margin: 6px 0;
  font-size: 28px
}

.joy-controls {
  text-align: center;
  padding: 26px 12px
}

.joy-controls>button {
  min-height: 52px;
  padding: 14px 30px
}

.joy-controls .sub {
  margin-top: 14px;
  font-size: 12px
}

.toeat-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px
}

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

.toeat-grid .place-card {
  margin: 0
}

.toeat-grid>.empty {
  grid-column: 1/-1
}

.toeat-note {
  font-size: 12px;
  color: #81776a;
  text-align: center;
  margin: 28px 0
}

.save-card[aria-pressed=true] {
  color: #97672e;
  background: #fff8e9
}

.share-dialog {
  width: min(480px, calc(100% - 24px));
  max-height: 90dvh;
  overflow: auto;
  border: 1px solid #e7e0d5;
  border-radius: 26px;
  background: #fcfaf6;
  padding: 24px;
  color: #29251f;
  box-shadow: 0 30px 100px #0003
}

.share-dialog::backdrop {
  background: #211c1777;
  backdrop-filter: blur(8px)
}

.share-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px
}

.share-head h2 {
  font-size: 26px;
  margin: 8px 0 20px
}

.share-dialog #share-preview {
  display: block;
  width: 100%;
  max-height: 46dvh;
  object-fit: contain;
  border-radius: 14px;
  background: #f6f2ea
}

.share-dialog #share-preview[hidden] {
  display: none
}

.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px
}

.share-actions button {
  min-height: 44px;
  flex: 1
}

.share-note {
  font-size: 12px;
  color: #81776a;
  line-height: 1.6;
  margin-top: 16px
}

.share-dialog input {
  width: 100%;
  margin-top: 12px
}

.share-wa {
  background: #1f7a4d !important;
  color: #fff !important;
  border-color: #1f7a4d !important
}

.share-dialog button:disabled {
  opacity: .45;
  cursor: not-allowed
}

.luxury-page button:focus-visible,
.share-dialog button:focus-visible {
  outline: 3px solid #a37a42;
  outline-offset: 4px
}

@media(max-width:640px) {
  .toeat-grid {
    grid-template-columns: 1fr
  }

  .joy-figure figcaption {
    padding: 20px;
    align-items: flex-start;
    flex-direction: column
  }

  .joy-figure h2 {
    font-size: 25px
  }

  .joy-stage {
    border-radius: 22px
  }

  .toeat-toolbar {
    align-items: flex-start
  }

  .share-dialog {
    padding: 20px
  }

  .share-actions>button:first-child {
    flex-basis: 100%
  }
}

@media(min-width:900px) {
  .top nav {
    gap: 2px
  }

  .top nav .nl {
    padding-left: 8px;
    padding-right: 8px;
    font-size: 12px
  }
}

/* Unified ivory, charcoal and copper design. */
:root {
  --bg: #faf7f2;
  --card: #fffdf9;
  --ink: #292622;
  --ink2: #4b4640;
  --muted: #71685f;
  --faint: #7d746b;
  --soft: #f0ebe4;
  --line: #e5ddd3;
  --gold: #a66b46;
  --gold2: #8d5636;
  --r: 22px;
  --accent-grad: linear-gradient(#a66b46, #a66b46)
}

header.top,
.tabbar,
.flow-head,
.flow-foot,
.psheet-top {
  background: rgba(250, 247, 242, .96)
}

.card,
.place-card,
.rev,
.group,
.summary,
.tile,
.cta-band {
  border-radius: 22px;
  box-shadow: none
}

.float-card {
  background: var(--card);
  box-shadow: none;
  border: 1px solid var(--line);
  border-radius: 22px
}

.quick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  overflow: visible;
  margin: 12px 0 0;
  padding: 0
}

.quick button {
  background: var(--soft);
  color: var(--ink);
  font-size: 13px;
  padding: 8px 12px
}

.quick button.on {
  background: var(--ink);
  color: var(--card)
}

.quick .filter-toggle {
  margin-left: 0;
  background: transparent
}

.sort-control {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 0 auto;
  font-size: 13px;
  color: var(--muted)
}

.sort-control select {
  width: auto;
  max-width: 160px;
  min-height: 44px;
  font-size: 13px;
  background-color: transparent;
  padding: 8px 28px 8px 6px;
  background-position: right 8px center;
  border-radius: 10px
}

.place-card {
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: hidden;
  padding-bottom: 8px;
  margin: 20px 0 28px
}

.venue-cover,
.venue-placeholder {
  height: auto;
  aspect-ratio: 4/3;
  border-radius: 22px;
  object-fit: cover
}

.venue-placeholder {
  background: var(--soft);
  color: var(--muted)
}

.place-card .pc {
  margin: 14px 2px 0;
  gap: 12px
}

.place-card .pc .place {
  font-size: 19px;
  font-weight: 600
}

.place-card .where {
  font-size: 14px;
  margin-top: 5px
}

.card-rating {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: 16px;
  white-space: nowrap
}

.card-rating small {
  font-size: 12px;
  color: var(--muted)
}

.rating-star {
  color: var(--gold)
}

.save-card {
  top: 12px;
  right: 12px;
  box-shadow: none;
  background: rgba(255, 253, 249, .95);
  color: var(--ink)
}

.save-card[aria-pressed=true] {
  background: var(--card);
  color: var(--gold)
}

.cine h1 .grad,
.about-hero h1 em {
  background: none;
  color: var(--gold);
  -webkit-text-fill-color: currentColor
}

.loc-nudge {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  background: #f6f0e7;
  border-radius: 16px;
  padding: 14px 16px;
  margin: 14px 0
}

.loc-nudge>svg {
  color: var(--gold2);
  width: 22px;
  height: 22px
}

.ln-txt {
  flex: 1;
  min-width: 180px
}

.ln-txt b {
  display: block;
  font-size: 15px;
  font-weight: 600
}

.ln-txt span {
  font-size: 13px;
  color: var(--muted)
}

.ln-btns {
  display: flex;
  gap: 6px
}

.loc-nudge.done {
  background: #eef6ef
}

.loc-nudge.done>svg {
  color: var(--good)
}

.loc-nudge.done .ln-btns {
  display: none
}

.dym {
  font-size: 16px;
  margin: 4px 0 10px
}

.dym .link-arrow {
  font-size: 16px;
  font-weight: 600;
  text-decoration: underline
}

.search-help {
  margin: 14px auto 0;
  max-width: 460px
}

.search-help>span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 6px
}

.search-help .chips {
  justify-content: center
}

h3.place {
  margin: 0;
  font-family: inherit;
  letter-spacing: -.024em
}

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

.card-link:hover {
  text-decoration: underline
}

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

.filter-toggle {
  display: inline-flex;
  gap: 6px
}

.optional-details {
  margin: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line)
}

.optional-details>summary {
  cursor: pointer;
  min-height: 56px;
  padding: 16px 4px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink)
}

.optional-details>summary span {
  display: block;
  margin: 4px 0 0 17px;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted)
}

.optional-details .group {
  margin: 8px 0 14px
}

.optional-details[open]>summary {
  color: var(--gold2)
}

@media(max-width:400px) {
  .sort-control {
    width: 100%;
    justify-content: space-between;
    margin-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 4px
  }

  .sort-control select {
    max-width: none
  }

  .quick {
    gap: 6px
  }
}

/* ---- mobile polish ---- */
@media(max-width:760px) {

  input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),
  select,
  textarea {
    font-size: 16px !important
  }

  .chip {
    min-height: 40px;
    display: inline-flex;
    align-items: center
  }

  #sort-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 0 -16px;
    padding: 2px 16px 6px
  }

  #sort-chips::-webkit-scrollbar {
    display: none
  }

  #sort-chips .chip {
    flex: 0 0 auto
  }

  .quick {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 12px -14px 0 !important;
    padding: 0 14px 2px !important
  }

  .quick::-webkit-scrollbar {
    display: none
  }

  .quick button {
    flex: 0 0 auto;
    white-space: nowrap
  }

  .loc-nudge {
    padding: 14px
  }

  .ln-btns {
    width: 100%
  }

  .ln-btns button {
    flex: 1;
    min-height: 44px
  }

  .search-help .chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    scrollbar-width: none;
    margin: 0 -16px;
    padding: 0 16px 4px
  }

  .search-help .chips::-webkit-scrollbar {
    display: none
  }

  .search-help .chip {
    flex: 0 0 auto
  }

  .lightbox {
    padding: 0
  }

  .lightbox img {
    border-radius: 0;
    max-height: 100svh
  }

  .lightbox-close {
    top: calc(12px + env(safe-area-inset-top)) !important;
    right: 12px !important
  }

  .detail-secondary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
  }

  .detail-secondary .btn-ghost {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px
  }

  .founders-meta span {
    font-size: 12px;
    padding: 7px 12px
  }

  .card-link {
    display: block
  }
}

.sheet {
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch
}

.sheet .panel>label:first-child {
  margin-top: 4px
}

button,
a,
.chip {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation
}

.legal h3 {
  margin: 22px 0 6px
}

.legal ul {
  padding-left: 20px;
  margin: 6px 0
}

.legal li {
  margin: 4px 0
}

.legal p {
  line-height: 1.6
}

.rv-foot .rep,
.cm .rep {
  color: var(--faint)
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
  font-size: 13.5px;
  line-height: 1.45;
  margin: 16px 2px 0;
  text-transform: none;
  cursor: pointer
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: none
}

.danger {
  color: #b3261e !important;
  border-color: #b3261e33 !important
}

/* ---- Delight layer (all motion respects reduced-motion) ---- */
.place-card {
  position: relative
}

.leader {
  transition: background .3s
}

.leader.podium .rank {
  font-size: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden
}

.leader.podium .rank::before {
  content: attr(data-n);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  position: relative;
  z-index: 1
}

.leader.p1 .rank {
  background: linear-gradient(135deg, #f7d774, #c9962c 55%, #f3d27a);
  box-shadow: 0 4px 14px rgba(201, 150, 44, .45)
}

.leader.p2 .rank {
  background: linear-gradient(135deg, #e9ecef, #9aa1a8 55%, #dfe3e7)
}

.leader.p3 .rank {
  background: linear-gradient(135deg, #e7b08a, #a8643a 55%, #dca17a)
}

.leader.p1 .rank::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .75) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: shine 3.2s ease-in-out infinite 1s
}

.leader.p1 {
  background: linear-gradient(90deg, rgba(247, 215, 116, .14), transparent 70%);
  border-radius: 14px
}

@keyframes shine {

  0%,
  60% {
    transform: translateX(-120%)
  }

  100% {
    transform: translateX(120%)
  }
}

.leader.in {
  animation: rise .55s var(--spring, cubic-bezier(.2, .8, .2, 1)) both
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.rval.pop {
  animation: pop .28s ease-out
}

@keyframes pop {
  0% {
    transform: scale(1)
  }

  45% {
    transform: scale(1.28);
    color: var(--gold)
  }

  100% {
    transform: scale(1)
  }
}

.surprise-veil {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: rgba(10, 8, 6, .62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity .25s
}

.surprise-veil.on {
  opacity: 1
}

.surprise-card {
  text-align: center;
  color: #fff;
  padding: 30px 36px
}

.surprise-card .eyebrow {
  color: #f6d48a
}

.surprise-name {
  font-size: clamp(28px, 7vw, 48px);
  font-weight: 700;
  letter-spacing: -.03em;
  margin: 8px 0 4px;
  min-height: 1.2em
}

.surprise-city {
  color: rgba(255, 255, 255, .7);
  font-size: 16px;
  min-height: 1.4em
}

.surprise-name.land {
  animation: pop .45s ease-out;
  color: #f6d48a
}

@media (prefers-reduced-motion: reduce) {

  .leader.p1 .rank::after,
  .leader.in,
  .rval.pop,
  .surprise-name.land {
    animation: none !important
  }
}

/* ---- Round 5: Apple-style details ---- */
/* A. "Top Rated" eyebrow, like Apple's orange "New" label */
.top-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--gold);
  margin: 0 0 3px
}

/* B. Gentle photo zoom on hover (desktop only) */
.cover-wrap {
  border-radius: 22px;
  overflow: hidden;
  transform: translateZ(0)
}

.cover-wrap .venue-cover {
  transition: transform 1.2s cubic-bezier(.2, .8, .2, 1)
}

@media (hover:hover) and (pointer:fine) {
  .place-card:hover .cover-wrap .venue-cover {
    transform: scale(1.045)
  }
}

/* C. Score ring on the place page */
.ring {
  position: relative;
  width: 96px;
  height: 96px;
  flex: none;
  display: grid;
  place-items: center
}

.ring svg {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg)
}

.ring .trk {
  fill: none;
  stroke: rgba(0, 0, 0, .07);
  stroke-width: 7
}

.ring .arc {
  fill: none;
  stroke-width: 7;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.2s cubic-bezier(.32, .72, 0, 1)
}

.ring .scorenum {
  font-size: 32px;
  position: relative
}

.ring-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px
}

.ring-col .stars {
  margin-top: 0 !important
}

/* D. Live score in the review form glows gold once complete */
#live-score.grad-on {
  background: linear-gradient(135deg, #e2a64a, #c4620a 60%, #8f4507);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

/* E. Heart pop when saving */
.save-card.just svg {
  animation: heart .55s cubic-bezier(.3, 1.6, .5, 1)
}

@keyframes heart {
  0% {
    transform: scale(.6)
  }

  55% {
    transform: scale(1.25)
  }

  100% {
    transform: scale(1)
  }
}

/* F. Dynamic Island toasts */
.toast {
  top: calc(env(safe-area-inset-top, 0px) + 12px);
  bottom: auto !important;
  background: #000 !important;
  color: #fff;
  border-radius: 99px !important;
  padding: 11px 22px !important;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .22);
  clip-path: inset(0 calc(50% - 22px) round 99px);
  opacity: 0;
  transform: translateX(-50%) translateY(-8px) scale(.94) !important;
  transition: clip-path .55s cubic-bezier(.32, .72, 0, 1), opacity .2s, transform .55s cubic-bezier(.32, .72, 0, 1) !important
}

.toast.show {
  clip-path: inset(0 0 round 99px);
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1) !important
}

/* G. Search placeholder crossfade */
#q.ph-fade::placeholder {
  opacity: 0
}

#q::placeholder {
  transition: opacity .35s
}

@media (prefers-reduced-motion: reduce) {

  .cover-wrap .venue-cover,
  .ring .arc,
  .toast {
    transition: none !important
  }

  .save-card.just svg {
    animation: none
  }
}
