/* Cholent Check — base.css
   Original theme: layout, nav, buttons, hero, lists, review flow, sheets, about
   Load order: 1 of 7. Later files intentionally override earlier ones. */

:root {
  --bg: #f5f5f7;
  --card: #ffffff;
  --ink: #1d1d1f;
  --ink2: #424245;
  --muted: #6e6e73;
  --faint: #86868b;
  --line: #e5e5ea;
  --soft: #f2f2f4;
  --hair: rgba(0, 0, 0, .08);
  --gold: #c4620a;
  --gold2: #a9530a;
  --cream: #1d1d1f;
  --good: #248a3d;
  --bad: #d70015;
  --accent-grad: linear-gradient(100deg, #ffd9a3 0%, #f0a04b 45%, #c4620a 100%);
  --spring: cubic-bezier(.32, .72, 0, 1);
  --ease: cubic-bezier(.25, .1, .25, 1);
  --nav-h: 48px;
  --tab-h: 0px;
  --r: 20px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 2px 10px rgba(0, 0, 0, .03);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, .10);
}

* {
  box-sizing: border-box
}

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth
}

html,
body {
  margin: 0;
  padding: 0
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Inter", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -.022em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overscroll-behavior-y: none
}

h1,
h2,
h3 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Inter", "Helvetica Neue", sans-serif;
  font-weight: 700;
  letter-spacing: -.028em;
  color: var(--ink)
}

a {
  color: var(--gold2);
  text-decoration: none
}

a:hover {
  text-decoration: underline
}

img {
  max-width: 100%
}

::selection {
  background: #fde2c4
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 8px
}

button,
a,
.chip,
.place-card {
  touch-action: manipulation
}

.hidden {
  display: none !important
}

.wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px 120px
}

.flex {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap
}

.spacer {
  flex: 1
}

.ic-svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none
}

/* keep every Leaflet map inside its own box (stops maps floating over bars) */
.leaflet-container {
  z-index: 0;
  isolation: isolate;
  font: inherit;
  background: #e9eef2
}

/* nav */
header.top {
  position: sticky;
  top: 0;
  z-index: 60;
  height: calc(var(--nav-h) + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  background: rgba(251, 251, 253, .8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: .5px solid var(--hair);
  transition: background .4s var(--ease), transform .5s var(--spring), border-color .4s
}

header.top.dark {
  background: rgba(0, 0, 0, .6);
  border-bottom-color: rgba(255, 255, 255, .08)
}

header.top.dark .brand,
header.top.dark nav .nl {
  color: #f5f5f7
}

header.top.dark #nav-add {
  background: #f5f5f7 !important;
  color: #1d1d1f !important
}

header.top.dark #userzone .btn-sm {
  background: rgba(255, 255, 255, .14);
  color: #fff
}

header.top.tuck {
  transform: translateY(-100%)
}

.topin {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 12px
}

.brand {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -.02em;
  cursor: pointer;
  white-space: nowrap;
  color: var(--ink)
}

.brand .mark {
  width: 22px;
  height: 22px;
  color: var(--gold)
}

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

nav {
  margin-left: auto;
  display: flex;
  gap: 2px;
  align-items: center
}

nav .nl {
  background: none;
  border: 0;
  color: var(--ink);
  opacity: .8;
  font-size: 12.5px;
  font-weight: 400;
  padding: 6px 11px;
  border-radius: 99px;
  letter-spacing: -.01em;
  min-height: 0
}

nav .nl:hover {
  opacity: 1;
  background: none
}

nav .nl.active {
  opacity: 1;
  font-weight: 600
}

nav #nav-add {
  opacity: 1;
  background: var(--ink);
  color: #fff;
  font-weight: 500;
  padding: 6px 14px;
  margin-left: 8px
}

#userzone {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-left: 6px
}

#userzone .pill {
  display: none
}

.avatar {
  width: 30px;
  height: 30px;
  min-height: 30px;
  border-radius: 50%;
  padding: 0;
  justify-content: center;
  font-weight: 600;
  font-size: 13px;
  background: var(--ink);
  color: #fff
}

.mob-only {
  display: none
}

/* buttons */
button,
.btn {
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -.016em;
  cursor: pointer;
  border: 0;
  border-radius: 980px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  min-height: 40px;
  background: #e8e8ed;
  color: var(--ink);
  text-decoration: none !important;
  transition: transform .25s var(--spring), background .2s var(--ease), opacity .2s, color .2s
}

