/* ---------- restaurant reviews (rendered by reviews.js) ---------- */
#reviews{ position:relative; z-index:1; }
.rv-wrap{ padding:4px 14px 40px; max-width:1060px; margin:0 auto; }
.rv-title{
  margin:22px 0 14px; text-align:center; font-weight:400;
  font:400 clamp(1.9rem, 8vw, 2.9rem)/1.2 'Nothing You Could Do', cursive; color:#8c4553;
}
.rv-title::after{
  content:""; display:block; width:min(260px, 60%); height:0; margin:8px auto 0;
  border-top:2.5px dashed #c59aa0;
}
.rv-empty{ text-align:center; font:1.5rem 'Nothing You Could Do', cursive; color:var(--ink-soft); margin:40px 0; }

/* chalkboard leaderboard */
.rv-board{
  position:relative; margin:18px auto 34px; max-width:780px;
  padding:18px 16px 14px;
  color:#f4efe4;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(255,255,255,.08), transparent 60%),
    radial-gradient(ellipse at 80% 90%, rgba(255,255,255,.05), transparent 55%),
    #2e3a33;
  border:11px solid #9a6b42;
  border-radius:10px;
  box-shadow:inset 0 0 0 2px rgba(0,0,0,.25), inset 0 0 40px rgba(0,0,0,.35), 0 18px 28px -12px rgba(70,35,20,.6);
  container-type:inline-size;
}
.rv-board-title{
  margin:0 0 10px; text-align:center; font:400 2rem 'Caveat', cursive; letter-spacing:.04em; color:#fbe9a6;
}
.rv-board ol{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:6px; }
.rv-row{
  display:grid; grid-template-columns:34px 44px minmax(0,1fr) auto; grid-template-areas:"rk th nm sc" "rk th cm sc" "rk th bar sc";
  column-gap:10px; row-gap:3px; align-items:center;
  padding:6px 8px; border-radius:8px; cursor:pointer; outline:none;
  border-bottom:1px dashed rgba(244,239,228,.22);
}
.rv-row:hover, .rv-row:focus-visible{ background:rgba(255,255,255,.08); }
.rk-n{
  grid-area:rk; width:30px; height:30px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  font:400 1.25rem 'Caveat', cursive; color:#2e3a33; background:#e9e1cf;
}
.rk1 .rk-n{ background:#f2c94c; box-shadow:0 0 0 3px rgba(242,201,76,.3); }
.rk2 .rk-n{ background:#cfd6de; }
.rk3 .rk-n{ background:#d49a68; }
.rv-th{ grid-area:th; width:44px; height:44px; border-radius:50%; overflow:hidden; position:relative; background:#3d4a42; border:2px solid rgba(244,239,228,.7); }
.rv-th img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.rv-th svg{ width:70%; height:70%; margin:15%; color:rgba(244,239,228,.7); display:block; }
.rv-nm{ grid-area:nm; font:400 1.35rem/1.1 'Caveat', cursive; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.rv-bar{ grid-area:bar; height:7px; border-radius:4px; background:rgba(255,255,255,.14); overflow:hidden; }
.rv-bar i{ display:block; height:100%; border-radius:4px; background:linear-gradient(90deg, #f6b8c6, #fbe9a6); }
.rv-cm{ grid-area:cm; font:400 1.05rem/1.15 'Caveat', cursive; color:rgba(244,239,228,.78); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.rv-cm:empty{ display:none; }
.rv-cols{ display:none; }
@container (min-width:600px){
  .rv-cols{ display:grid; grid-template-columns:34px 44px minmax(0,1.1fr) minmax(0,1.5fr) 60px; column-gap:10px; padding:0 8px 4px; font:.72rem 'Special Elite', monospace; letter-spacing:.14em; text-transform:uppercase; color:rgba(244,239,228,.55); border-bottom:1px solid rgba(244,239,228,.35); margin-bottom:6px; }
  .rv-cols span:last-child{ text-align:right; }
  .rv-row{ grid-template-columns:34px 44px minmax(0,1.1fr) minmax(0,1.5fr) 60px; grid-template-areas:"rk th nm cm sc" "rk th bar cm sc"; }
  .rv-cm{ white-space:normal; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; font-size:1.15rem; align-self:center; }
}
.rv-sc{ grid-area:sc; font:400 1.9rem 'Caveat', cursive; color:#fbe9a6; min-width:2.4ch; text-align:right; }
.rk1 .rv-nm{ font-size:1.55rem; }

/* review cards */
.rv-cards{ display:grid; grid-template-columns:minmax(0, 1fr); gap:34px; justify-items:center; padding:6px 0 10px; }
@media (min-width:640px){ .rv-cards{ grid-template-columns:repeat(2, minmax(0, 1fr)); gap:40px 30px; } }
@media (min-width:1000px){ .rv-cards{ grid-template-columns:repeat(3, minmax(0, 1fr)); } }

.rv-item{
  position:relative; width:100%; max-width:360px; container-type:inline-size;
  transform:rotate(var(--rot, 0deg));
  transition:transform .28s cubic-bezier(.34, 1.56, .64, 1);
  filter:drop-shadow(0 1.4cqw 1.8cqw rgba(60,30,20,.38));
}
.rv-item:hover{ transform:rotate(0deg) translateY(-4px); }
.rv-item.flash{ animation:rvFlash 1.6s ease; }
@keyframes rvFlash{ 0%,100%{ filter:drop-shadow(0 1.4cqw 1.8cqw rgba(60,30,20,.38)); } 30%{ filter:drop-shadow(0 0 3cqw #f0679a) drop-shadow(0 0 1cqw #f0679a); } }
.rv-item .tp{ z-index:4; }

.rv-card{
  position:relative; background:#fffdf8; padding:5.5cqw 5.5cqw 9cqw;
  clip-path:polygon(0 0, 100% 0, 100% calc(100% - 3.4cqw), 96% 100%, 92% calc(100% - 3.4cqw), 88% 100%, 84% calc(100% - 3.4cqw), 80% 100%, 76% calc(100% - 3.4cqw), 72% 100%, 68% calc(100% - 3.4cqw), 64% 100%, 60% calc(100% - 3.4cqw), 56% 100%, 52% calc(100% - 3.4cqw), 48% 100%, 44% calc(100% - 3.4cqw), 40% 100%, 36% calc(100% - 3.4cqw), 32% 100%, 28% calc(100% - 3.4cqw), 24% 100%, 20% calc(100% - 3.4cqw), 16% 100%, 12% calc(100% - 3.4cqw), 8% 100%, 4% calc(100% - 3.4cqw), 0 100%);
}
.rv-photo-wrap{ position:relative; }
.rv-photo{ position:relative; aspect-ratio:4/3; overflow:hidden; background:#e8dccb; }
.rv-photo img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; transition:opacity .5s ease; }
.rv-photo img[src]{ opacity:1; }
.rv-photo.nophoto, .rv-th.nophoto{ display:flex; align-items:center; justify-content:center; }
.rv-photo.nophoto{ background:repeating-linear-gradient(45deg, #efe3d0 0 8px, #f6ecdc 8px 16px); color:#b79d86; }
.rv-photo.nophoto svg{ width:30%; display:block; }
.rv-item .ph, .rv-th .ph{
  position:absolute; inset:0;
  background:linear-gradient(110deg, #eadfce 30%, #f6eee1 50%, #eadfce 70%) 0 0/220% 100%;
  animation:sbShimmer 1.7s linear infinite;
}
.rv-th .ph{ background:linear-gradient(110deg, #3a463f 30%, #4b5950 50%, #3a463f 70%) 0 0/220% 100%; }

.rv-stamp{
  position:absolute; right:-3cqw; bottom:-8cqw; width:23cqw; height:23cqw; border-radius:50%;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  background:radial-gradient(circle at 35% 30%, #ffc3d1, #f0679a 70%);
  color:#fff; transform:rotate(-9deg);
  box-shadow:0 0 0 1.2cqw rgba(255,255,255,.9), 0 1cqw 2cqw rgba(120,30,60,.4);
}
.rv-stamp small{ font:3cqw 'Special Elite', monospace; letter-spacing:.14em; text-transform:uppercase; opacity:.92; }
.rv-stamp b{ font:400 10.5cqw/1 'Caveat', cursive; }

.rv-name{ margin:11cqw 0 4cqw; font:400 9.5cqw/1.05 'Caveat', cursive; color:#3b2a22; padding-right:20cqw; overflow-wrap:anywhere; }
.rv-rates{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:2.4cqw; }
.rv-rates li{ display:grid; grid-template-columns:31cqw minmax(0, 1fr) 8cqw; gap:2.4cqw; align-items:center; font:4.1cqw/1 'Special Elite', monospace; color:#4b3a30; }
.rv-rates .rb{ height:2.6cqw; background:#efe6d6; border-radius:2cqw; overflow:hidden; }
.rv-rates .rb i{ display:block; height:100%; background:linear-gradient(90deg, #f6b8c6, #ee7a9f); border-radius:2cqw; }
.rv-rates b{ text-align:right; font-weight:400; color:#8c4553; }
.rv-place{ margin:5cqw 0 0; padding-top:3.4cqw; border-top:.5cqw dashed #cdb9a0; font:5.4cqw 'Nothing You Could Do', cursive; color:#8a6a6a; text-align:center; }

.rv-edit{
  position:absolute; right:3cqw; top:3cqw; z-index:5; width:11cqw; height:11cqw; min-width:34px; min-height:34px; border-radius:50%; border:0; cursor:pointer;
  background:#ead3bb; color:#35201f; display:flex; align-items:center; justify-content:center;
  box-shadow:0 .6cqw 1.4cqw rgba(60,30,20,.35);
}
.rv-edit svg{ width:55%; height:55%; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }

/* add / edit form */
.rv-photo-row{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
#rvPreview{ width:84px; height:64px; object-fit:cover; border:3px solid #fffdf8; box-shadow:0 2px 6px rgba(60,30,20,.35); transform:rotate(-2deg); }
#rvPreview[hidden]{ display:none; }
.rv-slider{ display:grid; grid-template-columns:1fr auto; gap:2px 10px; align-items:center; }
.rv-slider label{ font-size:.85rem; letter-spacing:.06em; text-transform:uppercase; }
.rv-slider output{ font:400 1.5rem 'Caveat', cursive; color:#8c4553; min-width:2.6ch; text-align:right; }
.rv-slider input[type=range]{ grid-column:1 / -1; width:100%; accent-color:#ee7a9f; height:30px; margin:0; }
.rv-live{ display:flex; justify-content:space-between; align-items:baseline; padding:8px 12px; background:#f3e6d3; border-radius:10px; }
.rv-live b{ font:400 2rem 'Caveat', cursive; color:#c0485d; }

.rv-comments{ margin-top:5cqw; padding:3.4cqw 4cqw; background:#fbf1d8; transform:rotate(-.6deg); box-shadow:0 .5cqw 1.2cqw rgba(60,30,20,.2); }
.rv-comments small{ display:block; font:3cqw 'Special Elite', monospace; letter-spacing:.14em; text-transform:uppercase; color:#9a8268; margin-bottom:1cqw; }
.rv-comments p{ margin:0; font:6cqw/1.15 'Caveat', cursive; color:#3b2a22; white-space:pre-wrap; overflow-wrap:anywhere; }
