:root,
[data-bs-theme="dark"] {
    --rl-fondo: #0b0e13;
    --rl-panel: #141922;
    --rl-panel-2: #1a2130;
    --rl-borde: #232a36;
    --rl-acento: #ff3d2e;
    --rl-acento-fuerte: #e02a1c;
    --rl-bien: #2fd27a;
    --rl-aviso: #ffc24a;
    --rl-mal: #ff6b5e;
    --bs-body-bg: var(--rl-fondo);
    --bs-body-color: #e8ecf2;
    --bs-secondary-color: #97a3b4;
    --bs-border-color: var(--rl-borde);
    --bs-link-color-rgb: 255, 122, 110;
    --bs-link-hover-color-rgb: 255, 160, 150;
}

body {
    min-height: 100vh;
    font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

.contenedor { max-width: 1280px; }
body.ancho .contenedor { max-width: 1760px; }

.barra { border-bottom: 1px solid var(--rl-borde); background: rgba(11, 14, 19, .92); }

.marca {
    display: inline-flex; align-items: center; gap: .55rem;
    color: #fff; font-weight: 700; letter-spacing: .02em; text-decoration: none; text-transform: uppercase;
}
.marca-icono { border-radius: .45rem; }
.marca-punto {
    width: .6rem; height: .6rem; border-radius: 50%;
    background: var(--rl-acento); box-shadow: 0 0 0 4px rgba(255, 61, 46, .18);
}

.etiqueta {
    margin-bottom: .5rem; color: var(--rl-acento);
    font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}

/* Menú lateral de los paneles */
.con-menu { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 1.75rem; align-items: start; }
.menu { display: flex; flex-direction: column; gap: .15rem; position: sticky; top: 1rem; }
.menu a {
    padding: .55rem .8rem; border-radius: .55rem;
    color: var(--bs-secondary-color); text-decoration: none; font-weight: 500;
}
.menu a:hover { background: var(--rl-panel); color: #fff; }
.menu a.activo { background: var(--rl-panel-2); color: #fff; box-shadow: inset 3px 0 0 var(--rl-acento); }
/* Ninguna sección ensancha la página: lo que no cabe (una tabla) se desliza dentro de su tarjeta. */
main { min-width: 0; }
.tarjeta { max-width: 100%; overflow-x: auto; }
@media (max-width: 860px) {
    .con-menu { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
    .menu { position: static; flex-direction: row; overflow-x: auto; padding-bottom: .4rem; }
    .menu a { white-space: nowrap; }
    .menu a.activo { box-shadow: inset 0 -3px 0 var(--rl-acento); }
}

.tarjeta { padding: 1.4rem; border: 1px solid var(--rl-borde); border-radius: .9rem; background: var(--rl-panel); }
.tarjeta + .tarjeta { margin-top: 1rem; }
.tarjeta h2 { font-size: 1.05rem; font-weight: 700; margin-bottom: 1rem; }
.cifra { font-size: 1.9rem; font-weight: 700; line-height: 1.1; }
.cifra-nombre { color: var(--bs-secondary-color); font-size: .85rem; }
.rejilla { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; }
.rejilla > .tarjeta { margin-top: 0; }

.btn-acento {
    --bs-btn-color: #fff; --bs-btn-bg: var(--rl-acento); --bs-btn-border-color: var(--rl-acento);
    --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--rl-acento-fuerte); --bs-btn-hover-border-color: var(--rl-acento-fuerte);
    --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--rl-acento-fuerte); --bs-btn-active-border-color: var(--rl-acento-fuerte);
    --bs-btn-disabled-color: #fff; --bs-btn-disabled-bg: #7a3a35; --bs-btn-disabled-border-color: #7a3a35;
    font-weight: 600;
}

.form-control, .form-select { border-color: var(--rl-borde); background-color: #0f131a; }
.form-control:focus, .form-select:focus { border-color: var(--rl-acento); box-shadow: 0 0 0 .2rem rgba(255, 61, 46, .2); }
.form-control-color { width: 3.2rem; padding: .25rem; }
.form-label { font-size: .88rem; color: #c3ccd9; margin-bottom: .3rem; }

.table { --bs-table-bg: transparent; --bs-table-border-color: var(--rl-borde); vertical-align: middle; }
.table th { color: var(--bs-secondary-color); font-size: .78rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }

.estado { display: inline-block; padding: .15rem .6rem; border-radius: 999px; font-size: .78rem; font-weight: 600; border: 1px solid currentColor; }
.estado.bien { color: var(--rl-bien); }
.estado.aviso { color: var(--rl-aviso); }
.estado.mal { color: var(--rl-mal); }
.estado.neutro { color: var(--bs-secondary-color); }

.escudo { width: 2.2rem; height: 2.2rem; border-radius: .45rem; object-fit: contain; background: #0f131a; }
.escudo-vacio {
    display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: .45rem;
    font-size: .72rem; font-weight: 700; color: #fff;
}
.vacio { padding: 2rem; text-align: center; color: var(--bs-secondary-color); border: 1px dashed var(--rl-borde); border-radius: .9rem; }

/* Sitio público */
.portada { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 2.5rem; align-items: center; padding: 2.5rem 0 3rem; }
.portada h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 800; line-height: 1.08; }
@media (max-width: 980px) { .portada { grid-template-columns: 1fr; } }
.seccion { padding: 2.75rem 0; border-top: 1px solid var(--rl-borde); }
.seccion h2 { font-size: 1.7rem; font-weight: 800; margin-bottom: .4rem; }
.demo { border: 1px solid var(--rl-borde); border-radius: 1rem; overflow: hidden; background: #000; }
.demo canvas { display: block; width: 100%; height: auto; }
.demo-controles { display: flex; flex-wrap: wrap; gap: .5rem; padding: .8rem; background: var(--rl-panel); align-items: center; }
.plan { display: flex; flex-direction: column; height: 100%; }
.plan.destacado { border-color: var(--rl-acento); box-shadow: 0 0 0 1px var(--rl-acento); }
.plan ul { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .45rem; font-size: .93rem; }
.plan li::before { content: "✓"; color: var(--rl-bien); font-weight: 700; margin-right: .5rem; }
.plan .precio { font-size: 1.8rem; font-weight: 800; }
.texto-legal { max-width: 760px; }
.pregunta { border-bottom: 1px solid var(--rl-borde); padding: .85rem 0; }
.pregunta summary { cursor: pointer; font-weight: 600; }
.pregunta p { margin: .6rem 0 0; color: #c3ccd9; line-height: 1.6; }
.texto-legal h2 { font-size: 1.15rem; font-weight: 700; margin-top: 1.6rem; }

/* Estudio de producción */
.estudio { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(360px, 1fr); gap: 1rem; align-items: start; }
.estudio > div { min-width: 0; }
/* En una sola columna, primero el marcador y sus controles: es lo que el operador usa todo el partido. */
@media (max-width: 1100px) {
    .estudio { grid-template-columns: minmax(0, 1fr); }
    .estudio > div:nth-child(2) { order: -1; }
}
.monitor { position: relative; background: #000; border: 1px solid var(--rl-borde); border-radius: .8rem; overflow: hidden; }
.monitor.vertical { max-width: 420px; margin: 0 auto; }
.monitor canvas { display: block; width: 100%; height: auto; }
.monitor video { display: none; }
.al-aire {
    position: absolute; top: .6rem; right: .6rem; padding: .2rem .6rem; border-radius: .4rem;
    font-size: .75rem; font-weight: 700; letter-spacing: .08em; background: rgba(0, 0, 0, .65); color: var(--bs-secondary-color);
}
.al-aire.activo { background: var(--rl-acento); color: #fff; }
.tablero { display: grid; grid-template-columns: 1fr auto 1fr; gap: .75rem; align-items: stretch; }
.lado { padding: 1rem; border-radius: .8rem; background: var(--rl-panel-2); border-top: 4px solid var(--lado, var(--rl-borde)); text-align: center; }
.lado .nombre { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lado .puntos { font-size: 3.6rem; font-weight: 800; line-height: 1; margin: .35rem 0 .6rem; font-variant-numeric: tabular-nums; }
.lado .detalle { color: var(--bs-secondary-color); font-size: .82rem; min-height: 1.2rem; }
.centro { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem; min-width: 150px; order: 2; }
#ladoLocal { order: 1; }
#ladoVisitante { order: 3; }
.puntos-fila { display: flex; align-items: center; justify-content: center; gap: .6rem; }
.btn-menos { width: 2.4rem; height: 2.4rem; padding: 0; border-radius: 50%; font-size: 1.3rem; line-height: 1; }
.btn-anotar { min-width: 4rem; min-height: 3rem; font-size: 1.15rem; }
.btn-reloj { min-width: 7rem; min-height: 2.8rem; font-weight: 600; }
.mas, .ajuste { margin-top: .7rem; width: 100%; }
.mas > summary, .ajuste > summary { color: var(--bs-secondary-color); font-size: .85rem; cursor: pointer; }
.campo-tiempo { width: 4.2rem; text-align: center; }
/* Accesos rápidos del estudio: solo en pantallas angostas, pegados arriba. */
.saltos { display: none; }
@media (max-width: 1100px) {
    .saltos {
        display: flex; gap: .4rem; position: sticky; top: 0; z-index: 5; margin: 0 -.25rem .75rem; padding: .45rem .25rem;
        background: var(--rl-fondo); border-bottom: 1px solid var(--rl-borde); overflow-x: auto;
    }
    .saltos a { flex: 1; padding: .5rem .6rem; border-radius: .5rem; background: var(--rl-panel-2); color: #fff; text-align: center; text-decoration: none; font-size: .88rem; font-weight: 600; white-space: nowrap; }
    #estudio .tarjeta { scroll-margin-top: 4rem; }
}
.reloj { font-size: 2rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.botones { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; }
.botones .btn { min-width: 3rem; }
.btn-accion { --bs-btn-color: #e8ecf2; --bs-btn-bg: #222b3a; --bs-btn-border-color: #2c374a; --bs-btn-hover-bg: #2c374a; --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: #3a4760; }
.btn-accion.encendido { --bs-btn-bg: var(--rl-acento); --bs-btn-border-color: var(--rl-acento); --bs-btn-hover-bg: var(--rl-acento-fuerte); }
.tecla { display: inline-block; margin-left: .35rem; padding: 0 .3rem; border: 1px solid rgba(255, 255, 255, .25); border-radius: .25rem; font-size: .68rem; opacity: .75; }
.registro { max-height: 300px; overflow-y: auto; font-size: .88rem; }
.registro .fila { display: flex; gap: .5rem; align-items: center; padding: .35rem 0; border-bottom: 1px solid var(--rl-borde); }
.registro .fila.anulado { opacity: .45; text-decoration: line-through; }
.registro .cuando { color: var(--bs-secondary-color); min-width: 4.2rem; font-variant-numeric: tabular-nums; }
.destino { display: flex; justify-content: space-between; gap: .75rem; padding: .5rem 0; border-bottom: 1px solid var(--rl-borde); font-size: .9rem; }
.conexion { font-size: .8rem; font-weight: 600; }
.conexion::before { content: "●"; margin-right: .35rem; }
.conexion.bien { color: var(--rl-bien); }
.conexion.mal { color: var(--rl-mal); }
.pestanas { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .9rem; }

/* Celular: el reloj arriba, a todo lo ancho, y debajo los dos equipos lado a lado. */
@media (max-width: 560px) {
    .tarjeta { padding: 1rem; }
    .tablero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .5rem; }
    .centro { grid-column: 1 / -1; order: -1; flex-direction: row; flex-wrap: wrap; min-width: 0; gap: .75rem; }
    .reloj { font-size: 2rem; }
    .lado { padding: .7rem .5rem; }
    .lado .puntos { font-size: 3.2rem; margin: .2rem 0; }
    /* Botones para el dedo: altos y a todo lo ancho de su equipo. */
    .lado .principales .btn-anotar { flex: 1 1 4rem; min-height: 3.6rem; font-size: 1.35rem; }
    .botones .btn { min-width: 2.7rem; min-height: 2.6rem; }
    #estudio .btn-sm { font-size: .95rem; }
}

/* Menú: el acceso a transmitir resalta */
.menu a.menu-destacado { color: #fff; font-weight: 700; }
.menu a.menu-destacado:not(.activo) { color: var(--rl-acento); }

/* Asistente para transmitir: pasos */
.pasos { display: flex; gap: .4rem; list-style: none; padding: 0; margin: 0 0 1.25rem; }
.pasos li { flex: 1; display: flex; align-items: center; gap: .45rem; padding: .5rem .6rem; border-radius: .6rem; background: var(--rl-panel); color: var(--bs-secondary-color); font-size: .85rem; font-weight: 600; min-width: 0; }
.pasos li.actual { background: var(--rl-panel-2); color: #fff; box-shadow: inset 0 -3px 0 var(--rl-acento); }
.pasos li.hecho { color: var(--rl-bien); }
.paso-numero { flex: none; display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: #222b3a; color: #fff; font-size: .8rem; }
.pasos li.actual .paso-numero { background: var(--rl-acento); }
.pasos li.hecho .paso-numero { background: rgba(47, 210, 122, .18); color: var(--rl-bien); }
.paso-nombre { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 420px) { .pasos li:not(.actual) .paso-nombre { display: none; } .pasos li:not(.actual) { flex: none; } }
.pie-pasos { display: flex; gap: .6rem; align-items: center; position: sticky; bottom: 0; z-index: 4; margin-top: 1rem; padding: .75rem 0; background: linear-gradient(transparent, var(--rl-fondo) 35%); }
.lista-partidos { display: grid; gap: .4rem; }
.partido-fila { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem 1rem; padding: .8rem 1rem; border-radius: .6rem; background: var(--rl-panel-2); color: #fff; text-decoration: none; }
.partido-fila:hover { background: #222b3a; color: #fff; }

/* Paso «Redes» */
.conectar { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: .6rem; }
.btn-red { display: flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3.2rem; border: 0; border-radius: .7rem; color: #fff; font-weight: 700; }
.btn-red:hover { color: #fff; filter: brightness(1.1); }
.btn-red.facebook { background: #1877f2; }
.btn-red.youtube { background: #e62117; }
.btn-red:disabled { opacity: .45; color: #fff; }
.btn-red small { font-weight: 400; opacity: .85; }
.red-icono { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: rgba(255, 255, 255, .2); font-family: Arial, sans-serif; }
.redes { display: grid; gap: .4rem; }
.red-fila { display: flex; align-items: center; gap: .75rem; padding: .7rem .8rem; border-radius: .6rem; background: var(--rl-panel-2); cursor: pointer; margin: 0; }
.red-fila .form-check-input { width: 1.4rem; height: 1.4rem; margin: 0; flex: none; }
.red-marca { flex: none; display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: .55rem; background: #3a4760; color: #fff; font-weight: 800; }
.red-marca.facebook { background: #1877f2; }
.red-marca.youtube { background: #e62117; }
.red-marca.instagram { background: linear-gradient(45deg, #f58529, #dd2a7b 50%, #8134af); }
.red-marca.tiktok { background: #111; box-shadow: inset 0 0 0 2px #25f4ee; }
.agregar-clave { border-top: 1px solid var(--rl-borde); padding: .7rem 0; }
.agregar-clave > summary { cursor: pointer; font-weight: 600; }

/* Paso «Cámara» */
.vista-camara { position: relative; aspect-ratio: 16 / 9; max-height: 60vh; margin: 0 auto; border-radius: .9rem; overflow: hidden; background: #000; border: 1px solid var(--rl-borde); }
.vista-camara video { width: 100%; height: 100%; object-fit: cover; display: block; }
.sin-camara { position: absolute; inset: 0; display: grid; place-items: center; color: var(--bs-secondary-color); }
.formato { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.formato label { display: flex; gap: .6rem; align-items: center; padding: .7rem .8rem; border-radius: .6rem; background: var(--rl-panel-2); cursor: pointer; margin: 0; }
.formato small { display: block; color: var(--bs-secondary-color); font-size: .78rem; }

/* Pantalla «En vivo»: el video ocupa todo y los controles flotan encima */
body.sin-marco { overflow: hidden; background: #000; }
.envivo { position: fixed; inset: 0; background: #000; color: #fff; overflow: hidden; touch-action: manipulation; }
.envivo-video { position: absolute; inset: 0; border: 0; border-radius: 0; background: #000; }
.envivo-video canvas { width: 100%; height: 100%; object-fit: contain; }
.envivo .monitor.vertical { max-width: none; }
.envivo .controles { position: absolute; z-index: 2; }
.envivo-arriba { top: 0; left: 0; right: 0; display: flex; align-items: center; gap: .5rem; padding: max(.5rem, env(safe-area-inset-top)) max(.6rem, env(safe-area-inset-right)) .5rem max(.6rem, env(safe-area-inset-left)); background: linear-gradient(rgba(0, 0, 0, .65), transparent); }
.envivo .al-aire { position: static; white-space: nowrap; }
.envivo .conexion { text-shadow: 0 1px 2px #000; white-space: nowrap; }
.btn-redondo { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 0; background: rgba(20, 25, 34, .72); color: #fff; font-size: 1.15rem; line-height: 1; text-decoration: none; flex: none; }
.btn-redondo:hover { color: #fff; background: rgba(40, 50, 66, .9); }
.envivo-aviso { position: absolute; z-index: 5; top: 3.6rem; left: 50%; transform: translateX(-50%); max-width: min(92vw, 560px); padding: .55rem .9rem; border-radius: .6rem; background: rgba(176, 38, 28, .95); color: #fff; font-size: .9rem; text-align: center; }
.envivo-lado { top: 50%; transform: translateY(-50%); width: 7.4rem; padding: .55rem; background: rgba(14, 18, 25, .72); backdrop-filter: blur(6px); border-radius: .9rem; border-top: 4px solid var(--lado, var(--rl-borde)); text-align: center; }
.envivo-lado.izquierda { left: max(.5rem, env(safe-area-inset-left)); }
.envivo-lado.derecha { right: max(.5rem, env(safe-area-inset-right)); }
.envivo-lado .nombre { font-size: .82rem; }
.envivo-lado .puntos { font-size: 2.2rem; margin: 0; }
.envivo-lado .puntos-fila { gap: .4rem; }
.envivo-lado .btn-menos { width: 2rem; height: 2rem; font-size: 1.1rem; }
.envivo-lado .principales { display: grid; gap: .35rem; margin-top: .4rem; }
.envivo-lado .principales .btn-anotar { width: 100%; min-height: 3.1rem; font-size: 1.25rem; }
.envivo-lado .detalle { font-size: .7rem; margin-top: .3rem; }
.envivo-abajo { left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem .8rem; padding: .6rem max(.6rem, env(safe-area-inset-right)) max(.6rem, env(safe-area-inset-bottom)) max(.6rem, env(safe-area-inset-left)); background: linear-gradient(transparent, rgba(0, 0, 0, .75) 40%); }
.envivo-reloj { flex-direction: row; min-width: 0; gap: .6rem; padding: .3rem .4rem .3rem .8rem; border-radius: 999px; background: rgba(14, 18, 25, .72); }
.envivo-reloj .reloj { font-size: 1.35rem; }
.envivo-reloj .btn-reloj { min-width: 5rem; min-height: 2.3rem; border-radius: 999px; }
.btn-salir { min-height: 2.9rem; padding: 0 1.4rem; border-radius: 999px; font-size: 1.05rem; }
.herramientas { display: flex; gap: .3rem; padding: .25rem; border-radius: 999px; background: rgba(14, 18, 25, .72); }
.herramientas button { border: 0; background: transparent; color: #dbe2ec; padding: .5rem .75rem; border-radius: 999px; font-size: .85rem; font-weight: 600; }
.herramientas button.activo { background: var(--rl-acento); color: #fff; }
.hoja { position: absolute; z-index: 6; left: 50%; bottom: 0; transform: translateX(-50%); width: min(100%, 560px); max-height: 62vh; overflow-y: auto; padding: .8rem 1rem max(1rem, env(safe-area-inset-bottom)); border-radius: 1rem 1rem 0 0; background: rgba(20, 25, 34, .97); box-shadow: 0 -8px 30px rgba(0, 0, 0, .5); }
.hoja[hidden], .hoja-panel[hidden] { display: none !important; }
.hoja-cabeza { display: flex; justify-content: space-between; align-items: center; margin-bottom: .6rem; }
.hoja .mas, .hoja .ajuste { margin-top: .6rem; }
.salir-espectador { display: none; position: absolute; z-index: 7; right: 1rem; bottom: 1rem; padding: .5rem .9rem; border: 0; border-radius: 999px; background: rgba(20, 25, 34, .6); color: #fff; font-size: .85rem; opacity: .55; }
.envivo.espectador .controles, .envivo.espectador .hoja { display: none !important; }
.envivo.espectador .salir-espectador { display: block; }
.envivo.espectador .salir-espectador:hover { opacity: 1; }
/* Celular vertical: los controles de cada equipo bajan, uno al lado del otro, sobre la franja negra. */
@media (orientation: portrait) {
    /* El video horizontal sube, debajo de la barra; el espacio de abajo queda para los controles. */
    .envivo-video canvas { object-position: 50% 9%; }
    .envivo .monitor.vertical canvas { object-position: 50% 50%; }
    .envivo-lado { top: auto; transform: none; bottom: 8.6rem; width: calc(50% - .9rem); }
    .envivo-lado .principales { grid-template-columns: repeat(auto-fit, minmax(3rem, 1fr)); }
    .envivo-abajo { gap: .5rem; }
    .envivo-reloj { order: 0; }
    .btn-salir { order: 1; padding: 0 1rem; font-size: .95rem; }
    .herramientas { order: 2; width: 100%; justify-content: space-between; }
    .envivo-arriba .conexion { font-size: 0; }
    .envivo-arriba .conexion::before { font-size: .9rem; margin: 0; }
}
/* Celulares angostos: reloj y «Salir en vivo» siguen en una sola fila. */
@media (orientation: portrait) and (max-width: 380px) {
    .envivo-reloj #periodo { display: none; }
    .envivo-reloj { gap: .4rem; padding-left: .7rem; }
    .envivo-reloj .btn-reloj { min-width: 4.2rem; }
    .btn-salir { padding: 0 .8rem; }
    .herramientas button { padding: .45rem .5rem; font-size: .8rem; }
}
@media (max-height: 430px) and (orientation: landscape) {
    .envivo-lado { width: 6.6rem; padding: .4rem; }
    .envivo-lado .puntos { font-size: 1.7rem; }
    .envivo-lado .principales .btn-anotar { min-height: 2.6rem; font-size: 1.1rem; }
    .envivo-abajo { padding-top: .3rem; }
    .herramientas button { padding: .4rem .55rem; font-size: .8rem; }
}

@media print {
    .barra, .menu, footer, .no-imprimir { display: none !important; }
    body { background: #fff; color: #000; }
    .tarjeta { border-color: #ccc; background: #fff; }
}