button:hover,
.btn:hover {
  background: #dedee3
}

button:active,
.btn:active {
  transform: scale(.96)
}

button:disabled {
  opacity: .35;
  pointer-events: none
}

.btn-gold,
.btn-primary {
  background: var(--ink);
  color: #fff
}

.btn-gold:hover,
.btn-primary:hover {
  background: #000
}

.btn-ghost {
  background: transparent;
  color: var(--gold2);
  padding-left: 10px;
  padding-right: 10px
}

.btn-ghost:hover {
  background: rgba(196, 98, 10, .07)
}

.btn-sm {
  font-size: 14px;
  padding: 7px 14px;
  min-height: 34px
}

.btn-xs {
  font-size: 12px;
  padding: 4px 10px;
  min-height: 26px
}

.btn-lg {
  font-size: 17px;
  padding: 14px 24px;
  min-height: 50px;
  width: 100%
}

.link-arrow {
  background: none;
  color: var(--gold2);
  padding: 0;
  min-height: 0
}

.icon-btn {
  width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  border-radius: 50%;
  background: var(--soft);
  color: var(--ink)
}

.eyebrow {
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 6px
}

.sub {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
  margin: 2px 0 16px
}

.k {
  color: inherit
}

.hero {
  padding: 56px 4px 12px
}

.hero h1 {
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.06;
  margin: 0
}

.hero h1 em {
  font-style: normal;
  color: var(--gold)
}

.tag {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.4;
  margin: 12px 0 0;
  max-width: 600px
}

.hero-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px
}

.quip {
  display: none
}

.card {
  background: var(--card);
  border-radius: var(--r);
  padding: 24px;
  margin: 16px 0;
  box-shadow: var(--shadow)
}

.card>h2,
.card h2 {
  font-size: 24px;
  line-height: 1.15;
  margin: 0 0 6px
}

.card h3 {
  font-size: 19px;
  margin: 24px 0 4px
}

label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin: 18px 2px 7px
}

input[type=text],
input[type=email],
input[type=password],
input[type=date],
input[type=time],
input[type=search],
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: var(--soft);
  color: var(--ink);
  font: inherit;
  font-size: 17px;
  letter-spacing: -.02em;
  -webkit-appearance: none;
  appearance: none;
  transition: background .2s var(--ease), border-color .2s, box-shadow .2s
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2386868b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  background: #fff;
  border-color: #c7c7cc;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, .04)
}

input::placeholder,
textarea::placeholder {
  color: #a1a1a6
}

textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.5
}

input[type=checkbox] {
  accent-color: var(--ink)
}

input[type=file] {
  width: 100%;
  padding: 14px;
  border: 1.5px dashed #d2d2d7;
  border-radius: 14px;
  background: transparent;
  font-size: 14px;
  color: var(--muted)
}

input[type=file]::file-selector-button {
  font: inherit;
  font-weight: 500;
  border: 0;
  border-radius: 99px;
  background: var(--ink);
  color: #fff;
  padding: 8px 14px;
  margin-right: 12px;
  cursor: pointer
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 14px
}

/* hero */
.cine {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: calc(-1*(var(--nav-h) + env(safe-area-inset-top)));
  min-height: min(100svh, 940px);
  background: #000;
  color: #f5f5f7;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column
}

.cine-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: flex;
  align-items: flex-end;
  justify-content: center
}

.cine-bg img {
  width: min(980px, 112vw);
  max-width: none;
  margin-bottom: -26vh;
  transform-origin: 50% 80%;
  will-change: transform, opacity;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 60%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 60%, #000 55%, transparent 100%);
  opacity: 0;
  animation: potIn 1.8s var(--spring) .1s forwards
}

@keyframes potIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(1.04)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.cine::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, #000 0%, #000 38%, rgba(0, 0, 0, .5) 56%, transparent 72%, transparent 84%, #000 100%)
}

.cine-glow {
  position: absolute;
  left: 50%;
  bottom: 6%;
  width: 60vw;
  height: 36vh;
  transform: translateX(-50%);
  z-index: -1;
  background: radial-gradient(closest-side, rgba(240, 140, 40, .22), transparent);
  filter: blur(30px)
}

.cine-in {
  padding: calc(var(--nav-h) + env(safe-area-inset-top) + 12vh) 24px 0;
  text-align: center;
  will-change: transform, opacity
}

.cine .eyebrow {
  color: #f0a04b;
  font-size: 17px;
  margin-bottom: 8px
}

