/* Tikit · Cliente · Lugares de eventos (lugares.js, 29-09-2026) */
.lg-wrap { display: grid; gap: 14px; min-width: 0; }
.lg-mapcol, .lg-listcol { min-width: 0; }
.lg-map { position: relative; height: 220px; border-radius: 18px; overflow: hidden; border: 1px solid color-mix(in srgb,var(--brand-ink) 22%,transparent); background: var(--surface); isolation: isolate; }
.lg-sketch, .lg-sketch svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.lg-leaflet { position: absolute; inset: 0; z-index: 1; background: var(--surface); opacity: 0; transition: opacity .3s ease; }
.lg-map.is-live .lg-leaflet { opacity: 1; }
.lg-map .leaflet-container { font: inherit; background: var(--surface); }
.lg-pin { display: block; width: 20px; height: 20px; border-radius: 50%; background: var(--brand); border: 3px solid var(--surface); box-shadow: 0 0 0 2px color-mix(in srgb,var(--brand-ink) 45%,transparent); box-sizing: border-box; transition: transform .15s ease, box-shadow .15s ease; }
.lg-pin { position: absolute; transform: translate(-50%, -50%); padding: 0; cursor: pointer; }
.lg-pin span { display: none; }
.lg-pin.is-on { transform: translate(-50%, -50%) scale(1.35); box-shadow: 0 0 0 6px color-mix(in srgb,var(--brand-ink) 35%,transparent); background: #fff; }
.lg-sort { margin-bottom: 10px; }
.lg-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lg-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 8px; border-radius: 16px; border: 1px solid var(--line, color-mix(in srgb,var(--ink) 8%,transparent)); background: var(--surface, var(--surface)); min-width: 0; transition: border-color .15s ease, background .15s ease; }
.lg-row.is-on { border-color: var(--brand-ink); background: color-mix(in srgb,var(--brand-ink) 8%,transparent); }
.lg-row-main { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; color: inherit; text-decoration: none; }
.lg-row-art { flex: none; width: 52px; height: 52px; border-radius: 12px; overflow: hidden; position: relative; }
.lg-row-art > *, .lg-hero-art > *, .lg-ev-art > :first-child { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lg-row-t { display: grid; gap: 1px; min-width: 0; }
.lg-row-t > * { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lg-row-t small { font-size: 12px; }
.lg-row .btn { flex: none; }
.lg-live-t { color: var(--brand-ink); font-weight: 600; }
.lg-live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--brand-ink); }
.lg-live i { width: 8px; height: 8px; border-radius: 50%; background: #7CE0A3; box-shadow: 0 0 0 4px rgba(124,224,163,.2); }
.lg-h { margin: 22px 0 10px; font-size: 16px; }
@media (min-width: 900px) {
  .lg-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; }
  .lg-mapcol { order: 2; position: sticky; top: 84px; }
  .lg-map { height: min(620px, calc(100vh - 120px)); }
}

