/* "🏮 הדוכן בשוק" (public/js/stall.js + bazaar.js) — the floating stall button on a shop page and the 3D stall window. */
.bz-fab {
  position: fixed; z-index: 60; right: 14px; bottom: calc(18px + var(--bottom-nav, 0px) + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; align-items: center; padding: 6px 8px 4px; border: 0; border-radius: 14px; cursor: pointer;
  background: radial-gradient(circle at 50% 30%, #4a2338, #24101b); color: #fff4d6;
  box-shadow: 0 0 0 2px #e0b450, 0 6px 18px rgba(0, 0, 0, .4), 0 0 22px rgba(255, 190, 90, .35);
  font: 700 12px Rubik, sans-serif; transition: transform .25s;
}
.bz-fab svg { width: 54px; height: 54px; display: block; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .5)); }
/* "שוק 3D" in a little square — the home page's market button (owner, 2026-11-02) */
.bz-fab .bz-3d { padding: 0 5px; border: 1.5px solid #e0b450; border-radius: 3px; line-height: 1.3; }
.bz-fab .bz-fl { margin-top: 1px; white-space: nowrap; }
.bz-fab .bz-lv { position: absolute; top: -8px; left: -8px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: #e0b450; font-size: 14px; box-shadow: 0 2px 5px rgba(0, 0, 0, .35); }
.bz-fab:hover, .bz-fab:focus-visible { transform: translateY(-3px) scale(1.05); }
.bz-fab:focus-visible { outline: 3px solid var(--focus, #b8336a); outline-offset: 4px; }
.bz-fab::after { content: ''; position: absolute; inset: -4px; border-radius: 17px; box-shadow: 0 0 0 2px rgba(224, 180, 80, .7); animation: bzRing 2.8s ease-out infinite; pointer-events: none; }
@keyframes bzRing { 0% { opacity: .9; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.25); } }
@media (max-width: 600px) { .bz-fab svg { width: 44px; height: 44px; } .bz-fab { font-size: 11px; } }

html.bz-lock, html.bz-lock body { overflow: hidden; }
.bz-back {
  position: fixed; inset: 0; z-index: 1000; background: #12090f; color: #fff4d6;
  animation: bzIn .35s ease-out; overscroll-behavior: contain;
}
.bz-back.out { opacity: 0; transition: opacity .3s; }
@keyframes bzIn { from { opacity: 0; } }
.bz-stage { position: absolute; inset: 0; outline: none; }
.bz-stage:focus-visible { box-shadow: inset 0 0 0 3px #e0b450; }
.bz-canvas { display: block; width: 100%; height: 100%; cursor: grab; }
.bz-canvas:active { cursor: grabbing; }

.bz-top {
  position: absolute; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: calc(10px + env(safe-area-inset-top)) 14px 22px; pointer-events: none;
  background: linear-gradient(180deg, rgba(18, 9, 15, .75), rgba(18, 9, 15, 0));
}
.bz-top > * { pointer-events: auto; }
.bz-title { margin: 0; font: 400 clamp(18px, 3vw, 26px) 'Secular One', Rubik, sans-serif; color: #ffe6a8; text-shadow: 0 2px 8px rgba(0, 0, 0, .6); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bz-title small { font: 600 14px Rubik, sans-serif; color: #fff4d6; }
.bz-ic {
  min-width: 44px; height: 44px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 1px solid rgba(224, 180, 80, .7); border-radius: 4px; background: rgba(36, 16, 27, .78); color: #fff4d6; font: 600 18px Rubik, sans-serif; cursor: pointer;
  backdrop-filter: blur(6px);
}
.bz-ic .bz-w { font-size: 14px; }
.bz-ic:hover { background: rgba(94, 22, 54, .9); }
.bz-ic:focus-visible, .bz-skip:focus-visible { outline: 3px solid #ffd36e; outline-offset: 2px; }
@media (max-width: 600px) { .bz-ic .bz-w { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .bz-title small { display: block; font-size: 12px; } }

.bz-skip {
  position: absolute; bottom: calc(22px + env(safe-area-inset-bottom)); inset-inline-start: 18px; padding: 10px 16px; border: 1px solid rgba(255, 244, 214, .6); border-radius: 4px;
  background: rgba(18, 9, 15, .55); color: #fff4d6; font: 600 15px Rubik, sans-serif; cursor: pointer;
}
.bz-hint {
  position: absolute; bottom: calc(22px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); margin: 0; max-width: calc(100% - 32px);
  padding: 10px 16px; border-radius: 6px; background: rgba(18, 9, 15, .72); color: #fff4d6; font: 500 15px Rubik, sans-serif; text-align: center; pointer-events: none;
  animation: bzHint .6s ease-out;
}
@keyframes bzHint { from { opacity: 0; transform: translate(-50%, 10px); } }
.bz-veil {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; color: #ffe6a8;
  background: radial-gradient(ellipse at 50% 40%, #3a1a24 0%, #12090f 70%);
  font: 400 22px 'Secular One', Rubik, sans-serif; transition: opacity 1.2s; text-align: center; padding: 16px;
}
/* while loading the veil takes the taps (a tap must not skip the film before it starts) */
.bz-veil.gone { opacity: 0; pointer-events: none; }
.bz-lantern { font-size: 64px; line-height: 1; filter: drop-shadow(0 0 18px rgba(255, 170, 60, .7)); animation: bzSway 2.4s ease-in-out infinite; transform-origin: 50% 0; }
@keyframes bzSway { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
.bz-lhead { font-size: clamp(20px, 4.6vw, 28px); }
/* the day of the week + its market (owner, 2026-11-06) */
.bz-lday { font: 400 clamp(26px, 6vw, 38px) 'Secular One', Rubik, sans-serif; color: #ffe08a; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); text-align: center; }
.bz-lprog { width: min(320px, 72vw); height: 8px; border-radius: 6px; background: rgba(224, 180, 80, .2); overflow: hidden; }
.bz-lbar { display: block; height: 100%; width: 4%; border-radius: 6px; background: linear-gradient(90deg, #e0b450, #ffe6a8); transition: width .3s linear; }
.bz-lpct { font: 700 22px Rubik, sans-serif; color: #ffe6a8; font-variant-numeric: tabular-nums; direction: ltr; min-width: 4ch; }
.bz-ltxt { font: 500 15px Rubik, sans-serif; color: #f3d9a6; min-height: 1.4em; }
.bz-spin { width: 46px; height: 46px; border-radius: 50%; border: 4px solid rgba(224, 180, 80, .25); border-top-color: #e0b450; animation: bzSpin 1s linear infinite; }
@keyframes bzSpin { to { transform: rotate(360deg); } }
.bz-nogl { position: absolute; top: 40%; left: 16px; right: 16px; text-align: center; font: 500 17px Rubik, sans-serif; }

.bz-card {
  position: absolute; bottom: calc(18px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: min(800px, calc(100% - 24px));
  display: flex; align-items: flex-end; justify-content: center; gap: 12px; pointer-events: none; animation: bzCard .35s ease-out;
}
.bz-card > * { pointer-events: auto; }
.bz-cmain {
  display: flex; gap: 14px; padding: 12px; border-radius: 10px; background: #fbf3df; color: #2a1a10; width: min(460px, 100%); flex: 0 1 460px; min-width: 0;
  box-shadow: 0 0 0 2px #e0b450, 0 14px 40px rgba(0, 0, 0, .55);
}
/* the item's description — old handwriting on a small parchment beside the card (RTL: on the
   picture's side, never over it); above the card on a phone (owner, 2026-11-02) */
.bz-note {
  flex: 0 1 300px; min-width: 0; padding: 26px 30px 24px; color: #1a0f06;
  background: url(/img/parchment.webp) center / 100% 100% no-repeat;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .5)); transform: rotate(-1.2deg);
}
.bz-nscroll {
  max-height: 210px; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y;
  scrollbar-width: thin; scrollbar-color: rgba(60, 30, 8, .45) transparent;
  font-family: 'Gveret Levin', 'Frank Ruhl Libre', serif; text-align: right;
}
.bz-nscroll:focus-visible { outline: 3px solid #5a2a0b; outline-offset: 3px; border-radius: 4px; }
.bz-nscroll p { margin: 0 0 8px; font-size: 21px; line-height: 1.45; color: #1a0f06; overflow-wrap: anywhere; text-shadow: 0 0 .6px rgba(26, 15, 6, .55); }
.bz-nscroll .bz-nh { text-align: center; font-size: 17px; color: #4a250b; margin-bottom: 4px; }
.bz-note.plain .bz-nscroll, html.a11y-font .bz-nscroll { font-family: Rubik, Arial, sans-serif; }
.bz-note.plain .bz-nscroll p { font-size: 15px; line-height: 1.6; text-shadow: none; }
@media (max-width: 820px) {
  .bz-card { flex-direction: column; align-items: center; width: min(460px, calc(100% - 20px)); bottom: calc(10px + env(safe-area-inset-bottom)); }
  .bz-cmain { flex-basis: auto; width: 100%; }
  .bz-note { flex: none; width: min(340px, 92%); padding: 18px 24px 16px; transform: rotate(-.8deg); }
  .bz-nscroll { max-height: 22vh; }
  .bz-nscroll p { font-size: 19px; }
}
@keyframes bzCard { from { opacity: 0; transform: translate(-50%, 20px) scale(.96); } }
.bz-cimg { width: 104px; height: 104px; object-fit: cover; border-radius: 6px; flex: none; background: #eee3cc; }
.bz-note { cursor: pointer; }
.bz-note[hidden] { display: none; }
.bz-cpic { flex: none; padding: 0; border: 0; background: none; border-radius: 6px; cursor: pointer; line-height: 0; position: relative; align-self: flex-start; }
.bz-cpic .bz-cimg { display: block; }
.bz-cpic:focus-visible { outline: 3px solid #5a2a0b; outline-offset: 3px; }
.bz-cpic.off::after { content: '📜'; position: absolute; top: 4px; left: 4px; font-size: 18px; line-height: 1; padding: 3px; border-radius: 50%; background: rgba(251, 243, 223, .9); }
.bz-cb { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.bz-cb h3 { margin: 0; font: 400 19px 'Secular One', Rubik, sans-serif; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.bz-price { margin: 0; font: 700 18px Rubik, sans-serif; color: #7a2348; }
.bz-sold { color: #b0222e; }
.bz-crow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }

.bz-list {
  position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: min(400px, 100%); overflow: auto; padding: calc(12px + env(safe-area-inset-top)) 14px 20px;
  background: #fbf3df; color: #2a1a10; box-shadow: 0 0 40px rgba(0, 0, 0, .5); animation: bzList .3s ease-out;
}
@keyframes bzList { from { transform: translateX(-30px); opacity: 0; } }
.bz-lh { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bz-lh h3 { margin: 0; font: 400 20px 'Secular One', Rubik, sans-serif; }
.bz-lh .bz-ic { background: #2a1a10; }
.bz-list ul { list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 10px; }
.bz-list li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding-bottom: 10px; border-bottom: 1px solid #e5d6b8; }
.bz-list li img { width: 56px; height: 56px; object-fit: cover; border-radius: 4px; }
.bz-list li a { display: block; color: #5e1636; font-weight: 600; overflow-wrap: anywhere; }
.bz-list .muted { color: #6a5440; font-size: 14px; }
.bz-list .btn.ghost { color: #5e1636; }
.hide.bz-hint, .hide.bz-card, .hide.bz-list, .hide.bz-skip { display: none; }

@media (prefers-reduced-motion: reduce) {
  .bz-fab::after, .bz-back, .bz-card, .bz-list, .bz-hint, .bz-spin, .bz-lantern { animation: none; }
}
html.a11y-still .bz-fab::after, html.a11y-still .bz-lantern { animation: none; }

/* ---- seller → "🏮 הדוכן שלי" (public/js/seller-stall.js) ---- */
.stl-head .stl-lv { display: flex; align-items: center; gap: 14px; }
.stl-head .stl-em { font-size: 52px; line-height: 1; }
.stl-head h2 { margin: 0; }
.stl-head p { margin: 4px 0; }
.stl-prog { margin: 12px 0 6px; }
.stl-prog p { margin: 6px 0 0; font-weight: 600; }
.stl-bar { height: 14px; border-radius: 7px; background: var(--bg-2, #f3e7ec); box-shadow: inset 0 0 0 1px var(--field-border, #b88a9d); overflow: hidden; }
.stl-bar span { display: block; height: 100%; min-width: 6px; border-radius: 7px; background: linear-gradient(90deg, #e0b450, #b8336a); }
.stl-top { font-weight: 700; }
.stl-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.stl-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; align-items: start; margin-top: 16px; }
.stl-prev { position: sticky; top: calc(var(--barh, 60px) + 70px); }
.stl-prev h3, .stl-design h3 { margin: 0 0 10px; }
.stl-stage { position: relative; height: clamp(300px, 52vh, 520px); border-radius: 8px; overflow: hidden; background: #24101b; outline: none; }
.stl-stage:focus-visible { box-shadow: 0 0 0 3px var(--focus, #b8336a); }
.stl-stage > p { color: #fff4d6; padding: 20px; }
.stl-grp { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
.stl-grp legend { font-weight: 700; margin-bottom: 6px; padding: 0; }
.stl-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.stl-chips .chip[disabled] { opacity: .55; cursor: not-allowed; }
.stl-grp .small { margin: 4px 0 0; }
/* the soundtracks: a chip to choose + ▶ to listen (also the locked ones) */
.stl-tunes { display: grid; gap: 6px; margin-top: 6px; }
.stl-tune { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.stl-tune .chip { flex: 0 1 auto; min-width: 0; }
.stl-tune .chip[disabled] { opacity: .55; cursor: not-allowed; }
.stl-ear { min-width: 44px; min-height: 40px; border: 1px solid var(--field-border); background: var(--card, #fff); color: var(--text); border-radius: 4px; cursor: pointer; font-size: 16px; }
.stl-ear[aria-pressed="true"] { background: var(--primary); color: #fff; border-color: var(--primary); }
.stl-sky { margin-top: 8px; }
.stl-save { margin-top: 10px; }
.stl-ladder { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.stl-ladder li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 6px; background: var(--bg-2, #faf2f5); }
.stl-ladder li.now { box-shadow: 0 0 0 2px var(--primary, #b8336a); }
.stl-ladder li.next { opacity: .78; }
.stl-ladder .stl-le { font-size: 26px; text-align: center; }
.stl-ladder p { margin: 2px 0 0; }
@media (max-width: 860px) { .stl-grid { grid-template-columns: minmax(0, 1fr); } .stl-prev { position: static; } .stl-stage { height: 320px; } }

.stl-up { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; background: rgba(18, 9, 15, .7); }
.stl-upc {
  width: min(420px, 100%); text-align: center; padding: 26px 20px 20px; border-radius: 14px; background: #fbf3df; color: #2a1a10;
  box-shadow: 0 0 0 3px #e0b450, 0 20px 60px rgba(0, 0, 0, .5); animation: stlUp .6s cubic-bezier(.2, 1.4, .4, 1);
}
.stl-upc h2 { margin: 6px 0 0; font: 400 26px 'Secular One', Rubik, sans-serif; color: #7a2348; }
.stl-upn { margin: 4px 0 8px; font: 400 22px 'Secular One', Rubik, sans-serif; }
.stl-upc .muted { color: #6a5440; }
.stl-upc .stl-acts { justify-content: center; }
.stl-upe { font-size: 74px; line-height: 1; animation: stlBounce 1.4s ease-in-out infinite; }
@keyframes stlUp { from { opacity: 0; transform: scale(.7); } }
@keyframes stlBounce { 50% { transform: translateY(-8px) rotate(-5deg); } }
@media (prefers-reduced-motion: reduce) { .stl-upc, .stl-upe { animation: none; } }
html.a11y-still .stl-upc, html.a11y-still .stl-upe { animation: none; }
.stl-acts .btn { white-space: normal; max-width: 100%; }

/* In the header on the right, the mirror of the 🎈 auction balloon on the left (same size, same height as the logo). */
.bz-fab.inhead { position: absolute; z-index: 6; right: 14px; bottom: auto; top: 20px; width: 128px; padding: 12px 8px 10px; border-radius: 18px; font-size: 14px; }
.bz-fab.inhead svg { width: 92px; height: 92px; }
.bz-fab.inhead::after { border-radius: 21px; }
@media (max-width: 760px) {
  .bz-fab.inhead { right: 6px; width: 82px; padding: 7px 4px 6px; border-radius: 12px; font-size: 11px; }
  .bz-fab.inhead svg { width: 56px; height: 56px; }
  .bz-fab.inhead .bz-lv { width: 22px; height: 22px; font-size: 12px; top: -7px; left: -7px; }
}
@media (max-width: 360px) {
  .bz-fab.inhead { width: 72px; }
  .bz-fab.inhead svg { width: 48px; height: 48px; }
  .bz-fab.inhead .bz-fl { font-size: 10px; }
}

/* 🔊 → the music volume panel (stall.js) */
.bz-vol {
  position: absolute; z-index: 3; top: calc(64px + env(safe-area-inset-top)); left: 14px; width: min(290px, calc(100% - 28px));
  padding: 12px 14px; border-radius: 10px; background: rgba(36, 16, 27, .94); color: #fff4d6;
  box-shadow: 0 0 0 1px rgba(224, 180, 80, .7), 0 12px 30px rgba(0, 0, 0, .45);
  max-height: calc(100% - 80px - env(safe-area-inset-top)); overflow-y: auto;
}
.bz-vt { margin: 0 0 8px; font: 600 15px Rubik, sans-serif; }
.bz-vt2 { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.18); font-size: 14px; }
.bz-vrow { display: flex; align-items: center; gap: 10px; }
.bz-vrow input[type=range] { flex: 1; min-width: 0; height: 32px; accent-color: #e0b450; }
.bz-vb { flex: none; width: 44px; height: 44px; border: 1px solid rgba(224, 180, 80, .7); border-radius: 4px; background: rgba(94, 22, 54, .9); color: #fff4d6; font: 700 24px Rubik, sans-serif; line-height: 1; cursor: pointer; }
.bz-vrow2 { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.bz-vpct { font: 700 15px Rubik, sans-serif; min-width: 4em; }
.bz-vmute { min-height: 44px; padding: 0 14px; border: 1px solid rgba(255, 244, 214, .6); border-radius: 4px; background: transparent; color: #fff4d6; font: 600 15px Rubik, sans-serif; cursor: pointer; }
.bz-vmute[aria-pressed=true] { background: #e0b450; color: #2a1a10; border-color: #e0b450; }
.bz-vb:focus-visible, .bz-vmute:focus-visible, .bz-vrow input:focus-visible { outline: 3px solid #ffd36e; outline-offset: 2px; }
.bz-3dbtn { flex: 1; }
.bz-3dnote { margin: 6px 0 0; font: 400 13px/1.45 Rubik, sans-serif; color: #f3e6c4; }
.hide.bz-vol { display: none; }
.stl-upe.small { font-size: 56px; }
.stl-upc .stl-prog { text-align: start; }

/* Into another shop: a curtain of real-looking cloth by the shop's level (curtain.js, stall.js goInto) */
.bz-cur { position: absolute; inset: 0; z-index: 5; pointer-events: none; overflow: hidden; display: none; opacity: 1; transition: opacity .65s ease; }
.bz-cur.on { display: block; pointer-events: auto; }
.bz-cur.fade { opacity: 0; pointer-events: none; }
.bz-cur canvas { position: absolute; inset: 0; display: block; }
.bz-hglass {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(.85); opacity: 0; transition: opacity .4s, transform .4s;
  display: grid; justify-items: center; gap: 10px; padding: 22px 26px 16px; border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 12, 6, .55), rgba(30, 12, 6, 0) 70%);
}
.bz-hglass.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.bz-hglass svg { width: clamp(70px, 16vw, 104px); height: auto; filter: drop-shadow(0 0 14px rgba(255, 210, 120, .75)) drop-shadow(0 6px 10px rgba(0, 0, 0, .6)); overflow: visible; }
.bz-hgsay { margin: 0; font: 400 clamp(17px, 3.6vw, 22px) 'Secular One', Rubik, sans-serif; color: #ffe6a8; text-shadow: 0 2px 8px rgba(0, 0, 0, .8); }
.cg-turn { transform-box: view-box; transform-origin: 60px 90px; animation: cgTurn 3s cubic-bezier(.6, 0, .4, 1) infinite; }
.cg-st { transform-box: fill-box; transform-origin: 50% 100%; animation: cgTop 3s linear infinite; }
.cg-sb { transform-box: fill-box; transform-origin: 50% 100%; animation: cgBot 3s linear infinite; }
.cg-stream { animation: cgStream 3s linear infinite; }
@keyframes cgTurn { 0%, 78% { transform: rotate(0deg); } 100% { transform: rotate(180deg); } }
@keyframes cgTop { 0% { transform: scaleY(1); } 75%, 100% { transform: scaleY(0); } }
@keyframes cgBot { 0% { transform: scaleY(0); } 75%, 100% { transform: scaleY(1); } }
@keyframes cgStream { 0%, 74% { opacity: 1; } 76%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cg-turn, .cg-st, .cg-sb, .cg-stream { animation: none; } .bz-cur, .bz-hglass { transition: opacity .3s; } }
html.a11y-still .cg-turn, html.a11y-still .cg-st, html.a11y-still .cg-sb, html.a11y-still .cg-stream { animation: none !important; }

.bz-lh2 { margin: 18px 0 6px; font: 400 18px 'Secular One', Rubik, sans-serif; }
.bz-shops { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.bz-shops li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid #e5d6b8; font-weight: 600; }
.bz-attr li > span:first-child { flex: 1; }
.bz-attr li > .muted { font-weight: 400; font-size: 13px; white-space: nowrap; }

/* ---- 📜 the scroll: a tale of the souk / an item's story from the book (stall.js readScroll) ---- */
.bz-sr {
  position: absolute; inset: 0; z-index: 8; display: grid; place-items: center; padding: 14px;
  background: radial-gradient(ellipse at 50% 45%, rgba(40, 20, 8, .55), rgba(10, 5, 2, .88));
  opacity: 0; transition: opacity .45s;
}
.bz-sr.open { opacity: 1; }
.bz-sr.closing { opacity: 0; transition: opacity .55s .1s; }
.sr-roll { position: relative; width: min(600px, 94vw); display: flex; flex-direction: column; align-items: stretch; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .6)); transform: scale(.82) translateY(20px); transition: transform .9s cubic-bezier(.2, 1.2, .3, 1); }
.bz-sr.open .sr-roll { transform: none; }
.bz-sr.closing .sr-roll { transform: scale(.9) translateY(30px); }
/* the rods: turned wood with gold caps */
.sr-rod {
  position: relative; z-index: 2; height: 30px; margin: 0 -26px; border-radius: 15px;
  background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .12) 0 3px, rgba(255, 255, 255, .06) 3px 9px), linear-gradient(180deg, #a06a3a, #6b3f1c 45%, #3e220e 55%, #7a4a22);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .45);
  animation: srSpin 1.3s cubic-bezier(.3, .7, .3, 1);
}
.sr-rod::before, .sr-rod::after {
  content: ''; position: absolute; top: -6px; width: 30px; height: 42px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff1b8, #e0b450 40%, #8a6420 80%); box-shadow: 0 3px 8px rgba(0, 0, 0, .45);
}
.sr-rod::before { left: -14px; } .sr-rod::after { right: -14px; }
@keyframes srSpin { from { background-position: 0 0, 0 0; } to { background-position: 240px 0, 0 0; } }
/* the parchment that unrolls between them */
.sr-paper {
  position: relative; z-index: 1; overflow: auto; max-height: 0; outline: none; overscroll-behavior: contain;
  background: radial-gradient(ellipse at 50% 50%, rgba(255, 248, 225, .55), rgba(255, 248, 225, 0) 70%), url('/img/book-page.webp') center / cover, #ecd9b0;
  box-shadow: inset 0 14px 18px -10px rgba(60, 30, 10, .55), inset 0 -14px 18px -10px rgba(60, 30, 10, .55), inset 18px 0 22px -16px rgba(90, 50, 20, .5), inset -18px 0 22px -16px rgba(90, 50, 20, .5);
  transition: max-height 1.35s cubic-bezier(.45, .05, .2, 1);
}
.bz-sr.open .sr-paper { max-height: min(74vh, 720px); }
.bz-sr.closing .sr-paper { max-height: 0; transition-duration: .5s; }
.sr-paper:focus-visible { box-shadow: inset 0 0 0 3px #b8336a; }
.sr-ink { padding: 26px clamp(18px, 5vw, 44px) 22px; color: #2a1a10; font: 400 clamp(21px, 4.6vw, 26px) / 1.55 'Gveret Levin', 'Frank Ruhl Libre', serif; text-align: right; }
.sr-ink.plain { font: 400 17px / 1.75 Rubik, sans-serif; }
.sr-ink > * { opacity: 0; transform: translateY(6px); transition: opacity .7s, transform .7s; }
.bz-sr.open .sr-ink > * { opacity: 1; transform: none; transition-delay: calc(.9s + var(--d, 0) * .25s); }
.bz-sr.open .sr-ink > .sr-welcome { transition-delay: .7s; }
.bz-sr.open .sr-ink > h3, .bz-sr.open .sr-ink > .sr-src { transition-delay: .8s; }
.sr-welcome { margin: 0 0 6px; text-align: center; color: #8c1d4f; font-size: 1.05em; letter-spacing: .02em; }
.sr-ink h3 { margin: 4px 0 2px; text-align: center; font: inherit; font-size: 1.55em; color: #5e1636; }
.sr-ink.plain h3 { font: 400 24px 'Secular One', Rubik, sans-serif; }
.sr-src { margin: 0 0 12px; text-align: center; font-size: .8em; color: #7a5a3a; }
.sr-pic { position: relative; display: block; width: 100%; margin: 4px 0 16px; padding: 5px; border: 2px solid #8a5a2b; border-radius: 6px; background: #f3e2bd; box-shadow: 0 4px 14px rgba(60, 30, 10, .35), inset 0 0 0 1px rgba(255, 240, 200, .6); cursor: zoom-in; }
.sr-pic img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 3px; }
.sr-zoom { position: absolute; bottom: 12px; left: 12px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(42, 26, 16, .72); font-size: 16px; }
.sr-pic:focus-visible { outline: 3px solid #b8336a; outline-offset: 2px; }
.sr-big { position: fixed; inset: 0; z-index: 9500; background: rgba(8, 4, 2, .96); cursor: zoom-out; touch-action: none; overflow: hidden; }
.sr-bigimg { position: absolute; left: 50%; top: 50%; max-width: none; transform: translate(-50%, -50%); border-radius: 6px; box-shadow: 0 0 0 3px rgba(224, 180, 80, .55), 0 18px 60px rgba(0, 0, 0, .8); transform-origin: 50% 50%; }
.sr-big .sr-bigimg { transform: translate(-50%, -50%) rotate(var(--ang, 0deg)); }
.sr-bigx { position: fixed; z-index: 2; }
/* 🧩 a riddle on a scroll (stall.js riddleBox) */
.sr-riddle { margin: 4px 0 6px; }
.sr-rq { font-size: 1.12em; text-align: center; margin: 6px 0 16px !important; }
.sr-ropts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sr-ropt {
  min-height: 52px; padding: 8px 10px; border-radius: 8px; cursor: pointer; color: #2a1a10;
  font: 600 18px Rubik, sans-serif; line-height: 1.25; overflow-wrap: anywhere;
  border: 2px solid #8a5a2b; background: linear-gradient(180deg, rgba(255, 249, 230, .92), rgba(240, 220, 175, .92));
  box-shadow: 0 3px 0 #6b3f1c, 0 6px 12px rgba(60, 30, 10, .25); transition: transform .12s, box-shadow .12s, background .2s;
}
.sr-ropt:hover:not(:disabled) { transform: translateY(-1px); background: #fff7df; }
.sr-ropt:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 1px 0 #6b3f1c; }
.sr-ropt:focus-visible { outline: 3px solid #b8336a; outline-offset: 2px; }
.sr-ropt.no { opacity: .45; text-decoration: line-through; cursor: default; box-shadow: none; animation: srNo .35s; }
.sr-ropt.yes { background: #1d7a46; border-color: #145a33; color: #fff; box-shadow: 0 0 0 4px rgba(255, 215, 110, .7), 0 6px 18px rgba(20, 90, 50, .45); }
.sr-rsay { min-height: 1.4em; margin: 12px 0 0 !important; text-align: center; color: #8c1d4f; font: 600 16px Rubik, sans-serif; }
@keyframes srNo { 25% { transform: translateX(-6px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }
.sr-yay { position: absolute; inset: 0; z-index: 6; display: grid; place-items: center; pointer-events: none; }
.sr-yaybox {
  display: grid; gap: 6px; justify-items: center; padding: 22px 30px; border-radius: 18px; text-align: center;
  background: radial-gradient(circle at 50% 30%, #fffbe8, #f6dfa4); border: 3px solid #e0b450;
  box-shadow: 0 0 0 6px rgba(184, 51, 106, .25), 0 20px 60px rgba(0, 0, 0, .55); animation: srYay .7s cubic-bezier(.2, 1.5, .4, 1) both;
}
.sr-yaybox b { font: 400 clamp(30px, 8vw, 46px) 'Secular One', Rubik, sans-serif; color: #5e1636; }
.sr-yaybox span { font: 600 17px Rubik, sans-serif; color: #2a1a10; }
@keyframes srYay { from { transform: scale(.3) rotate(-8deg); opacity: 0; } to { transform: none; opacity: 1; } }
.sr-yaystars { position: absolute; inset: 0; }
.sr-yaystars i { position: absolute; left: 50%; top: 50%; font-style: normal; font-size: 22px; color: #e0b450; opacity: 0; animation: srStar 1.6s ease-out calc(var(--k) * .025s) both; }
@keyframes srStar {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.3); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(-50% + cos(calc(var(--k) * 16.4deg)) * 42vmin), calc(-50% + sin(calc(var(--k) * 16.4deg)) * 36vmin)) scale(1.1) rotate(200deg); }
}
@media (prefers-reduced-motion: reduce) { .sr-yaybox, .sr-yaystars i, .sr-ropt.no { animation: none; } .sr-yaystars i { opacity: 0; } }
html.a11y-still .sr-yaybox, html.a11y-still .sr-yaystars i, html.a11y-still .sr-ropt.no { animation: none !important; }
html.a11y-still .sr-yaystars i { opacity: 0; }
.sr-ink p { margin: 0 0 .7em; }
.sr-ink p:first-letter { font-size: 1.15em; }
.sr-moral { margin-top: 14px !important; padding-top: 10px; border-top: 1px dashed rgba(90, 52, 24, .45); color: #5e1636; }
.sr-note { font: 400 13px Rubik, sans-serif !important; color: #6a5440; }
/* 🎪 the coming events of the evening plaza, on the parchment */
.sr-ev { display: flex; align-items: center; gap: 12px; margin: 10px 0; padding: 10px 12px; border: 1px dashed rgba(90, 52, 24, .45); border-radius: 4px; background: rgba(255, 248, 225, .45); }
.sr-ev.live { border: 2px solid #b8336a; background: rgba(255, 236, 244, .7); }
.sr-evi { font-size: 1.6em; line-height: 1; flex: none; }
.sr-evt { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.sr-evt b { color: #5e1636; font-weight: 400; }
.sr-evw { font: 600 15px Rubik, sans-serif; color: #2a1a10; }
.sr-evp { font: 400 14px Rubik, sans-serif; color: #6a5440; }
.sr-ev .btn { font-family: Rubik, sans-serif; flex: none; }
.sr-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 14px; }
.sr-row .btn { font-family: Rubik, sans-serif; }
.sr-x, .sr-aa {
  position: absolute; top: calc(10px + env(safe-area-inset-top)); width: 44px; height: 44px; border-radius: 4px; cursor: pointer;
  border: 1px solid rgba(224, 180, 80, .8); background: rgba(36, 16, 27, .85); color: #fff4d6; font: 600 18px Rubik, sans-serif;
}
.sr-x { left: 12px; } .sr-aa { left: 64px; }
.sr-x:focus-visible, .sr-aa:focus-visible { outline: 3px solid #ffd36e; outline-offset: 2px; }
/* gold sparks bursting as it opens */
.sr-sparks { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.sr-sparks i { position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-radius: 50%; background: #ffe2a0; box-shadow: 0 0 10px 3px rgba(255, 210, 120, .9); opacity: 0; }
.bz-sr.open .sr-sparks i { animation: srSpark 1.6s ease-out calc(var(--k) * .03s) both; }
@keyframes srSpark {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.4); }
  15% { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(-50% + cos(calc(var(--k) * 20deg)) * 42vmin), calc(-50% + sin(calc(var(--k) * 20deg)) * 36vmin)) scale(1.2); }
}
@media (prefers-reduced-motion: reduce) {
  .bz-sr, .sr-roll, .sr-paper, .sr-ink > * { transition: none !important; }
  .sr-rod, .bz-sr.open .sr-sparks i { animation: none; }
}
html.a11y-still .bz-sr, html.a11y-still .sr-roll, html.a11y-still .sr-paper, html.a11y-still .sr-ink > * { transition: none !important; }
html.a11y-still .sr-rod, html.a11y-still .bz-sr.open .sr-sparks i { animation: none; }

/* 🌅 the greeting on the way into the souk */
.bz-greet {
  position: absolute; top: calc(78px + env(safe-area-inset-top)); left: 50%; z-index: 4; transform: translate(-50%, -12px); opacity: 0;
  width: min(560px, calc(100% - 32px)); padding: 16px 20px 14px; border-radius: 10px; text-align: center; pointer-events: none;
  background: linear-gradient(180deg, rgba(74, 22, 52, .92), rgba(36, 16, 27, .92)); color: #fff4d6;
  box-shadow: 0 0 0 2px #e0b450, 0 10px 30px rgba(0, 0, 0, .45), 0 0 40px rgba(255, 190, 90, .25);
  transition: opacity .7s, transform .7s;
}
.bz-greet.in { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.bz-gx {
  position: absolute; top: 6px; inset-inline-end: 6px; width: 36px; height: 36px; padding: 0; border: 1px solid rgba(224, 180, 80, .6); border-radius: 50%;
  background: rgba(0, 0, 0, .3); color: #ffe6a8; font: 700 20px/1 Rubik, sans-serif; cursor: pointer;
}
.bz-gx:hover, .bz-gx:focus-visible { background: rgba(224, 180, 80, .3); outline: 2px solid #ffe08a; outline-offset: 2px; }
.bz-greet .bz-g1, .bz-greet .bz-gday { padding-inline: 34px; }
.bz-gday { font: 400 clamp(20px, 4.4vw, 28px) 'Secular One', Rubik, sans-serif; color: #fff3d0; text-shadow: 0 2px 10px rgba(0, 0, 0, .5); }
.bz-gday + .bz-g1 { margin-top: 4px !important; }
.bz-greet.hide { display: none; }
.bz-greet p { margin: 0; }
.bz-g1 { font: 400 clamp(24px, 5vw, 34px) 'Secular One', Rubik, sans-serif; color: #ffe08a; text-shadow: 0 2px 10px rgba(0, 0, 0, .5); }
.bz-g2 { margin-top: 2px !important; font: 600 clamp(15px, 3.4vw, 19px) Rubik, sans-serif; }
.bz-g3 { margin-top: 8px !important; font: 500 15px Rubik, sans-serif; color: #fde7c2; }
.bz-g2 + .bz-g3 { padding-top: 8px; border-top: 1px solid rgba(224, 180, 80, .45); }
@media (prefers-reduced-motion: reduce) { .bz-greet { transition: none; transform: translate(-50%, 0); } }

/* 🔪 one knife in 3D */
.bz-kv { position: absolute; inset: 0; z-index: 8; display: grid; place-items: center; padding: 16px; background: rgba(10, 5, 8, .62); }
.kv-card {
  position: relative; width: min(620px, 100%); max-height: calc(100% - 8px); overflow: auto; padding: 14px 16px 16px; border-radius: 10px;
  background: radial-gradient(ellipse at 50% 35%, #4a1a2e, #1c0b14 72%); color: #fff4d6; box-shadow: 0 0 0 2px #c89b4a, 0 16px 40px rgba(0, 0, 0, .55);
}
.kv-card h3 { margin: 0 0 4px; font: 400 clamp(22px, 4.6vw, 30px) 'Secular One', Rubik, sans-serif; color: #ffe08a; text-align: center; }
.kv-shop { margin: 0; font: 600 13px Rubik, sans-serif; color: #e8c35a; text-align: center; }
.kv-view { position: relative; height: min(46vh, 340px); margin: 6px 0; border-radius: 8px; background: radial-gradient(ellipse at 50% 45%, rgba(255, 220, 160, .16), rgba(0, 0, 0, 0) 65%); }
.kv-canvas { display: block; width: 100%; height: 100%; cursor: grab; }
.kv-canvas:active { cursor: grabbing; }
.kv-row { display: flex; align-items: center; justify-content: center; gap: 14px; }
.kv-n { min-width: 64px; text-align: center; font: 600 15px Rubik, sans-serif; }
.kv-about { margin: 10px 0 4px; font: 500 16px/1.5 Rubik, sans-serif; text-align: center; }
.kv-hint { margin: 6px 0 0; font: 500 13px Rubik, sans-serif; color: #d9c7a8; text-align: center; }
.kv-x { position: absolute; top: 10px; inset-inline-start: 10px; }

/* 🎬 a video about one of the market's own shops — a third of the screen on the side
   (a sheet from the bottom on a phone); the souk stays usable beside it (owner, 2026-11-02) */
.bz-vid {
  position: absolute; z-index: 8; inset-inline-end: 12px; top: 64px; bottom: 12px;
  width: clamp(300px, 33vw, 480px); display: flex; flex-direction: column; gap: 8px;
  padding: 10px; border-radius: 14px; background: rgba(24, 14, 18, .94); color: #fff;
  border: 2px solid #e0b450; box-shadow: 0 12px 40px rgba(0, 0, 0, .5);
}
.bzv-head { display: flex; align-items: center; gap: 8px; }
.bzv-head h3 { flex: 1; margin: 0; font: 400 20px 'Secular One', Rubik, sans-serif; color: #ffe08a; }
.bzv-frame { flex: 1; min-height: 0; border-radius: 10px; overflow: hidden; background: #000; }
.bzv-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.bzv-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.bzv-out { color: #ffe08a; font-size: 15px; padding: 8px 4px; }
/* a YouTube film on a computer: a landscape window shaped like the film (owner, 2026-11-02) */
@media (min-width: 761px) {
  .bz-vid.wide { bottom: auto; width: min(760px, 56vw, calc((100vh - 200px) * 16 / 9 + 24px)); }
  .bz-vid.wide .bzv-frame { flex: none; aspect-ratio: 16 / 9; }
}
@media (max-width: 760px) {
  .bz-vid { inset-inline: 8px; width: auto; top: auto; bottom: 8px; height: 62%; }
}

/* 🤝 haggling with the shop's owner in the souk (stall.js haggle()) */
.bz-hag { position: absolute; inset: 0; z-index: 30; display: grid; place-items: center; background: rgba(20, 8, 4, .55); padding: 12px; }
.hg-card { position: relative; overflow: hidden; width: min(440px, 100%); max-height: calc(100% - 24px); overflow-y: auto; background: #fbf3df; color: #3a1d10; border: 3px solid #e0b450; border-radius: 6px; padding: 16px; box-shadow: 0 12px 40px rgba(0, 0, 0, .5); display: flex; flex-direction: column; gap: 10px; }
.hg-x { position: absolute; top: 8px; left: 8px; }
.hg-head { display: flex; gap: 12px; align-items: center; padding-inline-end: 40px; }
.hg-face { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; display: grid; place-items: center; font-size: 40px; background: #f3dcb0; border: 3px solid #e0b450; }
.hg-head h3 { margin: 0 0 4px; font-size: 18px; }
.hg-item { display: flex; gap: 8px; align-items: center; margin: 0; font-size: 14px; color: #6a4a35; }
.hg-item img { width: 40px; height: 40px; object-fit: cover; border-radius: 4px; }
.hg-say { position: relative; margin: 4px 0 0; background: #fff; border: 2px solid #e0b450; border-radius: 10px; padding: 10px 14px; font-size: 17px; font-weight: 600; min-height: 1.6em; }
.hg-say::before { content: ''; position: absolute; top: -10px; right: 28px; border: 8px solid transparent; border-bottom-color: #e0b450; }
.hg-say.pop { animation: hgPop .35s ease-out; }
@keyframes hgPop { from { transform: scale(.92); opacity: .4; } to { transform: none; opacity: 1; } }
.hg-body { display: flex; flex-direction: column; gap: 8px; }
.hg-row { display: flex; gap: 6px; align-items: center; justify-content: center; }
.hg-in { width: 120px; font-size: 22px; font-weight: 700; text-align: center; }
.hg-name { width: 100%; }
.hg-note { margin: 0; font-size: 13px; color: #6a4a35; text-align: center; }
.hg-deal { margin: 0; text-align: center; font: 800 40px Rubik, sans-serif; color: #b8336a; }
.bz-hag.won .hg-card { border-color: #b8336a; }
.hg-cf { position: absolute; top: -12px; width: 8px; height: 14px; border-radius: 2px; animation: hgFall 2.2s var(--d, 0s) ease-in forwards; pointer-events: none; }
@keyframes hgFall { to { transform: translateY(520px) rotate(540deg); } }
html.a11y-still .hg-cf, html.a11y-still .hg-say.pop { animation: none; }

/* 🏮 the owner arranges the stall: swap the item in this place (2026-11-03) */
.bz-arr { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: #fff4d6; color: #3a1d10; border: 2px solid #e0b450; border-radius: 6px; padding: 8px 12px; margin-bottom: 8px; }
.bz-arr p { margin: 0; font-weight: 700; }
.bz-swap { position: absolute; inset: 0; z-index: 40; background: rgba(20, 8, 14, .62); display: grid; place-items: center; padding: 16px; }
.bz-swbox { background: var(--surface, #fff); color: var(--text, #2a1a20); width: min(760px, 100%); max-height: min(86vh, 100%); display: flex; flex-direction: column; border-radius: 8px; box-shadow: 0 18px 50px rgba(0,0,0,.45); overflow: hidden; }
.bz-swhead { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; padding: 14px 16px 8px; border-bottom: 1px solid var(--line, #eadbd3); }
.bz-swhead h3 { margin: 0 0 4px; font-size: 1.15rem; }
.bz-swhead p { margin: 0; font-size: .9rem; color: var(--muted, #6b5a60); }
.bz-swgrid { overflow: auto; padding: 12px 16px 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.bz-swt { display: flex; flex-direction: column; gap: 4px; align-items: stretch; text-align: center; background: var(--bg, #fbf6f2); color: inherit; border: 2px solid var(--line, #eadbd3); border-radius: 6px; padding: 6px; cursor: pointer; font: inherit; min-height: 44px; }
.bz-swt:hover, .bz-swt:focus-visible { border-color: var(--primary, #b8336a); }
.bz-swt img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; background: #eee; }
.bz-swt b { font-size: .85rem; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.bz-swt small { font-size: .75rem; color: var(--muted, #6b5a60); }
@media (max-width: 600px) { .bz-swgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 10px; } }
/* the owner's stall picture (2026-11-03): same size as the old drawing */
.bz-fab .bz-stallic { width: 54px; height: 54px; display: block; object-fit: contain; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .5)); }
@media (max-width: 600px) { .bz-fab .bz-stallic { width: 44px; height: 44px; } }

/* the 📋 list as dropdowns (owner, 2026-11-03) */
.bz-fold { border-bottom: 1px solid #e5d6b8; }
.bz-fold > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px; min-height: 48px; margin: 0; padding: 4px 0; color: #3a2414; }
.bz-fold > summary::-webkit-details-marker { display: none; }
.bz-fold > summary::before { content: '◂'; display: inline-block; transition: transform .2s; color: #5e1636; }
.bz-fold[open] > summary::before { transform: rotate(-90deg); }
.bz-fold .bz-fold { margin-inline-start: 14px; }
.bz-fold .bz-fold > summary { font-size: 16px; }
.bz-fold > .btn { margin: 4px 0 12px; }
.bz-fold > p.muted { margin: 4px 0 12px; }

/* 🗺️ The map of the souk (owner, 2026-11-04): this alley as a lane, then every alley */
.bz-map .bz-mlane { display: grid; gap: 6px; margin: 10px 0 16px; padding: 10px; border-radius: 6px; background: #f3e6c8; border: 2px solid #c9a46a; }
.bz-msq, .bz-mhome { display: grid; gap: 2px; justify-items: center; padding: 10px; border-radius: 6px; border: 2px solid #e0b450; font: inherit; cursor: pointer; min-height: 48px; }
.bz-msq { background: #2b5f6e; color: #fff3d6; }
.bz-mhome { background: #7d1f48; color: #fff3d6; }
.bz-msq span, .bz-mhome span { font-size: 13px; opacity: .9; }
.bz-mname { margin: 4px 0 0; text-align: center; font-weight: 700; color: #5e1636; }
.bz-mrow { display: grid; grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr); gap: 6px; align-items: stretch; }
.bz-mpath { background: repeating-linear-gradient(180deg, #c9a46a 0 6px, transparent 6px 12px); width: 4px; justify-self: center; }
.bz-mcell { display: flex; gap: 6px; align-items: center; justify-content: center; min-height: 44px; padding: 6px 8px; border-radius: 4px;
  background: #fff8ea; border: 1px solid #c9a46a; color: #5e1636; font: inherit; font-size: 14px; font-weight: 600; text-align: center; cursor: pointer; overflow-wrap: anywhere; }
.bz-mcell:hover, .bz-mcell:focus-visible { background: #fbe3ec; }
.bz-mcell.empty { background: transparent; border-style: dashed; color: #8a7360; cursor: default; font-weight: 400; }
.hide.bz-map { display: none; }
.bz-map .bz-fold .btn.sm { margin: 6px 0; }
/* 🌍 the souk's worlds (owner, 2026-11-04): the picker — big cards, each world's own colours */
.bz-tw { color: #ffe3a3; }
@media (max-width: 600px) { .bz-tw { display: block; } }
.bz-worlds { position: fixed; inset: 0; z-index: 2147483000; display: grid; place-items: center; padding: 16px; background: rgba(12, 6, 18, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); overflow-y: auto; }
.bz-worlds.inside { position: absolute; z-index: 60; }
.bz-wbox { width: min(980px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; background: #2a1420; color: #fff4d6; border: 2px solid #e0b450; border-radius: 18px; padding: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, .55); }
.bz-whead { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bz-whead h2 { margin: 0; font: 400 clamp(22px, 4vw, 30px) 'Secular One', Rubik, sans-serif; color: #ffe6a8; }
.bz-wsub { margin: 6px 0 14px; font: 500 15px/1.5 Rubik, sans-serif; color: #f4e6cc; }
.bz-wx { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 20px; cursor: pointer; }
.bz-wx:hover { background: rgba(255, 255, 255, .22); }
.bz-wgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.bz-wcard { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-height: 230px; padding: 14px 14px 12px; border: 2px solid rgba(255, 255, 255, .25); border-radius: 14px; background: var(--wimg) center / cover no-repeat, var(--wbg); color: #fff; text-align: right; cursor: pointer; overflow: hidden; font: inherit; transition: transform .18s, border-color .18s, box-shadow .18s; }
.bz-wcard::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 0%, rgba(0, 0, 0, .25) 35%, rgba(0, 0, 0, .82) 100%); pointer-events: none; }
.bz-wcard > * { position: relative; z-index: 1; }
.bz-wcard:hover { transform: translateY(-3px); border-color: #ffe3a3; box-shadow: 0 10px 24px rgba(0, 0, 0, .4); }
.bz-wcard:focus-visible { outline: 3px solid #ffd36e; outline-offset: 3px; }
.bz-wcard.cur { border-color: #ffd36e; box-shadow: 0 0 0 3px rgba(255, 211, 110, .45); }
.bz-wemoji { font-size: 40px; line-height: 1; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .4)); }
.bz-wname { margin-top: auto; font: 400 21px/1.2 'Secular One', Rubik, sans-serif; text-shadow: 0 2px 6px rgba(0, 0, 0, .7); }
.bz-wtext { font: 500 13px/1.45 Rubik, sans-serif; text-shadow: 0 1px 4px rgba(0, 0, 0, .8); }
.bz-wmeta { font: 600 12.5px Rubik, sans-serif; background: rgba(0, 0, 0, .45); border-radius: 999px; padding: 3px 10px; }
@media (max-width: 600px) {
  .bz-worlds { padding: 10px; place-items: end center; }
  .bz-wbox { padding: 14px; border-radius: 16px; }
  .bz-wgrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
  .bz-wcard { min-height: 150px; padding: 10px; }
  .bz-wemoji { font-size: 32px; }
  .bz-wname { font-size: 17px; }
  .bz-wtext { display: none; }
}
@media (max-width: 360px) { .bz-wgrid { grid-template-columns: minmax(0, 1fr); } .bz-wcard { min-height: 110px; } }
@media (prefers-reduced-motion: reduce) { .bz-wcard { transition: none; } .bz-wcard:hover { transform: none; } }
/* seller → "🌍 העולמות שלי" */
.stl-wlist { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 8px; }
.stl-wopt { display: flex; gap: 10px; align-items: flex-start; padding: 10px; border: 1px solid var(--line, #e3d6cc); border-radius: 10px; cursor: pointer; min-height: 44px; }
.stl-wopt.on { border-color: var(--primary, #b8336a); background: color-mix(in srgb, var(--primary, #b8336a) 7%, transparent); }
.stl-wopt input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--primary, #b8336a); }
.stl-wopt b { display: block; }
.stl-wopt .small { display: block; line-height: 1.4; }
.stl-wem { font-size: 24px; line-height: 1; }
/* a phone: the shop's name on its own line above the buttons (six buttons with 🌍) */
@media (max-width: 600px) {
  .bz-top .bz-title { flex: 1 1 auto; white-space: normal; line-height: 1.2; }
  .bz-top .bz-title small { display: inline; }
  .bz-top .bz-title .bz-tw { display: inline; }
}
/* 📅 ימי השוק — the week's markets */
.bz-week { list-style: none; padding: 0; margin: 0 0 14px; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.bz-week .bz-wcard { cursor: default; min-height: 200px; }
.bz-week .bz-wcard:hover { transform: none; }
.bz-week .bz-wcard.past { opacity: .55; }
.bz-wday { font: 700 13px Rubik, sans-serif; background: rgba(0, 0, 0, .5); border-radius: 999px; padding: 2px 10px; }
.bz-week .cur .bz-wday { background: #ffd36e; color: #3a1d10; }
.bz-wgo { display: block; margin: 0 auto; min-height: 44px; padding: 0 22px; border: 0; border-radius: 4px; background: #e0b450; color: #2a1420; font: 700 16px Rubik, sans-serif; cursor: pointer; }
.bz-wgo:focus-visible { outline: 3px solid #ffd36e; outline-offset: 2px; }
@media (max-width: 900px) { .bz-week { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 600px) { .bz-week { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .bz-week .bz-wcard { min-height: 120px; } }

/* which market is open today, a line under the home page's row of buttons (owner, 2026-11-04) */
.bz-todayline { min-height: 1.4em; margin: 6px auto 0; text-align: center; font: 600 15px/1.4 Rubik, sans-serif; color: var(--ink, #3a2a2a); }
@media (max-width: 760px) { .bz-todayline { font-size: 14px; } }
/* 🔑 the owner's market picker inside the "ימי השוק" sheet */
.bz-wchoose { margin: 6px 0 12px; padding: 10px; border: 1.5px dashed #e0b450; border-radius: 8px; }
.bz-wpicks { display: flex; flex-wrap: wrap; gap: 8px; }
.bz-wpick { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 12px; border: 1.5px solid #e0b450; border-radius: 4px; background: #2a1c14; color: #f3e6c4; font: 600 15px Rubik, sans-serif; cursor: pointer; }
.bz-wpick.cur { background: #e0b450; color: #2a1c14; }
.bz-wpick small { font-size: 11px; padding: 1px 5px; border-radius: 3px; background: #b3412e; color: #fff; }
.bz-wpick:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* 🎲 the stall's design mode (seller-stall.js): rotating every two days / "I design it myself" */
.stl-modes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin: 4px 0 12px; }
.stl-mode { display: flex; flex-direction: column; gap: 4px; text-align: start; padding: 12px; min-height: 48px; border: 2px solid var(--field-border); border-radius: 4px; background: var(--card, #fff); color: inherit; font: inherit; cursor: pointer; }
.stl-mode b { font-size: 1rem; }
.stl-mode.on { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 10%, transparent); box-shadow: inset 0 0 0 1px var(--primary); }
.stl-mode:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.stl-autonote { padding: 10px 12px; border-radius: 4px; background: color-mix(in srgb, var(--accent) 35%, transparent); }
@media (max-width: 520px) { .stl-modes { grid-template-columns: minmax(0, 1fr); } }

/* 💌 invitation cards: "בואי איתי לשוק" / "בואו לבקר בדוכן שלי" (owner, 2026-11-07) */
.ic-back { position: fixed; inset: 0; z-index: 9000; display: grid; place-items: center; padding: 16px; background: rgba(30, 12, 28, .62); }
.ic-card { position: relative; width: min(520px, 100%); max-height: calc(100dvh - 32px); overflow: auto; border-radius: 20px; background: linear-gradient(160deg, #2b1530, #4a1f3a 60%, #6b2a3a); color: #fff8ec; border: 2px solid #d9b45a; box-shadow: 0 20px 60px rgba(0, 0, 0, .45); }
.ic-pic { position: relative; aspect-ratio: 16 / 9; background: #2b1530; }
.ic-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ic-3d { position: absolute; top: 10px; right: 10px; padding: 3px 9px; border: 2px solid #d9b45a; border-radius: 6px; background: rgba(43, 21, 48, .8); color: #ffe7a8; font: 700 14px Rubik, sans-serif; }
.ic-body { padding: 16px 20px 20px; display: grid; gap: 10px; }
.ic-kick { margin: 0; color: #ffe7a8; font: 600 14px Rubik, sans-serif; }
.ic-body h2 { margin: 0; font: 400 clamp(22px, 5vw, 28px)/1.2 'Secular One', Rubik, sans-serif; color: #fff; }
.ic-text { margin: 0; font: 400 15px/1.55 Rubik, sans-serif; color: #f6e6dc; }
.ic-card .ic-go { justify-self: stretch; padding: 14px 20px; font: 700 18px/1.2 Rubik, sans-serif; color: #2b1530; background: linear-gradient(180deg, #ffe7a8, #d9b45a); border: 0; border-radius: 10px; cursor: pointer; }
.ic-card .ic-go:disabled { opacity: .7; }
.ic-alt { justify-self: center; color: #e9cfd9; font: 400 14px Rubik, sans-serif; text-decoration: underline; padding: 6px; }
.ic-x { position: absolute; z-index: 2; top: 10px; left: 10px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(43, 21, 48, .78); color: #fff; font: 600 18px Rubik, sans-serif; cursor: pointer; }
.ic-card :focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* 🎀 the grand opening's ribbon (stall.js ribbon(), owner 2026-11-07) */
.rb-wrap { position: absolute; inset: 0; z-index: 30; display: grid; place-items: center; pointer-events: none; transition: opacity .8s; }
.rb-wrap.gone { opacity: 0; }
.rb-band { position: absolute; top: 44%; height: 46px; width: 52%; background: linear-gradient(180deg, #e2263f, #c4122f 45%, #8e0c22); border-block: 3px solid #ffd86b; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); transition: transform 1.2s cubic-bezier(.5, -.2, .7, 1), opacity 1.2s; }
.rb-r { right: 0; transform-origin: right center; }
.rb-l { left: 0; transform-origin: left center; }
.rb-bow { position: absolute; top: calc(44% - 30px); left: 50%; translate: -50% 0; font-size: 84px; line-height: 1; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .4)); transition: transform 1s, opacity 1s; }
.rb-wrap.cut .rb-r { transform: rotate(-58deg) translateY(30px); opacity: .0; }
.rb-wrap.cut .rb-l { transform: rotate(58deg) translateY(30px); opacity: 0; }
.rb-wrap.cut .rb-bow { transform: translateY(260px) rotate(40deg); opacity: 0; }
.rb-msg { pointer-events: auto; position: relative; z-index: 2; margin-top: 34vh; width: min(420px, calc(100% - 28px)); padding: 16px 18px; border-radius: 16px; text-align: center;
  background: rgba(255, 248, 236, .97); color: #3a2a2a; border: 2px solid #d9b45a; box-shadow: 0 12px 36px rgba(0, 0, 0, .4); display: grid; gap: 8px; }
.rb-msg h3 { margin: 0; font: 400 22px/1.25 'Secular One', Rubik, sans-serif; color: #8e0c22; }
.rb-msg p { margin: 0; font: 400 15px/1.5 Rubik, sans-serif; }
.rb-msg .rb-k { color: #b8336a; font-weight: 700; font-size: 14px; }
.rb-cut { padding: 12px 18px; border: 0; border-radius: 10px; cursor: pointer; font: 700 18px Rubik, sans-serif; color: #fff; background: linear-gradient(180deg, #e2263f, #a80e26); box-shadow: 0 6px 16px rgba(196, 18, 47, .35); }
.rb-cut:disabled { opacity: .7; }
.rb-later { justify-self: center; padding: 6px 12px; border: 0; background: none; color: #625b70; font: 400 14px Rubik, sans-serif; text-decoration: underline; cursor: pointer; }
.rb-msg :focus-visible { outline: 3px solid #1a5fb4; outline-offset: 2px; }
.rb-conf { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.rb-conf i { position: absolute; top: 40%; width: 9px; height: 14px; border-radius: 2px; animation: rbFall 2.4s ease-in forwards; }
@keyframes rbFall { from { transform: translate(0, 0) rotate(0); opacity: 1; } to { transform: translate(var(--x), 70vh) rotate(var(--r)); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .rb-band, .rb-bow { transition: none; } }
@media (max-width: 760px) { .rb-band { height: 34px; } .rb-bow { font-size: 64px; top: calc(44% - 22px); } .rb-msg { margin-top: 30vh; } }

/* 🧭 the guided tour (stall.js startTour, owner 2026-11-07) */
.tg-card { position: absolute; z-index: 25; bottom: calc(16px + env(safe-area-inset-bottom)); right: 16px; width: min(400px, calc(100% - 32px)); display: flex; gap: 10px; padding: 14px 14px 12px;
  border-radius: 18px; background: rgba(255, 248, 236, .97); color: #3a2a2a; border: 2px solid #d9b45a; box-shadow: 0 14px 40px rgba(0, 0, 0, .4); }
.tg-av { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 34px; background: radial-gradient(circle at 40% 35%, #ffe7a8, #d9b45a); }
.tg-body { flex: 1; min-width: 0; display: grid; gap: 5px; }
.tg-k { margin: 0; font: 600 12.5px Rubik, sans-serif; color: #b8336a; }
.tg-card h3 { margin: 0; padding-inline-end: 34px; font: 400 19px/1.25 'Secular One', Rubik, sans-serif; color: #4a1f3a; }
.tg-t { margin: 0; font: 400 14.5px/1.5 Rubik, sans-serif; }
.tg-row { display: flex; gap: 8px; margin-top: 4px; flex-wrap: wrap; }
.tg-b { flex: 1 1 auto; min-height: 44px; padding: 8px 14px; border: 0; border-radius: 10px; cursor: pointer; font: 700 15px Rubik, sans-serif; color: #2b1530; background: linear-gradient(180deg, #ffe7a8, #d9b45a); }
.tg-b.ghost { background: #f1e6dc; color: #4a1f3a; font-weight: 500; }
.tg-b.in { background: linear-gradient(180deg, #c94a7d, #9c2f6b); color: #fff; }
.tg-b[hidden] { display: none; }
.tg-x { position: absolute; top: 8px; left: 8px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(42, 26, 16, .08); color: #3a2a2a; font: 600 16px Rubik, sans-serif; cursor: pointer; }
.tg-card :focus-visible { outline: 3px solid #1a5fb4; outline-offset: 2px; }
.bz-gtour { margin-top: 8px; padding: 9px 14px; border: 0; border-radius: 10px; cursor: pointer; font: 700 14.5px Rubik, sans-serif; color: #2b1530; background: linear-gradient(180deg, #ffe7a8, #d9b45a); }
@media (max-width: 760px) { .tg-card { right: 10px; left: 10px; width: auto; bottom: calc(10px + env(safe-area-inset-bottom)); padding: 12px 10px 10px; } .tg-av { width: 44px; height: 44px; font-size: 26px; } .tg-card h3 { font-size: 17px; } .tg-t { font-size: 14px; } }

/* ✦ the souk's menu (owner, 2026-11-07): one gold medallion button + ✕; the tools open as a grid of
   glowing tiles under it (stall.js menuOpen; souk-people.js adds 👫 / 👋 into the same grid) */
.bz-bar { display: flex; align-items: center; gap: 8px; flex: none; }
.bz-mbtn {
  position: relative; display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 18px 0 16px;
  border: 0; border-radius: 999px; cursor: pointer; color: #2b1530; font: 700 16px Rubik, sans-serif;
  background: linear-gradient(180deg, #fff1c4 0%, #f2cf74 45%, #c9962f 100%);
  box-shadow: 0 0 0 2px rgba(43, 21, 48, .85), 0 0 0 4px #e0b450, 0 6px 18px rgba(0, 0, 0, .45), 0 0 22px rgba(255, 210, 110, .45);
  transition: transform .2s, box-shadow .2s;
}
.bz-mbtn:hover { transform: translateY(-1px); box-shadow: 0 0 0 2px rgba(43, 21, 48, .85), 0 0 0 4px #ffd36e, 0 8px 22px rgba(0, 0, 0, .5), 0 0 30px rgba(255, 210, 110, .7); }
.bz-mbtn:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
.bz-mstar { display: inline-block; font-size: 22px; line-height: 1; color: #7a1d45; text-shadow: 0 1px 0 rgba(255, 255, 255, .6); transition: transform .35s cubic-bezier(.3, 1.5, .5, 1); }
.bz-mbtn.on .bz-mstar { transform: rotate(135deg) scale(1.15); }
.bz-mdot { position: absolute; top: -6px; inset-inline-end: -6px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 11px; background: #c4122f; color: #fff; font: 700 12px/22px Rubik, sans-serif; text-align: center; box-shadow: 0 0 0 2px #fff4d6; }
.bz-mdot.hide { display: none; }
.bz-bar > .bz-ic { width: 48px; height: 48px; border-radius: 50%; padding: 0; font-size: 20px; border: 2px solid rgba(224, 180, 80, .8); }

.bz-menu {
  position: absolute; z-index: 6; top: calc(100% - 10px); left: 14px; width: min(440px, calc(100% - 28px));
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 16px 14px 14px;
  border-radius: 22px; color: #fff4d6;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255, 210, 110, .18), transparent 60%),
    linear-gradient(160deg, rgba(58, 20, 46, .97), rgba(28, 10, 24, .97));
  box-shadow: 0 0 0 1px rgba(255, 230, 168, .25), 0 0 0 3px rgba(224, 180, 80, .85), 0 22px 50px rgba(0, 0, 0, .55), 0 0 40px rgba(224, 180, 80, .25);
  transform-origin: 30px 0; animation: bzMenuIn .32s cubic-bezier(.2, 1.3, .4, 1);
}
.bz-menu.hide { display: none; }
.bz-menu::before { content: '✦ כלי השוק ✦'; grid-column: 1 / -1; text-align: center; margin: -4px 0 2px; font: 400 17px 'Secular One', Rubik, sans-serif; color: #ffd36e; letter-spacing: .5px; text-shadow: 0 0 12px rgba(255, 211, 110, .45); }
@keyframes bzMenuIn { from { opacity: 0; transform: scale(.6) translateY(-14px); } to { opacity: 1; transform: none; } }
.bz-menu .bz-ic {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-width: 0; width: 100%; height: auto; min-height: 84px; padding: 10px 4px 8px; border-radius: 16px;
  border: 1px solid rgba(255, 230, 168, .35); font-size: 28px; line-height: 1; backdrop-filter: none;
  background: linear-gradient(160deg, rgba(122, 29, 69, .85), rgba(66, 18, 44, .9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 4px 10px rgba(0, 0, 0, .35);
  transition: transform .15s, box-shadow .15s, background .15s;
  animation: bzTileIn .38s cubic-bezier(.2, 1.4, .4, 1) both;
}
.bz-menu .bz-ic::after { content: attr(data-label); font: 600 12.5px/1.15 Rubik, sans-serif; color: #fff4d6; text-align: center; }
.bz-menu .bz-ic:hover { transform: translateY(-2px); background: linear-gradient(160deg, rgba(160, 40, 90, .95), rgba(90, 24, 58, .95)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 0 0 1px #e0b450, 0 8px 18px rgba(0, 0, 0, .4), 0 0 18px rgba(224, 180, 80, .35); }
.bz-menu .bz-ic:active { transform: scale(.96); }
.bz-menu .bz-ic[aria-expanded=true] { box-shadow: 0 0 0 2px #ffd36e, 0 0 18px rgba(255, 211, 110, .45); }
.bz-menu .bz-ic .bz-w { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bz-menu .sk-cnt { position: absolute; top: 6px; inset-inline-start: 8px; font-size: 12px; }
.bz-menu .sk-badge { position: absolute; top: -6px; inset-inline-end: -6px; inset-inline-start: auto; }
.bz-menu .bz-ic:nth-child(1) { animation-delay: .03s; } .bz-menu .bz-ic:nth-child(2) { animation-delay: .06s; }
.bz-menu .bz-ic:nth-child(3) { animation-delay: .09s; } .bz-menu .bz-ic:nth-child(4) { animation-delay: .12s; }
.bz-menu .bz-ic:nth-child(5) { animation-delay: .15s; } .bz-menu .bz-ic:nth-child(6) { animation-delay: .18s; }
.bz-menu .bz-ic:nth-child(7) { animation-delay: .21s; } .bz-menu .bz-ic:nth-child(8) { animation-delay: .24s; }
.bz-menu .bz-ic:nth-child(9) { animation-delay: .27s; } .bz-menu .bz-ic:nth-child(10) { animation-delay: .3s; }
@keyframes bzTileIn { from { opacity: 0; transform: scale(.5) translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) {
  .bz-menu { left: 10px; width: calc(100% - 20px); gap: 8px; padding: 14px 10px 10px; }
  .bz-menu .bz-ic { min-height: 78px; font-size: 26px; }
  .bz-mbtn { height: 44px; padding: 0 14px 0 12px; font-size: 15px; }
  .bz-bar > .bz-ic { width: 44px; height: 44px; }
}
@media (max-width: 340px) { .bz-menu { grid-template-columns: repeat(3, minmax(0, 1fr)); } .bz-mtxt { display: none; } }
@media (prefers-reduced-motion: reduce) { .bz-menu, .bz-menu .bz-ic, .bz-mstar { animation: none; transition: none; } }
html.a11y-still .bz-menu, html.a11y-still .bz-menu .bz-ic { animation: none; }

/* 🛰️ the view from above: the way back down, floating at the foot of the screen (2026-11-10) */
.bz-airback { position: absolute; left: 50%; bottom: calc(18px + var(--bottom-nav, 0px)); transform: translateX(-50%); z-index: 30;
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 22px; border-radius: 999px;
  border: 2px solid #e0b450; background: rgba(40, 22, 14, .88); color: #fff3d6; font: 600 17px/1.2 "Secular One", Rubik, Arial, sans-serif;
  box-shadow: 0 6px 24px rgba(0,0,0,.45), 0 0 18px rgba(224,180,80,.4); cursor: pointer; }
.bz-airback:hover, .bz-airback:focus-visible { background: rgba(70, 38, 20, .95); outline: 3px solid #ffd27a; outline-offset: 2px; }
.bz-airback.hide { display: none; }

/* ⚡ the detail choice in the 🔊 panel (2026-11-10) */
.bz-qrow { display: flex; gap: 6px; margin: 4px 0 2px; }
.bz-qbtn { flex: 1 1 0; min-height: 40px; padding: 6px 4px; border-radius: 10px; border: 1.5px solid rgba(224,180,80,.55);
  background: rgba(255,255,255,.08); color: inherit; font: 600 14px/1.2 Rubik, Arial, sans-serif; cursor: pointer; }
.bz-qbtn.on { background: #e0b450; color: #2a160c; border-color: #ffd27a; }
.bz-qbtn:focus-visible { outline: 3px solid #ffd27a; outline-offset: 2px; }

/* a clean 3D screen (owner, 2026-11-15): only the title line and "✦ תפריט" over the souk; the rank and
   "יציאה מהשוק" live inside the menu */
.bz-top { background: none; }
.bz-mhead { display: none; order: -2; grid-column: 1 / -1; margin: 0; text-align: center; font: 600 13px/1.35 Rubik, sans-serif; color: #fff4d6; opacity: .9; overflow-wrap: anywhere; }
.bz-menu .pl-hud { grid-column: 1 / -1; justify-self: center; order: -1; margin: 0 0 4px; flex-basis: auto; }
.bz-menu .bz-close { order: 99; }

/* 👑 the souk's menu in the owner's gold design (2026-11-15): plum velvet tiles, gold 3D icons cut from
   the owner's picture (public/img/souk-menu/<data-ic>.webp — the button's emoji is hidden, its words stay
   for screen readers), the "כלי השוק" plaque as the heading, gold Secular One labels. A tile with no
   picture (the secret room) keeps its emoji with a gold glow. */
.bz-mbtn {
  height: 50px; padding: 0 22px 0 18px; color: #f6d77e; font: 400 19px 'Secular One', Rubik, sans-serif; letter-spacing: .3px;
  background: radial-gradient(120% 140% at 50% 0%, #6b1f45 0%, #3d1029 60%, #2a0a1c 100%);
  box-shadow: inset 0 0 0 2px #2a0a1c, inset 0 0 0 3px #e6bf66, 0 0 0 2px #7a5420, 0 0 0 4px #f3d27f, 0 6px 18px rgba(0, 0, 0, .5), 0 0 22px rgba(255, 210, 110, .4);
  text-shadow: 0 1px 0 #2a0a1c, 0 0 10px rgba(255, 211, 110, .35);
}
.bz-mbtn:hover { box-shadow: inset 0 0 0 2px #2a0a1c, inset 0 0 0 3px #ffe08f, 0 0 0 2px #7a5420, 0 0 0 4px #ffe08f, 0 8px 22px rgba(0, 0, 0, .5), 0 0 32px rgba(255, 210, 110, .65); }
.bz-mstar { color: #f3d27f; text-shadow: 0 0 8px rgba(255, 211, 110, .6); }
.bz-menu {
  width: min(470px, calc(100% - 28px)); row-gap: 22px; column-gap: 10px; padding: 12px 14px 16px; border-radius: 26px;
  background:
    radial-gradient(90% 60% at 50% 0%, rgba(150, 50, 100, .35), transparent 70%),
    linear-gradient(170deg, #4a1533 0%, #33102a 55%, #240a1c 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 230, 168, .18), 0 0 0 2px #7a5420, 0 0 0 4px #e6bf66, 0 0 0 5px #7a5420, 0 22px 50px rgba(0, 0, 0, .6), 0 0 40px rgba(224, 180, 80, .25);
}
.bz-menu::before {
  content: ''; justify-self: center; width: min(250px, 70%); aspect-ratio: 480 / 166; margin: 0 0 2px;
  background: url('/img/souk-menu/title.webp') center / contain no-repeat;
}
.bz-menu .bz-ic {
  justify-content: flex-end; min-height: 108px; padding: 0 4px 10px; border-radius: 18px; gap: 4px;
  border: 1.5px solid rgba(230, 190, 110, .5);
  background: linear-gradient(170deg, #5a1a3c 0%, #43122e 55%, #350e25 100%);
  box-shadow: inset 0 1px 0 rgba(255, 220, 160, .18), inset 0 -10px 18px rgba(0, 0, 0, .25), 0 4px 12px rgba(0, 0, 0, .4);
  text-shadow: 0 0 10px rgba(255, 200, 90, .55);
}
.bz-menu .bz-ic[data-ic] { font-size: 0; color: transparent; text-shadow: none; }
.bz-menu .bz-ic[data-ic] > span[aria-hidden=true]:not(.sk-badge):not(.sk-cnt) { display: none; }
.bz-menu .bz-ic[data-ic]::before {
  content: ''; flex: none; width: 76px; height: 76px; margin-top: -20px;
  background: center / contain no-repeat; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .55));
  transition: transform .2s cubic-bezier(.3, 1.5, .5, 1);
}
.bz-menu .bz-ic[data-ic=walk]::before { background-image: url('/img/souk-menu/walk.webp'); }
.bz-menu .bz-ic[data-ic=people]::before { background-image: url('/img/souk-menu/people.webp'); }
.bz-menu .bz-ic[data-ic=days]::before { background-image: url('/img/souk-menu/days.webp'); }
.bz-menu .bz-ic[data-ic=tour]::before { background-image: url('/img/souk-menu/tour.webp'); }
.bz-menu .bz-ic[data-ic=list]::before { background-image: url('/img/souk-menu/list.webp'); }
.bz-menu .bz-ic[data-ic=map]::before { background-image: url('/img/souk-menu/map.webp'); }
.bz-menu .bz-ic[data-ic=air]::before { background-image: url('/img/souk-menu/air.webp'); }
.bz-menu .bz-ic[data-ic=home]::before { background-image: url('/img/souk-menu/home.webp'); }
.bz-menu .bz-ic[data-ic=sound]::before { background-image: url('/img/souk-menu/sound.webp'); }
.bz-menu .bz-ic[data-ic=passport]::before { background-image: url('/img/souk-menu/passport.webp'); }
.bz-menu .bz-ic[data-ic=quests]::before { background-image: url('/img/souk-menu/quests.webp'); }
.bz-menu .bz-ic[data-ic=album]::before { background-image: url('/img/souk-menu/album.webp'); }
.bz-menu .bz-ic[data-ic=game]::before { background-image: url('/img/souk-menu/game.webp'); }
.bz-menu .bz-ic[data-ic=look]::before { background-image: url('/img/souk-menu/look.webp'); }
.bz-menu .bz-ic[data-ic=photo]::before { background-image: url('/img/souk-menu/photo.webp'); }
.bz-menu .bz-ic[data-ic=exit]::before { background-image: url('/img/souk-menu/exit.webp'); }
.bz-menu .bz-ic:hover::before { transform: translateY(-3px) scale(1.06); }
.bz-menu .bz-ic::after { font: 400 15px/1.15 'Secular One', Rubik, sans-serif; color: #f6d77e; text-shadow: 0 1px 0 #1d0614, 0 0 8px rgba(255, 211, 110, .3); }
.bz-menu .bz-ic:hover { background: linear-gradient(170deg, #6c2149 0%, #4f1636 55%, #3c1029 100%); box-shadow: inset 0 1px 0 rgba(255, 220, 160, .25), 0 0 0 1px #f3d27f, 0 8px 18px rgba(0, 0, 0, .45), 0 0 20px rgba(243, 210, 127, .35); }
.bz-menu .bz-ic:not([data-ic]) { font-size: 40px; padding-top: 10px; }
.bz-menu .sk-badge { font-size: 12px; color: #fff; }
.bz-menu .sk-cnt { font-size: 12px; color: #f6d77e; }
.bz-menu .pl-hud { border-color: #e6bf66; background: linear-gradient(180deg, #4a1533, #2c0b20); box-shadow: 0 0 0 1px #7a5420, 0 0 14px rgba(243, 210, 127, .25); color: #f6d77e; }
@media (max-width: 600px) {
  .bz-menu { row-gap: 18px; column-gap: 8px; padding: 10px 10px 12px; }
  .bz-menu .bz-ic { min-height: 100px; }
  .bz-menu .bz-ic[data-ic]::before { width: 70px; height: 70px; margin-top: -18px; }
  .bz-menu .bz-ic::after { font-size: 13px; }
}
@media (max-width: 340px) { .bz-menu .bz-ic[data-ic]::before { width: 58px; height: 58px; } }
@media (prefers-reduced-motion: reduce) { .bz-menu .bz-ic::before { transition: none; } }

/* (owner, 2026-11-17) the menu stays inside a phone's screen: it scrolls within itself */
.bz-menu { max-height: calc(100dvh - 96px - var(--bottom-nav, 0px)); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
@media (max-width: 600px) {
  .bz-menu { row-gap: 14px; column-gap: 6px; padding: 8px 8px 10px; }
  .bz-menu .bz-ic { min-height: 82px; padding-bottom: 8px; }
  .bz-menu .bz-ic[data-ic]::before { width: 52px; height: 52px; margin-top: -8px; }
  .bz-menu .bz-ic::after { font-size: 12px; }
  .bz-menu .bz-ic:not([data-ic]) { font-size: 30px; padding-top: 6px; }
  .bz-menu::before { width: min(190px, 60%); }
}
@media (max-height: 640px) and (max-width: 600px) { .bz-menu { grid-template-columns: repeat(5, minmax(0, 1fr)); } .bz-menu .bz-ic { min-height: 72px; } }

/* 🌑 the shadow market is only the game (owner, 2026-11-17): the market's tools are hidden there */
.bz-pure .bz-menu .bz-ic:is([data-ic=walk], [data-ic=tour], [data-ic=list], [data-ic=map], [data-ic=days], [data-ic=passport], [data-ic=quests], [data-ic=game], [data-ic=look], [data-ic=photo], [data-ic=album]) { display: none; }

/* 🌅 The entrance from above (souk-welcome.js, owner 2026-11-18): a big greeting in the market's own
   letters and colours, then the newest items in 5 squares at the top. */
.sw-greet { position: absolute; inset-inline: 12px; top: 18%; z-index: 26; display: flex; flex-direction: column; align-items: center; gap: 4px;
  text-align: center; pointer-events: none; opacity: 0; transform: scale(.92); transition: opacity .8s ease, transform 1s cubic-bezier(.2,.9,.3,1.2); }
.sw-greet.in { opacity: 1; transform: none; }
.sw-greet.out { opacity: 0; transform: scale(1.06) translateY(-12px); transition: opacity .8s ease, transform .8s ease; }
.sw-x { pointer-events: auto; position: absolute; top: -36px; inset-inline-end: 0; width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: rgba(0, 0, 0, .45); color: #fff; font-size: 18px; cursor: pointer; }
.sw-x:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.sw-main, .sw-xtxt { font-family: var(--sw-font), 'Secular One', Rubik, sans-serif; font-weight: var(--sw-w); line-height: 1.05; letter-spacing: .01em; }
.sw-main { font-size: calc(clamp(44px, 10.5vw, 112px) * var(--sw-big)); }
.sw-extra { display: inline-flex; align-items: center; gap: 4px; }
.sw-xtxt { font-size: calc(clamp(32px, 7.5vw, 78px) * var(--sw-big)); }
.sw-em { font-size: clamp(28px, 6vw, 60px); filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .45)); }
.sw-word { display: inline-block; white-space: nowrap; }
.sw-ch { display: inline-block; background: var(--sw-fill); -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: 2px var(--sw-stroke); paint-order: stroke fill;
  filter: drop-shadow(0 4px 0 var(--sw-stroke)) drop-shadow(0 0 22px var(--sw-glow)) drop-shadow(0 8px 18px rgba(0, 0, 0, .55));
  animation: swPop .7s cubic-bezier(.2, 1.6, .4, 1) both; animation-delay: var(--d, 0s); }
.sw-extra .sw-ch { background: linear-gradient(180deg, #fff, var(--hc, var(--sw-accent))); -webkit-background-clip: text; background-clip: text; }
.sw-greet.neon .sw-ch { animation: swPop .7s cubic-bezier(.2, 1.6, .4, 1) both, swNeon 2.6s ease-in-out infinite; animation-delay: var(--d, 0s), calc(var(--d, 0s) + .8s); }
.sw-sub { margin-top: 8px; font: 700 clamp(17px, 3.6vw, 28px) var(--sw-font), Rubik, sans-serif; color: var(--sw-sub);
  text-shadow: 0 2px 0 var(--sw-stroke), 0 0 16px var(--sw-glow), 0 3px 10px rgba(0, 0, 0, .7); animation: swUp .8s ease 1.2s both; }
.sw-day { font: 600 clamp(14px, 3vw, 19px) Rubik, sans-serif; color: #fff; padding: 4px 14px; border-radius: 999px;
  background: rgba(0, 0, 0, .42); border: 1px solid var(--sw-accent); animation: swUp .8s ease 1.6s both; }
@keyframes swPop { from { opacity: 0; transform: translateY(.5em) scale(.3) rotate(-12deg); } to { opacity: 1; transform: none; } }
@keyframes swUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes swNeon { 0%, 100% { filter: drop-shadow(0 4px 0 var(--sw-stroke)) drop-shadow(0 0 22px var(--sw-glow)); } 50% { filter: drop-shadow(0 4px 0 var(--sw-stroke)) drop-shadow(0 0 40px var(--sw-glow)) drop-shadow(0 0 8px #fff); } }
.sw-greet.still .sw-ch, .sw-greet.still .sw-sub, .sw-greet.still .sw-day { animation: none; }

.sw-strip { position: absolute; top: 100px; inset-inline: 0; margin-inline: auto; width: min(calc(100% - 16px), 720px); z-index: 25;
  opacity: 0; transform: translateY(-16px); transition: opacity .6s ease, transform .6s ease; }
.sw-strip.in { opacity: 1; transform: none; }
.sw-strip.out { opacity: 0; transform: translateY(-16px); }
.sw-head { margin: 0 0 4px; text-align: center; font: 700 14px 'Secular One', Rubik, sans-serif; color: #ffe9b8; text-shadow: 0 1px 6px rgba(0, 0, 0, .8); }
.sw-view { overflow: hidden; direction: ltr; border-radius: 14px; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.sw-view img { -webkit-user-drag: none; pointer-events: none; }
.sw-track { display: flex; width: calc(100% * (var(--n) + 2) / var(--n)); }
.sw-track:not(.full) { width: 100%; transform: none; justify-content: center; }
.sw-card { flex: 0 0 calc(100% / (var(--n) + 2)); box-sizing: border-box; padding: 0 3px; border: 0; background: none; cursor: pointer; direction: rtl;
  display: flex; flex-direction: column; align-items: stretch; gap: 2px; font: inherit; color: #fff; min-width: 0; }
.sw-track:not(.full) .sw-card { flex-basis: calc(100% / var(--n)); max-width: 150px; }
.sw-shop { display: block; padding: 2px 4px; border-radius: 6px 6px 0 0; background: rgba(40, 14, 30, .78); font: 700 clamp(10px, 2.4vw, 13px) Rubik, sans-serif;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; }
.sw-pic { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 0 0 10px 10px; border: 2px solid #ffd27a; background: #2a1830;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .5); }
.sw-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sw-price { align-self: center; margin-top: -22px; position: relative; z-index: 1; padding: 1px 7px; border-radius: 999px; background: #b8336a; color: #fff;
  font: 700 clamp(10px, 2.4vw, 13px) Rubik, sans-serif; }
.sw-price:empty { display: none; }
.sw-card:hover .sw-pic, .sw-card:focus-visible .sw-pic { border-color: #fff; transform: translateY(-2px); }
.sw-card:focus-visible { outline: 3px solid #fff; outline-offset: -2px; border-radius: 10px; }
.sw-ghost { position: absolute; z-index: 40; pointer-events: none; margin: 0; }
.sw-strip.still .sw-track.go { transition: none; }
@media (prefers-reduced-motion: reduce) { .sw-greet, .sw-strip { transition: none; } .sw-ch, .sw-sub, .sw-day { animation: none !important; } }

/* 🟢 "המוכר/ת בחנות" under the item's picture in the souk card (owner, 2026-11-18) */
.bz-ccol { flex: none; display: flex; flex-direction: column; align-items: center; gap: 6px; align-self: flex-start; }
.bz-hostin { margin: 0; display: inline-flex; align-items: center; gap: 6px; font: 700 13px Rubik, sans-serif; color: #1b6b3c; white-space: nowrap; }
.bz-hostin i { width: 11px; height: 11px; border-radius: 50%; background: #1fae5b; box-shadow: 0 0 0 0 rgba(31, 174, 91, .6); animation: bzHostBlink 1.4s ease-in-out infinite; flex: none; }
@keyframes bzHostBlink {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(31, 174, 91, .55); }
  50% { opacity: .35; box-shadow: 0 0 0 5px rgba(31, 174, 91, 0); }
}
html.phone-still .bz-hostin i { animation: bzHostBlink 1.4s ease-in-out infinite; }
html.a11y-still .bz-hostin i { animation: none; }
@media (prefers-reduced-motion: reduce) { .bz-hostin i { animation: none; } }

/* "👆 לחץ עלי" by a market shop's sign when you stand close (owner, 2026-11-18; replaced the floating "?") */
.bz-actbtn {
  position: absolute; z-index: 6; transform: translate(-50%, -100%);
  font: 700 17px "Secular One", Rubik, sans-serif; color: #fff; white-space: nowrap;
  padding: 10px 18px; min-height: 44px; border-radius: 999px; cursor: pointer;
  background: linear-gradient(180deg, #ef5c9c, #b8336a); border: 3px solid #ffe08a;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35), 0 0 0 4px rgba(255, 224, 138, .25);
  animation: bzActHop 1.4s ease-in-out infinite;
}
.bz-actbtn[hidden] { display: none; }
.bz-actbtn span { display: inline-block; animation: bzActTap 1.4s ease-in-out infinite; }
.bz-actbtn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@keyframes bzActHop { 0%, 100% { transform: translate(-50%, -100%); } 50% { transform: translate(-50%, calc(-100% - 6px)); } }
@keyframes bzActTap { 0%, 60%, 100% { transform: none; } 75% { transform: translateY(3px) scale(.9); } }
@media (prefers-reduced-motion: reduce) { .bz-actbtn, .bz-actbtn span { animation: none; } }
html.a11y-still .bz-actbtn, html.a11y-still .bz-actbtn span { animation: none; }

/* riddle hints + explanation on the scroll (owner, 2026-11-18) */
.sr-hint { margin: 12px 0 0; padding: 10px 14px; border-radius: 12px; background: #fff6d8; border: 2px dashed #d9a93a; color: #5a3a10; font: 500 16px/1.55 Rubik, sans-serif; }
.sr-hint[hidden], .sr-why[hidden], .sr-giveup[hidden] { display: none; }
.sr-hint b { color: #8c5a00; }
.sr-giveup { display: block; margin: 12px auto 0; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 2px solid #c9a46a; background: #fffaf0; color: #6b4520; font: 600 15px Rubik, sans-serif; cursor: pointer; }
.sr-giveup:focus-visible { outline: 3px solid #b8336a; outline-offset: 2px; }
.sr-why { margin: 14px 0 0; padding: 12px 16px; border-radius: 14px; background: #eaf7ee; border: 2px solid #3f8f5c; color: #18452a; font: 500 16px/1.6 Rubik, sans-serif; }
.sr-why > b { display: block; font: 700 17px "Secular One", Rubik, sans-serif; color: #1d6b3c; margin-bottom: 4px; }
.sr-why p { margin: 4px 0 0 !important; font-family: inherit !important; }

/* ✍️ think first on a scroll riddle (2026-11-19) */
.sr-riddle .tf { margin: 4px 0 10px; }
.sr-riddle .tf-type { background: rgba(255, 250, 235, .7); border-color: #8a5a2a; }
.sr-riddle .tf-lab, .sr-riddle .tf-show:disabled { color: #4a2d12; }

/* 🖼️ the item's picture over the whole top of the souk while its card is open (owner, 2026-11-26) */
.bz-card { z-index: 7; }
.bz-big { position: absolute; top: 0; left: 0; right: 0; bottom: 40%; z-index: 7; overflow: hidden; background: #140a10;
  display: grid; place-items: center; animation: bzBigIn .4s ease-out; transform-origin: 50% 100%;
  transition: transform .35s ease-in, opacity .35s ease-in; }
.bz-big[hidden] { display: none; }
.bz-big.out { transform: scale(.25); opacity: 0; }
.bz-bigbg { position: absolute; inset: -30px; background-size: cover; background-position: center; filter: blur(22px) brightness(.45); }
.bz-bigtrack { position: absolute; inset: 0; display: flex; will-change: transform; }
.bz-bigslide { flex: 0 0 100%; height: 100%; min-width: 0; }
.bz-big.many { touch-action: pan-y; cursor: grab; }
.bz-bigimg { position: relative; display: block; width: 100%; height: 100%; user-select: none; -webkit-user-drag: none; object-fit: contain; padding: calc(10px + env(safe-area-inset-top)) 10px 10px; box-sizing: border-box; }
@keyframes bzBigIn { from { opacity: 0; transform: scale(.4); } }
@media (prefers-reduced-motion: reduce) { .bz-big { animation: none; transition: none; } }
html.a11y-still .bz-big { animation: none; transition: none; }
/* more pictures: arrows that blink twice and stay faint, dots (owner, 2026-11-26) */
.bz-bigarr { position: absolute; top: 50%; z-index: 2; width: 44px; height: 64px; margin-top: -32px; border: 0; border-radius: 10px;
  background: rgba(20, 10, 16, .45); color: #fff; font: 700 40px/1 Rubik, sans-serif; cursor: pointer; opacity: .35;
  animation: bzArrBlink .55s ease-in-out 2; }
.bz-bigarr.l { left: 8px; } .bz-bigarr.r { right: 8px; }
.bz-bigarr[hidden] { display: none; }
.bz-bigarr:hover, .bz-bigarr:focus-visible { opacity: 1; }
@keyframes bzArrBlink { 0%, 100% { opacity: .35; } 50% { opacity: 1; background: rgba(184, 51, 106, .85); transform: scale(1.12); } }
.bz-bigdots { position: absolute; bottom: 10px; left: 0; right: 0; z-index: 2; display: flex; justify-content: center; gap: 7px; pointer-events: none; }
.bz-bigdots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .45); box-shadow: 0 0 3px rgba(0, 0, 0, .6); }
.bz-bigdots i.on { background: #fff; transform: scale(1.25); }
@media (prefers-reduced-motion: reduce) { .bz-bigarr { animation: none; } }
html.a11y-still .bz-bigarr { animation: none; }
.bz-bigarr.done { animation: none; }

/* 🧭 "מה בשוק" by kind (owner, 2026-11-26): משחקים · סדנאות ומוזיאון · סרטים ואירועים · עוד בשוק —
   each a dropdown with a drawn gold icon, every row = an icon badge, the name + where, one button */
.bz-fold.bz-cat { border: 0; margin: 8px 0; border-radius: 16px; background: linear-gradient(180deg, #fffaf0, #f6ead0); box-shadow: 0 1px 0 #fff inset, 0 0 0 1px #e3cfa5, 0 4px 12px rgba(94, 22, 54, .08); overflow: hidden; }
.bz-fold.bz-cat > summary { margin: 0; padding: 8px 12px; min-height: 56px; gap: 10px; font: 400 18px 'Secular One', Rubik, sans-serif; color: #3a1a24; }
.bz-fold.bz-cat > summary::before { order: 9; margin-inline-start: auto; content: ''; width: 9px; height: 9px; border: solid #7a2348; border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s; }
.bz-fold.bz-cat[open] > summary::before { transform: rotate(-135deg); }
.bz-fold.bz-cat[open] > summary { border-bottom: 1px solid #ead9b5; background: linear-gradient(180deg, #fff3dc, #f8e6c4); }
.bz-cic { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #ffe39a;
  background: radial-gradient(circle at 30% 25%, #9b2f5c, #5e1636 70%); box-shadow: inset 0 0 0 1.5px #d9b25a, 0 2px 6px rgba(94, 22, 54, .35); }
.bz-cic svg { width: 22px; height: 22px; }
.bz-ct { flex: 1; min-width: 0; }
.bz-cn { flex: none; min-width: 28px; padding: 1px 8px; border-radius: 999px; text-align: center; font: 700 13px Rubik, sans-serif; color: #5e1636; background: #f1dcb0; }
.bz-fold.bz-cat > ul, .bz-fold.bz-cat > .btn, .bz-fold.bz-cat > .bz-fold, .bz-fold.bz-cat > p { margin-inline: 12px; }
.bz-fold.bz-cat .bz-fold { margin-inline-start: 12px; }
.bz-list ul.bz-alist { margin: 8px 10px 10px; gap: 4px; }
.bz-list li.bz-arow { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 4px; border-bottom: 1px dashed #e5d6b8; }
.bz-list li.bz-arow:last-child { border-bottom: 0; }
.bz-aic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #7a2348;
  background: radial-gradient(circle at 35% 30%, #fff8e6, #f3dfb2); box-shadow: inset 0 0 0 1.5px #d9b25a; }
.bz-aic svg { width: 22px; height: 22px; }
.bz-atx { display: grid; min-width: 0; line-height: 1.25; }
.bz-atx b { font-weight: 700; font-size: 15.5px; color: #3a1a24; overflow-wrap: anywhere; }
.bz-atx small { font-size: 13px; color: #6a5440; }
.bz-ago { min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 0; cursor: pointer; white-space: nowrap;
  font: 700 14px Rubik, sans-serif; color: #fff; background: linear-gradient(180deg, #a83565, #7a2348); box-shadow: 0 2px 0 #4e0f2a, 0 3px 8px rgba(94, 22, 54, .3); }
.bz-ago:active { transform: translateY(1px); box-shadow: 0 1px 0 #4e0f2a; }
.bz-ago:focus-visible, .bz-fold.bz-cat > summary:focus-visible { outline: 3px solid #d9a032; outline-offset: 2px; }
.bz-online::before { content: ''; display: inline-block; width: 9px; height: 9px; margin-inline-end: 6px; border-radius: 50%; background: #1f9d55; box-shadow: 0 0 0 2px #c9f2d8; vertical-align: middle; }
@media (max-width: 360px) { .bz-ago { padding: 6px 10px; font-size: 13px; } .bz-list li.bz-arow { grid-template-columns: 34px minmax(0, 1fr) auto; } .bz-aic { width: 34px; height: 34px; } }

/* 📋 "מה בשוק" beside the "כלי השוק" plaque (owner, 2026-11-26): bigger, a gold pill of its own —
   the plaque on the right half of the top row, the button on the left half */
.bz-menu .pl-hud { order: -3; }
.bz-menu::before { order: -1; grid-column: span 2; width: 100%; margin: 0; align-self: center; }
.bz-menu .bz-ic[data-ic=list] {
  order: -1; grid-column: span 2; flex-direction: row; justify-content: center; gap: 8px;
  min-height: 84px; padding: 6px 12px; border-radius: 42px; border: 2px solid #f3d27f;
  background: radial-gradient(120% 120% at 50% 0%, #b8862f 0%, #8a5a1c 45%, #5c3410 100%);
  box-shadow: inset 0 1px 0 rgba(255, 240, 200, .55), inset 0 -8px 14px rgba(60, 25, 5, .45), 0 0 0 2px #7a5420, 0 6px 16px rgba(0, 0, 0, .45), 0 0 22px rgba(243, 210, 127, .45);
}
.bz-menu .bz-ic[data-ic=list]::before { width: 64px; height: 64px; margin: 0; }
.bz-menu .bz-ic[data-ic=list]::after { font-size: 20px; color: #fff6d8; text-shadow: 0 1px 0 #3a1a05, 0 0 10px rgba(255, 220, 140, .6); }
.bz-menu .bz-ic[data-ic=list]:hover { background: radial-gradient(120% 120% at 50% 0%, #cf9a3a 0%, #9a661f 45%, #6a3d12 100%); box-shadow: inset 0 1px 0 rgba(255, 240, 200, .6), 0 0 0 2px #7a5420, 0 8px 20px rgba(0, 0, 0, .45), 0 0 30px rgba(255, 220, 140, .65); }
@media (max-width: 600px) {
  .bz-menu .bz-ic[data-ic=list] { min-height: 64px; gap: 4px; padding: 4px 8px; }
  .bz-menu .bz-ic[data-ic=list]::before { width: 46px; height: 46px; }
  .bz-menu .bz-ic[data-ic=list]::after { font-size: 16px; }
}


/* 🙋 the market's host + 🎁 the surprise of the day + ⭐ its flagship (stall.js hostCard) */
.bz-host { position: absolute; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 30; width: min(460px, calc(100% - 24px)); display: flex; gap: 12px; align-items: flex-start; padding: 14px 14px 12px; border-radius: 20px; background: linear-gradient(150deg, #2a1636f2, #140b22f2); border: 2px solid #ffe08a; color: #fff; box-shadow: 0 14px 40px #0009; font-family: Rubik, sans-serif; animation: bzHostIn .7s cubic-bezier(.2, 1.4, .4, 1); }
.bz-host.out { opacity: 0; transform: translate(-50%, 24px); transition: opacity .35s, transform .35s; }
.bz-hav { flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 40px; background: radial-gradient(circle at 35% 30%, #fff6, var(--hc, #b8336a) 70%); border: 3px solid #ffe08a; animation: bzHostWave 2.6s ease-in-out infinite; }
.bz-htx { flex: 1; min-width: 0; }
.bz-hname { display: block; font: 400 17px "Secular One", Rubik, sans-serif; color: #ffe2a0; }
.bz-hsay { margin: 4px 0; font-size: 15px; line-height: 1.4; }
.bz-hsur { margin: 6px 0 10px; font-size: 14px; line-height: 1.4; background: #ffffff14; border-radius: 10px; padding: 6px 9px; color: #fff3cf; }
.bz-hrow { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.bz-hgo { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 14px; border: 0; background: linear-gradient(#ffd56a, #e09a22); color: #2a1300; cursor: pointer; font-family: Rubik, sans-serif; text-align: start; min-height: 48px; box-shadow: 0 4px 0 #9a5f0e; }
.bz-hgo small { display: block; font-size: 11px; font-weight: 600; }
.bz-hgo b { display: block; font: 400 16px "Secular One", Rubik, sans-serif; }
.bz-hlater { border: 1.5px solid #ffffff55; background: transparent; color: #fff; border-radius: 12px; padding: 10px 12px; cursor: pointer; min-height: 44px; font-family: Rubik, sans-serif; }
.bz-hx { position: absolute; top: 6px; inset-inline-end: 8px; width: 34px; height: 34px; border: 0; background: transparent; color: #fff; font-size: 16px; cursor: pointer; }
.bz-hgo:focus-visible, .bz-hlater:focus-visible, .bz-hx:focus-visible { outline: 3px solid #ffe27a; outline-offset: 2px; }
@keyframes bzHostIn { from { opacity: 0; transform: translate(-50%, 30px) scale(.92); } }
@keyframes bzHostWave { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg) scale(1.05); } }
html.a11y-still .bz-host, html.a11y-still .bz-host * { animation: none !important; }
.bz-arow.bz-away { opacity: .72; }