.cine h1 {
  font-size: clamp(40px, 6.4vw, 76px);
  line-height: 1.04;
  letter-spacing: -.035em;
  margin: 0;
  color: #f5f5f7
}

.cine h1 .grad {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.cine-sub {
  color: #a1a1a6;
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.4;
  max-width: 560px;
  margin: 16px auto 0
}

.cine .hero-cta {
  justify-content: center;
  margin-top: 26px
}

.cine .hero-cta button {
  min-width: 150px;
  min-height: 46px;
  font-size: 16px
}

.cine .btn-light {
  background: #f5f5f7;
  color: #1d1d1f
}

.cine .btn-light:hover {
  background: #fff
}

.cine .link-arrow {
  background: rgba(255, 255, 255, .14);
  color: #fff;
  padding: 10px 20px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px)
}

.cine .link-arrow:hover {
  background: rgba(255, 255, 255, .22);
  text-decoration: none
}

.lineup>* {
  opacity: 0;
  transform: translateY(16px);
  animation: lineup 1s var(--spring) forwards
}

.lineup>*:nth-child(2) {
  animation-delay: .08s
}

.lineup>*:nth-child(3) {
  animation-delay: .16s
}

.lineup>*:nth-child(4) {
  animation-delay: .24s
}

.lineup>*:nth-child(5) {
  animation-delay: .32s
}

@keyframes lineup {
  to {
    opacity: 1;
    transform: none
  }
}

.scroll-cue {
  display: none
}

/* list */
.float-card {
  position: relative;
  z-index: 2;
  margin-top: -70px !important;
  padding: 18px;
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .16)
}

.searchbar {
  position: relative
}

.searchbar .si {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--faint);
  display: flex
}

.searchbar input {
  padding-left: 42px;
  min-height: 46px;
  border-radius: 12px
}

.searchbar .kbd {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: var(--faint);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 6px;
  background: #fff
}

.quick {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap
}

.quick button {
  min-height: 34px;
  padding: 6px 14px;
  font-size: 14px;
  background: var(--soft);
  color: var(--ink2)
}

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

.quick .filter-toggle {
  margin-left: auto;
  background: transparent;
  color: var(--gold2)
}

.fcount {
  background: var(--gold);
  color: #fff;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 600;
  min-width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px
}

.section-head {
  margin: 48px 4px 10px
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.08;
  margin: 0
}

.section-head p {
  margin: 4px 0 0;
  color: var(--muted)
}

#stats {
  display: block !important;
  color: var(--faint);
  font-size: 13px;
  margin: 0 4px 6px !important
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--soft);
  color: var(--ink2);
  border-radius: 99px;
  padding: 4px 11px;
  font-size: 13px;
  margin: 3px 5px 3px 0
}

.place-card,
.rev {
  background: var(--card);
  border-radius: var(--r);
  padding: 20px;
  margin: 12px 0;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden
}

.place-card {
  cursor: pointer;
  transition: transform .45s var(--spring), box-shadow .45s var(--spring)
}

.place-card:active {
  transform: scale(.98)
}

.rtop {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start
}

.place {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.024em;
  margin: 0;
  line-height: 1.25
}

.where {
  color: var(--muted);
  font-size: 14px;
  margin-top: 2px
}

.stars {
  font-size: 14px;
  line-height: 1;
  display: inline-block;
  position: relative;
  white-space: nowrap;
  letter-spacing: 1px
}

.stars .st-bg {
  color: #d9d9de
}

.stars .st-fg {
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
  color: var(--gold);
  white-space: nowrap
}

.openpill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted)
}

.openpill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c7c7cc
}

.openpill.open {
  color: var(--good)
}

.openpill.open::before {
  background: #30d158;
  box-shadow: 0 0 0 3px rgba(48, 209, 88, .18)
}

.openpill.shut::before {
  background: #ff6961
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 8px
}

.chip {
  border-radius: 99px;
  padding: 7px 13px;
  font-size: 14px;
  font-weight: 500;
  background: var(--soft);
  color: var(--ink2);
  cursor: pointer;
  user-select: none;
  transition: background .2s, color .2s, transform .2s var(--spring)
}

.chip:active {
  transform: scale(.95)
}

.chip.on {
  background: var(--ink);
  color: #fff
}

.chip.ro {
  cursor: default;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  padding: 2px 9px
}

.gal {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px
}

.gal img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 12px;
  cursor: zoom-in
}

.meta {
  color: var(--faint);
  font-size: 13px;
  margin-top: 12px;
  line-height: 1.45
}

