.bt-vivo { padding: 12px 16px 24px; font: 500 15px/1.5 Poppins,system-ui,sans-serif; color: #19264a; }
.vivo-back { display: inline-flex; align-items: center; min-height: 44px; color: #364680; font-weight: 700; text-decoration: none; }
.bt-vivo h1 { margin: 4px 0 18px; color: #172653; font-size: clamp(28px,8vw,36px); font-weight: 900; letter-spacing: -.055em; }
.vivo-heading { margin: 0 0 12px; color: #223459; font-size: 19px; font-weight: 800; }
.vivo-salas { display: grid; gap: 14px; }
.vivo-salas > div { width: 100%; margin: 0!important; }
.vivo-salas .card { border-radius: 16px; color: #1d2c50; }
.vivo-salas .card.border-primary { border: 1px solid #cfd6e8!important; background: white; }
.vivo-salas .card.border-primary .ribbon { background: #293ba0!important; }
.vivo-salas .card-body > .btn { min-height: 44px; border-radius: 10px; font-weight: 800; }
.vivo-salas .card-body > .btn-blue { background: #ffce58; border-color: #ffce58; color: #192650; }
.vivo-salas .card-body > .btn-info { width: 100%; background: #edf0fb; border-color: #dce1f2; color: #24387e; }
.vivo-salas .precios-container { border-top: 1px dashed #bfc7dd; color: #1d2c50; overflow-wrap: anywhere; }
.vivo-historial { margin-top: 26px; }
.vivo-historial table { font-size: 13px; background: white; }
.vivo-historial th { background: #223567; color: white; }
.vivo-historial .btn { border-radius: 8px; font-weight: 700; }
.vivo-precio { display: flex; justify-content: space-between; align-items: center; padding: 12px 15px; border-radius: 12px; border: 1px solid #d6d9e5; background: white; }
.vivo-precio strong { color: #273ba1; font-size: 20px; }
.vivo-cartonera { padding: 14px 10px 12px; border-radius: 16px; background: #202e71; color: white; }
.vivo-cartonera h2 { margin: 0 4px; color: white; font-size: 22px; font-weight: 800; }
.vivo-cartonera p { margin: 2px 4px 12px; color: #e1e6ff; font-size: 14px; }
.vivo-cartonera .grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 5px; margin: 0; padding: 0; }
.vivo-cartonera .carton { min-height: 44px; padding: 4px 0; border: 1px solid transparent; border-radius: 8px; background: #fff8eb; color: #24355d; font-weight: 800; }
.vivo-cartonera .carton.seleccionado { background: #ffce58; color: #182448; box-shadow: inset 0 0 0 2px #975b0c; }
.vivo-cartonera .carton:focus-visible { outline: 3px solid #68cbff; outline-offset: 0; }
.bt-vivo:has(#btnIrAPagar:not(.d-none)) { padding-bottom: 94px; }
.bt-vivo #btnIrAPagar { bottom: calc(60px + env(safe-area-inset-bottom)); width: min(100%,456px); margin: auto; padding: 8px 16px!important; background: #faf9f5; z-index: 989; }
.bt-vivo #btnIrAPagar button { width: 100%; min-height: 46px; border: 0; border-radius: 10px; background: #ffce58; color: #192650; font-weight: 800; }
.bt-vivo .modal-dialog { top: auto; width: calc(100% - 24px); max-width: 420px; margin: 12px auto; }
.bt-vivo .modal.show .modal-dialog { transform: none; }
.bt-vivo .modal-content { border-radius: 15px; color: #19264a; }
.bt-vivo .modal-header { background: #24377e!important; color: white; }
.bt-vivo .modal-header .modal-title { color: white!important; }

/* Comprobante y cartones aprobados de la sala en vivo. */
.vivo-pase { margin-bottom: 16px; padding: 18px; border-radius: 18px; background: #202f73; color: #fff; }
.vivo-pase h2 { margin: 0; font-size: 24px; color: inherit; }
.vivo-pase p { margin: 4px 0 12px; }
.vivo-pase dl { margin: 14px 0; padding: 10px 0; border-block: 1px dashed #8492c0; }
.vivo-pase dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.vivo-pase dt { font-weight: 500; }
.vivo-pase dd { margin: 0; font-weight: 800; text-align: right; }
.vivo-pase #timer_bingo { display: block; color: #ffdb77; font-size: 20px; font-variant-numeric: tabular-nums; }
.vivo-entrar { display: block; padding: 12px; border-radius: 10px; background: #ffce58; color: #182652; text-align: center; font-weight: 800; text-decoration: none; }
.vivo-recibo > p a { color: #2d4299; font-weight: 700; }
.vivo-cartones-aprobados { display: grid; gap: 14px; }
.vivo-carton-aprobado { overflow: hidden; border: 1px solid #d3d6e1; border-radius: 14px; background: white; }
.vivo-carton-aprobado header { display: flex; align-items: center; justify-content: space-between; padding: 4px 14px; background: #26367e; color: white; }
.vivo-carton-aprobado h3 { margin: 0; font-size: 19px; color: inherit; }
.vivo-carton-aprobado header a { display: inline-flex; align-items: center; min-height: 44px; color: #ffdb77; font-weight: 700; }
.vivo-carton-aprobado table { width: 100%; table-layout: fixed; border-collapse: collapse; text-align: center; }
.vivo-carton-aprobado th { height: 38px; text-align: center; font: 800 23px Georgia,serif; background: #ff8ca7; }
.vivo-carton-aprobado th:nth-child(2) { background: #ffb666; }
.vivo-carton-aprobado th:nth-child(3) { background: #55dbae; }
.vivo-carton-aprobado th:nth-child(4) { background: #76c8ff; }
.vivo-carton-aprobado th:nth-child(5) { background: #c1a1ff; }
.vivo-carton-aprobado td { border: 1px solid #e4dfd2; padding: 0; background: #fffaf0; }
.vivo-carton-aprobado td button { width: 100%; min-height: 44px; border: 0; background: transparent; color: #223254; font: 800 18px system-ui,sans-serif; }
.vivo-carton-aprobado td button[aria-pressed="true"],.vivo-carton-aprobado .vivo-libre { background: #273da1; color: white; font-weight: 800; }

.vivo-top, .vivo-guia-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.vivo-help { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 12px; border: 0; border-radius: 12px; color: #252554; background: #ffda71; font-size: 12px; font-weight: 800; }
.vivo-help span { display: grid; place-items: center; width: 20px; height: 20px; border: 2px solid currentColor; border-radius: 50%; }
#vivo-guia { position: fixed; inset: 0; width: min(410px, calc(100% - 24px)); max-height: 84vh; max-height: 84dvh; margin: auto; padding: 0; overflow: hidden; border: 0; border-radius: 18px; background: #fffaf2; color: #19264a; box-shadow: 0 12px 48px #121c4d55; }
#vivo-guia::backdrop { background: #101936bc; }
#vivo-guia form { display: flex; flex-direction: column; max-height: inherit; margin: 0; }
.vivo-guia-head { flex: none; padding: 10px 16px; color: white; background: #293ba0; }
.vivo-guia-head button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: #ffffff22; color: white; font-size: 25px; }
#vivo-guia ol { margin: 0; padding: 18px 16px; overflow-y: auto; overscroll-behavior: contain; list-style: decimal outside; padding-left: 44px; }
#vivo-guia li { padding-left: 5px; margin-bottom: 12px; }
#vivo-guia li:last-child { margin-bottom: 0; }
#vivo-guia li::before { content: none; }
#vivo-guia li::marker { color: #3743a4; font-weight: 800; }
.vivo-entendido { flex: none; margin: 0 16px 16px; min-height: 44px; width: calc(100% - 32px); border: 0; border-radius: 10px; background: #ffda71; color: #252554; font-weight: 800; }
.vivo-guia-head h2 { margin: 0; color: inherit; font-size: 20px; font-weight: 800; }

/* Cartones aprobados de las próximas partidas. */
.mc-partida { padding: 16px; margin-bottom: 14px; border-radius: 16px; border: 1px solid #d3d9e6; background: white; }
.mc-partida h2 { margin: 0 0 4px; font-size: 21px; font-weight: 800; color: #192963; }
.mc-partida p { margin-bottom: 12px; color: #445273; }
.mc-partida .vivo-carton-aprobado { margin-top: 8px; }
.mc-partida summary,.mc-pdf { padding: 10px 12px; min-height: 44px; font-weight: 700; }
.mc-partida summary { cursor: pointer; color: #23376a; }
.mc-pdf { display: inline-flex; align-items: center; color: #293ba0; }
