/* YaTickets · plano de butacas común (yt-butacas.js). Paleta confirmada por Xavi 22:38: negro, turquesa y rosa, sin amarillo. */
.yb-cont { overflow: hidden; position: relative; display: grid; place-items: center; touch-action: manipulation; }
.yb-cont.yb-lupa { overflow: auto; place-items: start; -webkit-overflow-scrolling: touch; }
.yb-cont::-webkit-scrollbar { width: 0; height: 0; }
.yb-svg { display: block; font-family: inherit; }
.yb { cursor: pointer; --bf: #f1f5f9; --bs: #94a3b8; --bi: #0b5f66; --bn: #334155; }
.yb .yb-hit { fill: transparent; stroke: none; }
.yb .yb-s, .yb use { fill: var(--bf); stroke: var(--bs); stroke-width: 1.6; }
.yb .yb-l { fill: none; stroke: var(--bs); stroke-width: 1.4; stroke-linecap: round; opacity: .7; }
.yb .yb-ic { fill: none; stroke: var(--bi); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.yb .yb-n { display: none; fill: var(--bn); font-size: 13px; text-anchor: middle; font-weight: 500; pointer-events: none; }
.yb-num .yb .yb-n { display: block; }
/* libre: gris claro con contorno */
.yb.libre:hover { --bf: #e6f6f7; --bs: #0e7c86; }
/* elegida: turquesa con check blanco */
.yb.sel { --bf: #0e7c86; --bs: #0b5f66; --bi: #fff; --bn: #fff; }
.yb.sel .yb-s, .yb.sel use { filter: drop-shadow(0 0 3px rgba(14, 124, 134, .55)); }
/* ocupada: gris oscuro, sin número */
.yb.oc { cursor: default; --bf: #475569; --bs: #475569; --bi: #cbd5e1; }
.yb.oc .yb-l { stroke: #64748b; }
/* reservada (bloqueo temporal): gris medio con reloj */
.yb.res { cursor: default; --bf: #cbd5e1; --bs: #94a3b8; --bi: #334155; }
/* PMR, acompañante y visibilidad reducida: misma forma, borde de color e icono */
.yb.libre.pmr { --bf: #e6f6f7; --bs: #0b5f66; --bi: #0b5f66; }
.yb.libre.aco { --bf: #fdf2f8; --bs: #be185d; --bi: #9d174d; }
.yb.libre.vis { --bf: #f8fafc; --bs: #64748b; --bi: #475569; }
.yb.libre.vis .yb-s { stroke-dasharray: 4 3; }
/* zonas de precio: fondo y borde suave por zona */
.yb-zona { fill: #f8fafc; stroke: #e5e7eb; stroke-width: 1.5; }
.yb-zona.z1 { fill: rgba(14, 124, 134, .06); stroke: rgba(14, 124, 134, .25); }
.yb-zona.z2 { fill: rgba(219, 39, 119, .05); stroke: rgba(219, 39, 119, .22); }
.yb-zona.z3 { fill: rgba(55, 65, 81, .05); stroke: rgba(55, 65, 81, .2); }
.yb-zt { font-size: 17px; letter-spacing: 2px; text-anchor: middle; fill: #4b5563; text-transform: uppercase; }
.yb-zt.z1 { fill: #0b5f66; } .yb-zt.z2 { fill: #9d174d; } .yb-zt.z3 { fill: #374151; }
.yb-esc { fill: #1f2937; }
.yb-esc-t { fill: #fff; font-size: 20px; letter-spacing: 8px; text-anchor: middle; dominant-baseline: middle; }
.yb-caja { fill: #fff; stroke: #be185d; stroke-opacity: .45; stroke-width: 1.5; }
.yb-ct { font-size: 13px; text-anchor: middle; fill: #4b5563; }
.yb-t { font-size: 16px; text-anchor: middle; fill: #5b6470; dominant-baseline: middle; }
.yb-t.fila { font-size: 15px; font-weight: 500; fill: #4b5563; }
/* leyenda */
.yb-ley { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 17px; color: #4b5563; }
.yb-ley span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.yb-mini { width: 30px; height: 30px; flex: none; overflow: visible; }
.yb-num .yb.oc .yb-n, .yb-num .yb.res .yb-n { display: none; }
/* ocupada algo más pequeña: se distingue sin depender del color (idea de la comparativa) */
.yb.oc > use { transform: translate(4px, 4px) scale(.8); }
/* versión fluida (se repinta entera; p. ej. kiosko de cine) y sala oscura */
.yb-svg.yb-fluido { width: 100%; height: auto; }
.yb-oscuro .yb { --bf: #e2e8f0; --bs: #f1f5f9; --bn: #1e293b; }
.yb-oscuro .yb.oc { --bf: #64748b; --bs: #475569; --bi: #e2e8f0; }
.yb-oscuro .yb.sel { --bf: #14a3b0; --bs: #fff; --bi: #fff; }
.yb-oscuro .yb.libre.pmr { --bf: #083344; --bs: #22d3ee; --bi: #22d3ee; }
.yb-oscuro .yb.libre.aco { --bf: #083344; --bs: #f9a8d4; --bi: #f9a8d4; }
.yb-oscuro .yb-t { fill: #94a3b8; }

/* ---- v2 (26-10, taquilla v2.1): silueta dentro de botones HTML ---- */
.yb-silla { display: block; width: 100%; height: 100%; overflow: visible; }
.yb-silla use { fill: var(--bf, #f1f5f9); stroke: var(--bs, #94a3b8); stroke-width: 1.6; }
.yb-cupo { position: absolute; inset: -3px; border: 3px dashed var(--cc); border-radius: 12px; pointer-events: none; }