.meta b {
  color: var(--ink2) !important;
  font-weight: 600
}

.rev .body {
  margin: 12px 0 0;
  white-space: pre-wrap;
  line-height: 1.55;
  font-size: 16px
}

.bars {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px
}

.bar {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--muted)
}

.bar .t {
  flex: 0 0 132px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.bar .track {
  flex: 1;
  height: 4px;
  border-radius: 99px;
  background: #ececf0;
  overflow: hidden
}

.bar .fill {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: var(--ink)
}

.bar .n {
  width: 26px;
  text-align: right;
  color: var(--ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums
}

.badge {
  font-size: 11px;
  font-weight: 500;
  background: var(--soft);
  border-radius: 6px;
  padding: 2px 6px;
  color: var(--muted)
}

.notice {
  background: var(--soft);
  border-radius: 14px;
  padding: 13px 15px;
  font-size: 14px;
  color: var(--ink2);
  margin: 14px 0 0;
  line-height: 1.45
}

.empty {
  text-align: center;
  color: var(--muted);
  padding: 44px 18px
}

.empty .big {
  font-size: 46px;
  line-height: 1;
  margin-bottom: 8px
}

.empty h2 {
  margin: 6px 0
}

.empty p {
  max-width: 380px;
  margin: 8px auto 18px
}

.cmts {
  margin-top: 16px;
  border-top: .5px solid var(--line);
  padding-top: 12px
}

.cmt {
  background: var(--soft);
  border-radius: 14px;
  padding: 10px 13px;
  margin: 8px 0
}

.cmt .ca {
  font-size: 13px;
  font-weight: 600
}

.cmt .cb {
  font-size: 15px;
  margin-top: 2px;
  white-space: pre-wrap;
  line-height: 1.45
}

.cmt .cm {
  font-size: 12px;
  color: var(--faint);
  margin-top: 3px
}

.cbox {
  display: flex;
  gap: 8px;
  margin-top: 10px
}

.cbox input {
  flex: 1;
  min-height: 40px;
  padding: 8px 14px;
  font-size: 15px;
  border-radius: 99px
}

.scorebox {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--soft);
  border-radius: 18px;
  padding: 18px 20px;
  margin-top: 16px
}

.scorenum {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums
}

.scorebox .stars {
  font-size: 15px;
  margin-top: 6px
}

.verdict {
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink2);
  flex: 1
}

.verdict .where {
  font-size: 13px
}

.tabs {
  display: inline-flex;
  gap: 2px;
  background: #e8e8ed;
  padding: 2px;
  border-radius: 10px;
  margin: 6px 0 14px;
  max-width: 100%
}

.tabs button {
  min-height: 30px;
  border-radius: 8px;
  font-size: 13px;
  background: transparent;
  padding: 5px 14px;
  color: var(--ink)
}

.tabs button.active {
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 1px 1px rgba(0, 0, 0, .04);
  font-weight: 600
}

.leader {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 2px;
  border-bottom: .5px solid var(--line)
}

.leader:last-child {
  border-bottom: 0
}

.rank {
  width: 28px;
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  color: var(--faint);
  font-variant-numeric: tabular-nums
}

.leader:nth-child(-n+3) .rank {
  color: var(--gold)
}

.bdgrow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px
}

.bdg {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--soft);
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600
}

.bdg .ic {
  font-size: 16px
}

.bdg.locked {
  color: #aeaeb2;
  font-weight: 500;
  background: transparent;
  border: 1px dashed #d2d2d7
}

.bdg.locked .ic {
  filter: grayscale(1);
  opacity: .5
}

.hours {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  font-size: 15px
}

.hours td {
  padding: 11px 2px;
  border-bottom: .5px solid var(--line)
}

.hours tr:last-child td {
  border-bottom: 0
}

.hours td:first-child {
  color: var(--muted);
  width: 120px
}

.hours tr.today td {
  font-weight: 600;
  color: var(--ink)
}

.hrow {
  display: grid;
  grid-template-columns: 90px 1fr 1fr 32px;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px
}

.hrow .dn {
  font-size: 14px;
  color: var(--muted)
}

.hrow input[type=time] {
  min-height: 42px;
  padding: 8px;
  font-size: 15px
}

.thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px
}

.thumb {
  position: relative
}

.thumb img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 12px
}

.thumb button {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 24px;
  height: 24px;
  min-height: 24px;
  padding: 0;
  background: var(--ink);
  color: #fff;
  font-size: 14px
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 400;
  padding: 20px;
  cursor: zoom-out;
  animation: fade .3s var(--ease)
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 14px;
  touch-action: pan-y;
  user-select: none;
  cursor: default
}