/* Ficha */
.lg-page { display: grid; gap: 16px; min-width: 0; }
.lg-hero { display: grid; gap: 14px; min-width: 0; }
.lg-hero-art { position: relative; display: block; aspect-ratio: 16 / 7; border-radius: 22px; overflow: hidden; background: var(--surface); }
.lg-hero-t h1 { margin: 4px 0; font-size: clamp(24px, 5vw, 34px); line-height: 1.1; }
.lg-hero-t p { margin: 0 0 10px; }
.lg-sec h2 { font-size: 17px; margin: 0 0 10px; }
.lg-grid { display: grid; gap: 16px; min-width: 0; }
.lg-main, .lg-side { display: grid; gap: 16px; min-width: 0; align-content: start; }
.lg-evs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.lg-ev { display: grid; gap: 8px; color: inherit; text-decoration: none; min-width: 0; }
.lg-ev-art { position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; display: block; }
.lg-ev-date { position: absolute; left: 8px; top: 8px; z-index: 1; background: color-mix(in srgb,var(--bg) 85%,transparent); border-radius: 10px; padding: 4px 8px; font-size: 12px; text-align: center; line-height: 1.1; }
.lg-ev-date b { display: block; font-size: 16px; }
.lg-ev-t { display: grid; gap: 2px; min-width: 0; }
.lg-ev-t b { font-size: 14px; line-height: 1.25; }
.lg-bars { border-color: color-mix(in srgb,var(--brand-ink) 40%,transparent); }
.lg-bars-h { display: flex; flex-direction: column; gap: 4px; }
.lg-bars-h h2 { margin: 0; }
.lg-bar-list, .lg-near { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.lg-bar { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 8px 0; border-top: 1px solid var(--line, color-mix(in srgb,var(--ink) 8%,transparent)); }
.lg-bar-t { flex: 1; min-width: 0; display: grid; }
.lg-bar-t small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lg-wait { display: grid; text-align: right; flex: none; line-height: 1.1; }
.lg-wait b { font-size: 15px; color: #7CE0A3; }
.lg-wait.warn b { color: #F2C66D; }
.lg-wait small { font-size: 12px; color: var(--muted, #9a9ca5); }
.lg-bar .btn, .lg-bar img, .lg-bar .logo { flex: none; }
.lg-near a { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; min-width: 0; }
.lg-near a > span:not(.biz-logo) { flex: 1; min-width: 0; display: grid; }
.lg-facts dl { margin: 0; display: grid; gap: 12px; }
.lg-facts dt { font-weight: 700; font-size: 14px; display: flex; gap: 8px; align-items: center; }
.lg-facts dd { margin: 4px 0 0 24px; font-size: 14px; color: var(--muted, #b6b8c0); }
.lg-facts ul { margin: 0; padding-left: 16px; }
@media (min-width: 900px) {
  .lg-hero { grid-template-columns: 1.2fr 1fr; align-items: end; }
  .lg-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; }
  .lg-side { position: sticky; top: 84px; }
}

/* 29-09-2026 · En la lista de lugares en celular, «Seguir» queda como botón-ícono para no cortar los nombres. */
@media (max-width:479px){
  .lg-list [data-lg-follow]{width:44px;min-width:44px;height:44px;padding:0;justify-content:center;border-radius:50%}
  .lg-list [data-lg-follow] .lg-f-txt{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
}

/* 29-09-2026 · Crítica 2 de Cliente: próximos eventos sin columna vacía; metadatos a 12 px. */
.lg-evs{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
.lg-evs:has(> :only-child){grid-template-columns:minmax(0,1fr)}
@media (min-width:600px){.lg-evs > .lg-ev:only-child{grid-template-columns:minmax(0,260px) minmax(0,1fr);align-items:center;gap:18px}.lg-evs > .lg-ev:only-child .lg-ev-t b{font-size:17px}}
.lg-ev-date{font-size:12px}
.bm-modes small{font-size:12px}

/* 29-09-2026 · Crítica 3: aire arriba de «Organizadores» en la lista de Lugares. */
.lg-listcol > h3.lg-h{margin:32px 0 12px}

/* 29-09-2026 · «espera» de las barras del lugar a 12 px. */
.lg-wait small{font-size:12px}

/* Lugares que reúnen negocios (lugares-data.js, 29-09-2026): conteo, mapa del predio, agenda y avisos */
.lug-ficha { display: grid; gap: 14px; margin: 18px 0; min-width: 0; }
.lug-count { font-weight: 600; margin: 0; }
.lug-predio-h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-bottom: 12px; }
.lug-predio-h h2 { margin: 0; font-size: 18px; }
.lug-predio-h .seg button { min-height: 44px; }
.lug-plano { position: relative; aspect-ratio: 4 / 3; max-height: 460px; width: 100%; border-radius: 16px; overflow: hidden; background: var(--surface); border: 1px solid color-mix(in srgb,var(--brand-ink) 22%,transparent); }
.lug-plano svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.lug-plano rect { fill: color-mix(in srgb,var(--ink) 3.5%,transparent); stroke: color-mix(in srgb,var(--ink) 12%,transparent); stroke-width: .3; vector-effect: non-scaling-stroke; }
.lug-plano .lug-base { fill: var(--surface); stroke: none; }
.lug-plano .lug-sec-mesas { fill: color-mix(in srgb,var(--brand-ink) 8%,transparent); stroke: color-mix(in srgb,var(--brand-ink) 30%,transparent); }
.lug-plano .lug-sec-escenario { fill: color-mix(in srgb,var(--brand-ink) 18%,transparent); stroke: color-mix(in srgb,var(--brand-ink) 50%,transparent); }
.lug-plano .lug-sec-acceso { fill: rgba(124,224,163,.08); stroke: rgba(124,224,163,.35); stroke-dasharray: 2 2; }
.lug-sec-t { position: absolute; font-size: 12px; line-height: 1.2; color: var(--muted, var(--muted)); pointer-events: none; max-width: 40%; }
.lug-pt { position: absolute; transform: translate(-50%, -50%); width: 44px; height: 44px; padding: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: color-mix(in srgb,var(--surface) 72%,transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 2px solid color-mix(in srgb,var(--ink) 22%,transparent); color: #F6F6F6; font: 700 13px/1 inherit; transition: transform .15s ease, box-shadow .15s ease; }
.lug-pt .lug-pt-logo { width: 32px; height: 32px; border-radius: 50%; overflow: hidden; }
.lug-pt.is-open { border-color: var(--brand-ink); box-shadow: 0 0 0 3px color-mix(in srgb,var(--brand-ink) 25%,transparent); }
.lug-pt.is-closed { opacity: .7; }
.lug-pt.is-pend { border-style: dashed; }
.lug-pt.is-free { color: var(--muted, var(--muted)); border-color: color-mix(in srgb,var(--ink) 14%,transparent); }
.lug-pt.is-on { transform: translate(-50%, -50%) scale(1.12); box-shadow: 0 0 0 5px color-mix(in srgb,var(--brand-ink) 45%,transparent); z-index: 2; }
.lug-pt:focus-visible { outline: 2px solid var(--brand-ink); outline-offset: 2px; }
.lug-ley { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 10px 0; padding: 0; font-size: 12px; color: var(--muted, var(--muted)); }
.lug-ley li { display: inline-flex; align-items: center; gap: 6px; }
.lug-ley i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid color-mix(in srgb,var(--ink) 22%,transparent); }
.lug-ley i.is-open { border-color: var(--brand-ink); background: color-mix(in srgb,var(--brand-ink) 30%,transparent); } .lug-ley i.is-closed { opacity: .6; }
.lug-card { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: color-mix(in srgb,var(--brand-ink) 7%,transparent); border: 1px solid color-mix(in srgb,var(--brand-ink) 25%,transparent); min-width: 0; }
.lug-card > span:not(:first-child) { display: grid; gap: 3px; flex: 1; min-width: 0; }
.lug-card small { overflow-wrap: anywhere; }
.lug-card .btn { flex: none; min-height: 44px; }
.lug-card-ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb,var(--ink) 6%,transparent); flex: none; }
.lug-list, .lug-notes { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.lug-list a { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 6px 4px; color: inherit; text-decoration: none; border-radius: 12px; }
.lug-list-t { display: grid; gap: 2px; flex: 1; min-width: 0; }
.lug-list-f { display: flex; flex-wrap: wrap; gap: 6px; }
.lug-notes li { display: flex; gap: 10px; align-items: flex-start; }
.lug-notes li > span { display: grid; gap: 2px; min-width: 0; }
.lug-notes .bi { color: var(--brand-ink); margin-top: 2px; }
.biz-inlugar { display: flex; align-items: center; gap: 8px; min-height: 44px; margin: 10px clamp(8px,2vw,24px) 0; font-size: 14.5px; color: inherit; text-decoration: none; }
.biz-inlugar .bi-geo-alt-fill { color: var(--brand-ink); }
.biz-inlugar b { text-decoration: underline; text-decoration-color: color-mix(in srgb,var(--brand-ink) 50%,transparent); text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .lug-pt { transition: none; } }
.lug-card > :first-child { flex: none; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; }
.lug-card > :first-child > * { width: 100%; height: 100%; }
.lug-xlist { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 10px; }
.lug-xlist a.panel { padding: 10px 14px; }

/* Carrito del lugar (29-09-2026): pedir en varios puestos del mismo lugar y pagar una vez. */
.lug-multi { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 14px; padding: 12px 14px; border-radius: 16px; background: color-mix(in srgb,var(--brand-ink) 8%,transparent); border: 1px solid color-mix(in srgb,var(--brand-ink) 28%,transparent); }
.lug-multi > .bi { font-size: 20px; color: var(--brand-ink); }
.lug-multi > span { flex: 1 1 200px; min-width: 0; display: grid; gap: 2px; }
.lug-multi small { color: var(--muted, var(--muted)); }
.lug-multi .btn { min-height: 44px; }
.biz-inlugar-multi { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 6px clamp(8px,2vw,24px) 0; font-size: 13.5px; color: var(--muted, var(--muted)); }
.biz-inlugar-multi > .bi { color: var(--brand-ink); }
.biz-inlugar-multi > span { flex: 1 1 200px; min-width: 0; }
.biz-inlugar-multi .btn { min-height: 44px; }
.split-logo { width: 24px !important; height: 24px !important; flex: none; border-radius: 50%; overflow: hidden; }
.cart-part-h { gap: 12px; margin-bottom: 14px; align-items: center; }
.cart-part-sub { margin-left: auto; font-size: 15px; }
.cart-part-f { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.cart-part-f .btn, .lug-cart-more { min-height: 44px; }
.cart-split { list-style: none; margin: 0 0 12px; padding: 0 0 12px; display: grid; gap: 8px; border-bottom: 1px dashed color-mix(in srgb,var(--ink) 14%,transparent); }
.cart-split li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.cart-split li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pay-part-t { display: flex; align-items: center; gap: 8px; margin: 12px 0 4px; font-size: 13.5px; }
.pay-part-t:first-child { margin-top: 0; }
.pay-part-t b { flex: 1; min-width: 0; }
.pay-lug-ico { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 14px; background: color-mix(in srgb,var(--brand-ink) 14%,transparent); color: var(--brand-ink); font-size: 22px; }
.grp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grp-card { display: grid; gap: 12px; padding: 16px; border-radius: 20px; background: var(--surface, var(--surface)); border: 1px solid color-mix(in srgb,var(--ink) 8%,transparent); border-top: 4px solid var(--c, var(--brand-ink)); }
.grp-card.cancelada, .grp-card.reembolsada { opacity: .78; }
.grp-card-h { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.grp-card-t { flex: 1 1 140px; min-width: 0; display: grid; gap: 2px; }
.grp-qr { width: 168px; justify-self: center; padding: 8px; border-radius: 18px; background: #fff; position: relative; overflow: hidden; cursor: pointer; }
.grp-qr svg { display: block; width: 100%; height: auto; }
.grp-card .mq-items { margin: 0; font-size: 14px; color: var(--muted, var(--muted)); }
.grp-refund { margin: 0; font-size: 13.5px; display: flex; gap: 8px; }
.grp-refund .bi { color: var(--brand-ink); }
.grp-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.grp-acts .btn { flex: 1 1 120px; min-height: 44px; }
.grp-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.grp-foot .btn { min-height: 44px; }
.cart-split li > :first-child, .pay-part-t > :first-child { flex: none; width: 24px !important; height: 24px !important; min-width: 0; border-radius: 50%; overflow: hidden; }
.cart-split li > :first-child > *, .pay-part-t > :first-child > * { width: 100% !important; height: 100% !important; }
.host-brand-note { font-size: 12px; color: var(--muted, var(--muted)); }

.lug-sec-t small{display:block;font-size:12px;opacity:.75}