.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, .92);
  color: #111
}

.lb-nav:hover {
  background: #fff
}

.lb-prev {
  left: 14px
}

.lb-next {
  right: 14px
}

.lb-count {
  position: absolute;
  bottom: calc(18px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 14px;
  background: rgba(0, 0, 0, .45);
  padding: 5px 12px;
  border-radius: 99px
}

@media(max-width:760px) {
  .lb-nav {
    display: none
  }
}

@keyframes fade {
  from {
    opacity: 0
  }
}

.rate {
  padding: 16px 0;
  border-bottom: .5px solid var(--line)
}

.rate:last-child {
  border-bottom: 0
}

.rhead {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px
}

.rname {
  font-weight: 600;
  font-size: 16px
}

.rhint {
  color: var(--muted);
  font-size: 13.5px;
  margin-top: 1px;
  line-height: 1.4
}

.rval {
  font-weight: 700;
  font-size: 22px;
  min-width: 34px;
  text-align: right;
  font-variant-numeric: tabular-nums
}

input[type=range] {
  --p: 50%;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  height: 32px;
  margin: 8px 0 0;
  padding: 0;
  min-height: 0;
  border: 0
}

input[type=range]:focus {
  box-shadow: none;
  background: transparent
}

input[type=range]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(to right, var(--ink) var(--p), #e5e5ea var(--p))
}

input[type=range]::-moz-range-track {
  height: 4px;
  border-radius: 99px;
  background: #e5e5ea
}

input[type=range]::-moz-range-progress {
  height: 4px;
  border-radius: 99px;
  background: var(--ink)
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  margin-top: -12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .04), 0 3px 8px rgba(0, 0, 0, .15), 0 3px 1px rgba(0, 0, 0, .06);
  transition: transform .2s var(--spring)
}

input[type=range]:active::-webkit-slider-thumb {
  transform: scale(1.12)
}

input[type=range]::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .18)
}

/* review flow */
.flow {
  max-width: 640px;
  margin: 0 auto
}

.flow-head {
  position: sticky;
  top: calc(var(--nav-h) + env(safe-area-inset-top));
  z-index: 20;
  background: rgba(245, 245, 247, .86);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  margin: 0 -20px;
  padding: 10px 20px 0
}

.flow-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px
}

.flow-count {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted)
}

.flow-top .btn-ghost {
  min-height: 34px
}

.progress {
  height: 3px;
  background: #e5e5ea;
  border-radius: 99px;
  overflow: hidden;
  margin: 6px 0 0
}

.progress span {
  display: block;
  height: 100%;
  width: 33.33%;
  background: var(--ink);
  border-radius: 99px;
  transition: width .6s var(--spring)
}

.step {
  display: none;
  padding-top: 22px
}

.step.active {
  display: block
}

.step.in-r {
  animation: inR .55s var(--spring)
}

.step.in-l {
  animation: inL .55s var(--spring)
}

@keyframes inR {
  from {
    opacity: 0;
    transform: translateX(28px)
  }
}

@keyframes inL {
  from {
    opacity: 0;
    transform: translateX(-28px)
  }
}

.step-title {
  font-size: 34px;
  line-height: 1.08;
  margin: 0 0 6px
}

.group {
  background: var(--card);
  border-radius: var(--r);
  padding: 4px 18px 18px;
  margin: 14px 0;
  box-shadow: var(--shadow)
}

.group>label:first-child {
  margin-top: 16px
}

#pickmap {
  height: 240px;
  border-radius: 14px;
  overflow: hidden;
  margin-top: 12px
}

#pin-status {
  font-size: 12px
}

.summary {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card);
  border-radius: var(--r);
  padding: 16px 18px;
  margin: 14px 0;
  box-shadow: var(--shadow)
}

.summary .s-n {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -.04em
}

.summary .place {
  font-size: 17px
}

.anon-row {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500
}

.switch {
  position: relative;
  width: 51px;
  height: 31px;
  flex: none;
  margin-left: auto
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute
}

.switch span {
  position: absolute;
  inset: 0;
  border-radius: 99px;
  background: #e9e9eb;
  transition: background .25s
}

.switch span::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .15);
  transition: transform .35s var(--spring)
}

.switch input:checked+span {
  background: #34c759
}

.switch input:checked+span::after {
  transform: translateX(20px)
}

.flow-foot {
  position: sticky;
  bottom: 0;
  z-index: 20;
  margin: 24px -20px 0;
  padding: 12px 20px calc(14px + env(safe-area-inset-bottom));
  background: rgba(245, 245, 247, .86);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: .5px solid var(--hair)
}

.flow-foot .btn-lg {
  max-width: 640px;
  margin: 0 auto;
  display: flex
}

body.in-flow .tabbar {
  transform: translateY(110%)
}

body.in-flow footer {
  display: none
}

/* sheets */
.sheet-bg {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .32);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--ease)
}

.sheet-bg.open {
  opacity: 1;
  pointer-events: auto
}

.sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 91;
  margin: 0 auto;
  max-width: 560px;
  max-height: 88vh;
  overflow: auto;
  background: var(--bg);
  border-radius: 14px 14px 0 0;
  padding: 6px 16px calc(20px + env(safe-area-inset-bottom));
  transform: translateY(105%);
  visibility: hidden;
  transition: transform .5s var(--spring), visibility .5s
}

.sheet.open {
  transform: none;
  visibility: visible
}

.grab {
  width: 36px;
  height: 5px;
  border-radius: 9px;
  background: #c7c7cc;
  margin: 4px auto 10px
}

.sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 2px 2px 4px
}

.sheet-head h3 {
  margin: 0;
  font-size: 20px
}

.sheet .grp {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  margin: 8px 0 14px
}

.sheet .grp button {
  width: 100%;
  justify-content: space-between;
  background: #fff;
  border-radius: 0;
  padding: 14px 16px;
  font-size: 17px;
  font-weight: 400;
  min-height: 50px;
  border-bottom: .5px solid var(--line)
}

.sheet .grp button:last-child {
  border-bottom: 0
}

.sheet .grp button::after {
  content: "\203A";
  color: #c7c7cc;
  font-size: 24px;
  line-height: 1;
  font-weight: 300
}

.sheet .grp button:active {
  background: #e5e5ea;
  transform: none
}

#sheet-user button {
  width: 100%;
  min-height: 50px;
  font-size: 17px;
  background: #fff;
  border-radius: 12px;
  color: var(--bad);
  font-weight: 400
}

#sheet-user button.in {
  background: var(--ink);
  color: #fff;
  font-weight: 500
}

.sheet .panel {
  background: #fff;
  border-radius: 12px;
  padding: 2px 16px 16px;
  margin: 8px 0
}

#place-bg {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .32);
  z-index: 78;
  animation: fade .4s var(--ease)
}

#place-bg.closing {
  opacity: 0;
  transition: opacity .3s
}

#view-place {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: calc(10px + env(safe-area-inset-top));
  z-index: 79;
  margin: 0 auto;
  max-width: 760px;
  background: var(--bg);
  border-radius: 14px 14px 0 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 0 16px calc(40px + env(safe-area-inset-bottom));
  animation: sheetUp .6s var(--spring);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, .18)
}

#view-place.closing {
  transform: translateY(105%);
  transition: transform .35s var(--ease)
}

@keyframes sheetUp {
  from {
    transform: translateY(100%)
  }
}

.psheet-top {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 -16px;
  padding: 6px 16px 4px;
  background: rgba(245, 245, 247, .9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  touch-action: none
}

.psheet-top .close {
  position: absolute;
  right: 12px;
  top: 8px;
  width: 30px;
  height: 30px;
  min-height: 30px;
  padding: 0;
  border-radius: 50%;
  background: #e3e3e8;
  color: var(--muted);
  font-size: 17px
}

body.place-open {
  overflow: hidden
}

#placehead h2 {
  font-size: 30px;
  margin: 6px 0 2px
}

#placemap {
  height: 200px !important;
  border: 0 !important;
  border-radius: 14px !important
}

/* tab bar */
.tabbar {
  display: none
}

@media(max-width:760px) {
  :root {
    --tab-h: calc(58px + env(safe-area-inset-bottom))
  }

  .tabbar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 65;
    justify-content: space-around;
    align-items: flex-end;
    background: rgba(250, 250, 252, .86);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-top: .5px solid var(--hair);
    padding: 6px 4px calc(4px + env(safe-area-inset-bottom));
    transition: transform .45s var(--spring)
  }

  .tabbar button {
    flex: 1;
    flex-direction: column;
    gap: 2px;
    background: none;
    padding: 2px 0;
    min-height: 48px;
    font-size: 10px;
    font-weight: 500;
    color: #999;
    letter-spacing: 0;
    border-radius: 0
  }

  .tabbar button:active {
    transform: scale(.92)
  }

  .tabbar .ti {
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center
  }

  .tabbar .ic-svg {
    width: 25px;
    height: 25px
  }

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

  .tabbar button.active .ic-svg {
    stroke-width: 2.1
  }

  .tabbar .plus .ti {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    margin-top: -6px
  }

  .tabbar .plus .ic-svg {
    width: 22px;
    height: 22px
  }
}

/* misc */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--tab-h) + 30px);
  z-index: 500;
  background: rgba(29, 29, 31, .92);
  color: #fff;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 20px;
  border-radius: 99px;
  font-size: 15px;
  font-weight: 500;
  max-width: 90vw;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(12px) scale(.96);
  transition: opacity .35s, transform .5s var(--spring)
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1)
}

.done {
  position: fixed;
  inset: 0;
  z-index: 450;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s
}

.done.show {
  opacity: 1
}

.done .box {
  width: 170px;
  height: 170px;
  border-radius: 30px;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .18);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transform: scale(.8);
  transition: transform .6s var(--spring)
}

.done.show .box {
  transform: none
}

.done svg {
  width: 64px;
  height: 64px
}

.done circle {
  stroke: var(--ink);
  stroke-width: 2.5;
  fill: none;
  stroke-dasharray: 180;
  stroke-dashoffset: 180
}

.done path {
  stroke: var(--ink);
  stroke-width: 3.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 40;
  stroke-dashoffset: 40
}

.done.show circle {
  animation: draw .6s var(--ease) .1s forwards
}

.done.show path {
  animation: draw .4s var(--ease) .55s forwards
}

.done p {
  margin: 0;
  font-weight: 600
}

@keyframes draw {
  to {
    stroke-dashoffset: 0
  }
}

.skel {
  height: 120px;
  border-radius: var(--r);
  margin: 12px 0;
  background: linear-gradient(100deg, #ececf0 30%, #f6f6f8 50%, #ececf0 70%);
  background-size: 300% 100%;
  animation: shim 1.5s linear infinite
}

@keyframes shim {
  to {
    background-position: -150% 0
  }
}

.stagger>* {
  animation: rise .7s var(--spring) both
}

.stagger>*:nth-child(2) {
  animation-delay: .05s
}

.stagger>*:nth-child(3) {
  animation-delay: .1s
}

.stagger>*:nth-child(4) {
  animation-delay: .15s
}

.stagger>*:nth-child(n+5) {
  animation-delay: .2s
}

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

.view-enter {
  animation: rise .5s var(--spring)
}

::view-transition-old(root) {
  animation: vtOut .25s var(--ease) both
}

::view-transition-new(root) {
  animation: vtIn .45s var(--spring) both
}

@keyframes vtOut {
  to {
    opacity: 0
  }
}

@keyframes vtIn {
  from {
    opacity: 0;
    transform: translateY(10px)
  }
}

@supports (view-transition-name:none) {
  .view-enter {
    animation: none
  }
}

footer {
  text-align: center;
  color: var(--faint);
  font-size: 12px;
  line-height: 1.7;
  padding: 36px 20px calc(110px + env(safe-area-inset-bottom));
  border-top: .5px solid var(--line);
  margin-top: 20px
}

footer a {
  color: var(--ink2)
}

.rebbe {
  text-align: center
}

.rebbe .face {
  font-size: 54px;
  line-height: 1
}

.rebbe label {
  text-align: left
}

.psak {
  background: var(--soft);
  border-radius: 18px;
  padding: 20px;
  margin-top: 20px;
  text-align: left;
  font-size: 16px;
  line-height: 1.55;
  animation: rise .5s var(--spring)
}

.psak .lead {
  display: block;
  font-weight: 600;
  margin-bottom: 6px
}

.spin {
  display: inline-block;
  animation: sp 1s linear infinite
}

@keyframes sp {
  to {
    transform: rotate(360deg)
  }
}

.shabbos {
  position: fixed;
  inset: 0;
  z-index: 600;
  background: radial-gradient(1000px 600px at 50% 110%, #3a220e 0%, #0b0a10 60%, #000 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 26px;
  color: #f5f5f7
}

.shabbos h1 {
  font-size: clamp(40px, 8vw, 64px);
  margin: 8px 0;
  color: #ffe2b8
}

.shabbos p {
  color: #a1a1a6;
  max-width: 480px;
  font-size: 17px;
  line-height: 1.55
}

.shabbos .btn-ghost {
  color: #ffd9a0
}

.candles {
  font-size: 54px;
  letter-spacing: 12px;
  animation: flick 3.4s ease-in-out infinite
}

@keyframes flick {
  50% {
    opacity: .82
  }
}

.stars-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(1px 1px at 20% 30%, #fff, transparent), radial-gradient(1px 1px at 70% 20%, #fff, transparent), radial-gradient(1px 1px at 40% 70%, #fff, transparent), radial-gradient(1px 1px at 85% 60%, #fff, transparent);
  opacity: .45
}

/* about */
.about-hero {
  text-align: center;
  padding: 80px 6px 10px
}

.about-hero h1 {
  font-size: clamp(42px, 8vw, 80px);
  line-height: 1.03;
  letter-spacing: -.04em;
  margin: 0
}

.about-hero h1 span {
  display: block
}

.about-hero h1 em {
  font-style: normal;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.about-hero p {
  color: var(--muted);
  font-size: clamp(17px, 2.2vw, 21px);
  max-width: 620px;
  margin: 18px auto 0;
  line-height: 1.42
}

.founders {
  position: relative;
  max-width: 760px;
  margin: 34px auto 0
}

.founders img {
  width: 100%;
  display: block;
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .18);
  transform: translateY(var(--py, 0px));
  will-change: transform
}

.founders-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 22px
}

.founders-meta span {
  border-radius: 99px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .08)
}

.founders-meta .sticker {
  background: #fff;
  color: var(--ink)
}

.founders-meta .sticker2 {
  background: var(--ink);
  color: #fff
}

.founders-meta+.caption {
  margin-top: 10px
}

.caption {
  text-align: center;
  color: var(--faint);
  font-size: 13px;
  margin-top: 16px
}

.lit-wrap {
  max-width: 860px;
  margin: 90px auto 30px
}

.lit {
  font-size: clamp(28px, 4.4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.035em;
  margin: 0
}

.lit .w {
  color: #d2d2d7;
  transition: color .5s
}

.lit .w.on {
  color: var(--ink)
}

.lit .w.hl.on {
  color: var(--gold)
}

.chapter {
  max-width: 660px;
  margin: 0 auto;
  padding: 52px 0 0
}

.chapter .num {
  font-size: 14px;
  font-weight: 600;
  color: var(--gold)
}

.chapter h2 {
  font-size: clamp(30px, 4.6vw, 44px);
  line-height: 1.08;
  margin: 6px 0 14px
}

.chapter p {
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.6;
  color: var(--ink2);
  margin: 0 0 14px
}

.chapter p b {
  color: var(--ink)
}

.bigquote {
  background: #000;
  color: #f5f5f7;
  border-radius: 28px;
  padding: clamp(48px, 8vw, 90px) 28px;
  margin: 60px 0;
  text-align: center
}

.bigquote q {
  display: block;
  font-size: clamp(32px, 5.6vw, 60px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.04em;
  quotes: "\201C" "\201D"
}

.bigquote .by {
  margin-top: 16px;
  color: #86868b;
  font-size: 15px
}

.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 40px 0
}

.tile {
  background: #fff;
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow: var(--shadow)
}

.tile .ic {
  font-size: 30px;
  line-height: 1
}

.tile h3 {
  font-size: 21px;
  margin: 14px 0 6px
}

.tile p {
  color: var(--muted);
  margin: 0;
  font-size: 16px;
  line-height: 1.5
}

.livestats {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 7vw, 80px);
  flex-wrap: wrap;
  margin: 50px 0;
  text-align: center
}

.livestats .n {
  font-size: clamp(46px, 7vw, 64px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums
}

.livestats .l {
  color: var(--muted);
  font-size: 14px;
  margin-top: 6px
}

.cta-band {
  text-align: center;
  padding: 56px 22px;
  background: #fff;
  border-radius: 28px;
  margin: 40px 0 10px;
  box-shadow: var(--shadow)
}

.cta-band h2 {
  font-size: clamp(30px, 5vw, 44px);
  margin: 0 0 8px
}

.cta-band p {
  color: var(--muted);
  font-size: 17px;
  margin: 0 0 22px
}

.cta-band .hero-cta {
  justify-content: center
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--ease), transform 1.1s var(--spring)
}

.reveal.in {
  opacity: 1;
  transform: none
}

.reveal.d1 {
  transition-delay: .08s
}

.reveal.d2 {
  transition-delay: .16s
}
