/* Menus desplegables del movil (cabecera): "Juegos y Loterias" (hamburguesa, #navbarSupportedContent20) y "Mi cuenta" (#navbarSupportedContent-cta).
   SOLO MOVIL (< 768 px), solo estilos: ni marcado ni JS ni servidor. Marcado en Componentes/General/Web/General_C_LoginCabecera.ascx.
   Va enlazado desde General_NuevaMasterManises.master. Lleva html body delante y !important porque el css del tema se carga despues. */
.sd-m { display: none; }
/* iPhone: un div sin cursor:pointer no recibe el "click", asi que el fondo negro de las ventanas (.backOnlyModalAcount) no se podia apagar tocandolo */
.backOnlyModalAcount { cursor: pointer; -webkit-tap-highlight-color: transparent; }
@media (max-width: 767px) {
    /* Mis jugadas > "Ver premios" (ventana modalPremios): la ventana lleva margenes negativos pensados para anchos concretos y en algun movil queda
       fuera de pantalla (solo se ve el fondo negro). En movil se centra siempre y se deja con scroll propio. */
    html body [id$="modalPremios"] .modalContent { position: fixed !important; top: 50% !important; left: 50% !important; transform: translate(-50%, -50%); margin: 0 !important; width: calc(100vw - 24px) !important; max-width: 560px; height: auto !important; max-height: 86vh; overflow-y: auto; box-sizing: border-box; padding: 14px !important; -webkit-overflow-scrolling: touch; }
    html body [id$="modalPremios"] .modalBody { height: auto !important; max-height: calc(86vh - 90px); overflow-y: auto; -webkit-overflow-scrolling: touch; }

    /* ---- "Ver premios": diseno nuevo (solo movil; el marcado es Clientes_C_DetallePremios.ascx, no se toca) ---- */
    html body [id$="modalPremios"] .modalContent { border-radius: 22px !important; background: #fff; }
    html body [id$="modalPremios"] .modalHeader { display: flex; align-items: center; justify-content: space-between; width: 100% !important; margin: 0; padding: 0 0 12px; border-bottom: 1px solid #e3eaf6; position: relative; }
    html body [id$="modalPremios"] .modalHeader h4.modalTitle { order: 1; margin: 0; padding: 0; font-size: 20px; font-weight: 800; color: #0b2d6b; text-align: left; letter-spacing: 0; }
    html body [id$="modalPremios"] .modalHeader .closeModal { position: static !important; order: 2; flex: 0 0 auto; width: 38px; height: 38px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: #e8f0fc; color: #0b2d6b; opacity: 1; font-size: 26px; line-height: 1; text-shadow: none; }
    html body [id$="modalPremios"] .modalBody > div[class*="col-"] { float: none; width: 100%; padding: 0; margin: 16px 0 0; }
    /* titulos de seccion */
    html body [id$="modalPremios"] .modalBody .text-center > p { margin: 0 0 8px; }
    html body [id$="modalPremios"] .modalBody .text-center > p > b { font-size: 12px; font-weight: 800; letter-spacing: .1em; color: #51668f; }
    html body [id$="modalPremios"] .modalBody .separador40 { margin: 0 0 10px; padding: 0; }
    html body [id$="modalPremios"] .modalBody .separador40 p { margin: 0; font-size: 16px; color: #0b2d6b; }
    html body [id$="modalPremios"] .modalBody .iconType { width: 30px; height: 30px; margin-right: 6px; border-radius: 50%; vertical-align: middle; }
    /* combinacion ganadora: bolas en una tarjeta suave */
    html body [id$="modalPremios"] .div-contenedor-premios { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; float: none; width: 100%; min-height: 0; margin: 0 0 14px; padding: 14px 10px; border: 0; border-radius: 16px; background: #f1f5fc; box-sizing: border-box; }
    html body [id$="modalPremios"] .div-contenedor-premios > div { float: none; width: auto; margin: 0; padding: 0; }
    html body [id$="modalPremios"] .div-contenedor-premios .premio-azul, html body [id$="modalPremios"] .div-contenedor-premios .premio-verde, html body [id$="modalPremios"] .div-contenedor-premios .premio-rojo {
        display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin: 0; padding: 0; font-size: 18px; font-weight: 800; line-height: 1; box-sizing: border-box; }
    html body [id$="modalPremios"] .div-contenedor-premios .texto-premio-verde, html body [id$="modalPremios"] .div-contenedor-premios .texto-premio-rojo { font-size: 12px; font-weight: 800; letter-spacing: .06em; }
    html body [id$="modalPremios"] .div-contenedor-premios .texto-premio-verde { color: #217345; }
    html body [id$="modalPremios"] .div-contenedor-premios .texto-premio-rojo { color: #c8101c; }
    html body [id$="modalPremios"] .div-contenedor-premios .premioEstrella { width: 40px; height: 40px; margin: 0; padding: 8px 0; font-size: 16px; background-size: contain; }
    /* sorteo anterior / siguiente: dos botones iguales */
    html body [id$="DIVPaginador"] { display: flex; gap: 10px; margin: 4px 0 0; }
    html body [id$="DIVPaginador"] > div { float: none !important; width: auto; flex: 1 1 0; margin: 0 !important; padding: 0; }
    html body [id$="DIVPaginador"] .btn { display: block; width: 100%; min-height: 46px; margin: 0; padding: 8px 6px; border-radius: 12px; font-size: 12px; font-weight: 800; line-height: 1.2; white-space: normal; }
    /* tabla de premios */
    html body [id$="modalPremios"] .table-juegos { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid #dde6f3; border-radius: 14px; overflow: hidden; table-layout: auto; }
    html body [id$="modalPremios"] .table-juegos th, html body [id$="modalPremios"] .table-juegos td { width: auto; padding: 9px 6px; border: 0; border-bottom: 1px solid #e8eef8; font-size: 12px; line-height: 1.25; text-align: center; color: #0b2d6b; }
    html body [id$="modalPremios"] .table-juegos th.table-juegos-bsv2 { background: #0b2d6b; color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .03em; }
    html body [id$="modalPremios"] .table-juegos tr.table-juegos-bsv2 td { background: #f4f8fe; }
    html body [id$="modalPremios"] .table-juegos td.table-juegos-031e { text-align: left; font-weight: 700; }
    html body [id$="modalPremios"] .table-juegos tr:last-child td { border-bottom: 0; }
    /* totales: sin las celdas vacias, etiqueta a la izquierda e importe a la derecha */
    html body [id$="modalPremios"] .table-juegos.m-t-20 { margin-top: 12px; }
    html body [id$="modalPremios"] .table-juegos th.border-0 { display: none; }
    html body [id$="modalPremios"] .table-juegos.m-t-20 th.table-juegos-bsv2 { background: #fff4cf; color: #0b2d6b; font-size: 13px; font-weight: 800; letter-spacing: 0; }
    html body [id$="modalPremios"] .table-juegos.m-t-20 th.table-juegos-bsv2:last-child, html body [id$="modalPremios"] .table-juegos.m-t-20 td:last-child { text-align: right; }
    html body [id$="modalPremios"] .table-juegos.m-t-20 td.table-juegos-031e { font-weight: 600; text-align: left; }

    /* ---- panel desplegable ---- */
    html body .nav-18 #navbarSupportedContent20, html body .nav-18 #navbarSupportedContent-cta { background: #fff !important; padding: 0 !important; }
    html body .nav-18 #navbarSupportedContent20 .navbar-nav, html body .nav-18 #navbarSupportedContent-cta .navbar-nav { margin: 0 !important; padding: 18px 18px 24px !important; list-style: none; }

    /* titulo del panel (se pinta con ::before para no tocar el marcado) */
    html body .nav-18 #navbarSupportedContent20 .navbar-nav::before, html body .nav-18 #navbarSupportedContent-cta .navbar-nav::before {
        display: block; margin: 0 0 14px; padding-left: 50px; min-height: 40px; line-height: 40px; font-size: 27px; font-weight: 800; color: #0b2d6b;
        background-repeat: no-repeat; background-position: left center; background-size: 38px;
    }
    html body .nav-18 #navbarSupportedContent20 .navbar-nav::before { content: "Juegos y Loter\0000edas"; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b3d91' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg transform='rotate(-25 12 12)'%3E%3Cpath d='M3 7h18v3.5a1.8 1.8 0 000 3.5V17H3v-3a1.8 1.8 0 000-3.5z'/%3E%3Ccircle cx='12' cy='12' r='1.4'/%3E%3C/g%3E%3C/svg%3E"); }
    html body .nav-18 #navbarSupportedContent-cta .navbar-nav::before { content: "Mi cuenta"; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b3d91' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4 4-6 8-6s8 2 8 6'/%3E%3C/svg%3E"); }

    /* ---- filas de opcion: tarjeta con icono, texto y flecha ---- */
    html body .nav-18 #navbarSupportedContent20 .nav-item > a, html body .nav-18 #navbarSupportedContent-cta .nav-item > a.nav-link {
        position: relative; display: flex !important; align-items: center; gap: 14px; min-height: 58px; margin: 0 0 10px !important; padding: 8px 44px 8px 14px !important; box-sizing: border-box;
        border: 1.5px solid #cddcf0 !important; border-radius: 14px !important; background-color: #fff !important; color: #0b2d6b !important; font-size: 19px; font-weight: 800; line-height: 1.2; text-align: left; text-decoration: none;
    }
    html body .nav-18 #navbarSupportedContent20 .nav-item > a::after, html body .nav-18 #navbarSupportedContent-cta .nav-item > a.nav-link::after {
        content: ""; position: absolute; right: 16px; top: 50%; width: 11px; height: 11px; margin-top: -7px; border: solid #0b2d6b; border-width: 0 2.5px 2.5px 0; transform: rotate(-45deg);
    }
    html body .nav-18 #navbarSupportedContent20 .nav-item > a img, html body .nav-18 #navbarSupportedContent-cta .nav-item > a.nav-link img { width: 34px; height: 34px; margin: 0; object-fit: contain; flex: 0 0 34px; }
    html body .nav-18 #navbarSupportedContent20 .nav-item { border: 0 !important; background: none !important; padding: 0 !important; margin: 0 !important; float: none; width: 100%; }
    /* Menu "Mi cuenta": los li flotaban (bootstrap) y el li "Mis Jugadas", que va despues y es position:relative, quedaba ENCIMA de la tarjeta de saldo
       y se comia los toques del boton "Recargar saldo" (no hacia nada). Sin flotar, cada li ocupa su sitio. */
    html body .nav-18 #navbarSupportedContent-cta .nav-item { float: none; width: 100%; }

    /* ---- saldo: "Hola, Nombre | Saldo" ---- */
    html body .nav-18 #navbarSupportedContent-cta .saldo-18 {
        display: flex !important; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 14px !important; padding: 14px 16px !important; border: 0 !important; border-radius: 14px; background: #e3eefb !important; color: #0b2d6b; font-size: 18px; line-height: 1.2;
    }
    html body .nav-18 #navbarSupportedContent-cta .saldo-18 .mi-monto-18 { padding: 6px 12px; border-radius: 10px; background: #fff; color: #0b2d6b; font-size: 18px; font-weight: 800; white-space: nowrap; }
    /* tarjeta de saldo (foto): avatar, "Hola Nombre", "Tu saldo", importe | boton Recargar saldo */
    html body .nav-18 #navbarSupportedContent-cta .saldo-18 { gap: 12px; padding: 16px 14px !important; border-radius: 22px; background: #e8f0fc !important; }
    html body .nav-18 #navbarSupportedContent-cta .saldo-18 .sd-m { display: inline-block; }
    html body .nav-18 #navbarSupportedContent-cta .saldo-18 .sd-av {
        flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; background: #bcd2f8 no-repeat center / 28px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23132a63'%3E%3Ccircle cx='12' cy='8' r='4.2'/%3E%3Cpath d='M3.500 21c0-4.200 3.200-6.500 8.500-6.500s8.500 2.300 8.500 6.500z'/%3E%3C/svg%3E");
    }
    html body .nav-18 #navbarSupportedContent-cta .saldo-18 .sd-tx { display: block; flex: 1 1 auto; min-width: 0; padding-right: 12px; border-right: 2px solid #bcd2f8; line-height: 1.25; color: #51668f; font-size: 16px; }
    html body .nav-18 #navbarSupportedContent-cta .saldo-18 .sd-nombre { color: #132a63; font-weight: 800; }
    html body .nav-18 #navbarSupportedContent-cta .saldo-18 .sd-tu { display: block; margin-top: 4px; font-size: 15px; }
    html body .nav-18 #navbarSupportedContent-cta .saldo-18 .mi-monto-18 { display: block; padding: 0; background: none; color: #132a63; font-size: 24px; font-weight: 800; line-height: 1.15; }
    html body .nav-18 #navbarSupportedContent-cta .saldo-18 .sd-rec {
        flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; max-width: 128px; padding: 12px 12px; border-radius: 999px; background: #fdc844; color: #132a63 !important; font-size: 14px; font-weight: 800; line-height: 1.15; text-align: left; text-decoration: none;
    }
    html body .nav-18 #navbarSupportedContent-cta .saldo-18 .sd-rec::before {
        content: ""; flex: 0 0 20px; width: 20px; height: 20px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23132a63' stroke-width='2.200' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 11a8 8 0 0 0-14-4L4 9'/%3E%3Cpath d='M4 4v5h5'/%3E%3Cpath d='M4 13a8 8 0 0 0 14 4l2-2'/%3E%3Cpath d='M20 20v-5h-5'/%3E%3C/svg%3E");
    }

    /* ---- Informacion personal (acordeon) ---- */
    html body .nav-18 #navbarSupportedContent-cta .accordion-container-menu { margin: 0 0 10px; border-radius: 14px; overflow: hidden; background: #eef4fc; }
    html body .nav-18 #navbarSupportedContent-cta .accordion-titulo-menu.tituloMenuP {
        position: relative; display: flex !important; align-items: center; gap: 14px; min-height: 58px; margin: 0 !important; padding: 8px 44px 8px 14px !important; box-sizing: border-box;
        border: 0 !important; border-radius: 0 !important; background: #dbe8f7 !important; color: #0b2d6b !important; font-size: 19px; font-weight: 800; text-decoration: none;
    }
    html body .nav-18 #navbarSupportedContent-cta .accordion-titulo-menu.tituloMenuP img { width: 34px; height: 34px; flex: 0 0 34px; }
    /* 18/11/2026: flecha de "Informacion personal". El tema viejo la pinta con una IMAGEN (ico-select-18.png) en span.toggle-icon con top:-2px: salia arriba del todo y como "abierta".
       Se quita la imagen y se dibuja un chevron centrado en vertical: hacia abajo cerrado, hacia arriba con .open (la clase la pone el script del menu). */
    html body .nav-18 #navbarSupportedContent-cta .tituloMenuP .toggle-icon { position: absolute !important; top: 50% !important; right: 18px !important; width: 11px; height: 11px; margin: -9px 0 0 !important; padding: 0; font-size: 0; line-height: 0; border: solid #0b2d6b; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); transition: transform .2s, margin .2s; }
    html body .nav-18 #navbarSupportedContent-cta .tituloMenuP .toggle-icon::before { content: none !important; }
    html body .nav-18 #navbarSupportedContent-cta .tituloMenuP.open .toggle-icon { margin-top: -3px !important; transform: rotate(-135deg); }
    html body .nav-18 #navbarSupportedContent-cta .accordion-content-menu { padding: 4px 14px 8px 58px; background: #eef4fc; }
    html body .nav-18 #navbarSupportedContent-cta .accordion-content-menu a {
        position: relative; display: block !important; margin: 0 !important; padding: 14px 30px 14px 0 !important; border: 0 !important; border-bottom: 1px solid #cddcf0 !important; border-radius: 0 !important; background: none !important; color: #0b2d6b !important; font-size: 17px; font-weight: 400; text-decoration: none; text-align: left;
    }
    html body .nav-18 #navbarSupportedContent-cta .accordion-content-menu a:last-child { border-bottom: 0 !important; }
    html body .nav-18 #navbarSupportedContent-cta .accordion-content-menu a::after { content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; margin-top: -6px; border: solid #0b2d6b; border-width: 0 2px 2px 0; transform: rotate(-45deg); }

    /* ---- caja de contacto + cerrar sesion ---- */
    html body .nav-18 .cubo-info-18 { margin: 18px 0 0 !important; padding: 18px 14px !important; border: 0 !important; border-radius: 16px; background: #e6effb !important; text-align: center; list-style: none; }
    html body .nav-18 .cubo-info-18 .admon-18 { margin: 0 0 12px; color: #0b2d6b; font-size: 16px; font-weight: 400; line-height: 1.35; text-align: center; }
    html body .nav-18 .cubo-info-18 .email-18 { display: inline-block; margin: 0 8px 6px; font-size: 16px; color: #0b2d6b; }
    html body .nav-18 .cubo-info-18 .email-18 a, html body .nav-18 .cubo-info-18 .email-18 b { color: #0b2d6b; font-weight: 400; text-decoration: none; }
    html body .nav-18 .cubo-info-18 .email-18 img { width: 22px; height: 22px; margin-right: 6px; vertical-align: middle; }
    html body .nav-18 .cubo-info-18 .cerrar-18 { margin: 18px 0 0; }
    html body .nav-18 .cubo-info-18 .cerrar-18 a {
        display: flex !important; align-items: center; justify-content: center; gap: 10px; min-height: 52px; box-sizing: border-box; border: 1.5px solid #0b2d6b !important; border-radius: 12px; background: #fff !important; color: #0b2d6b !important; font-size: 18px; font-weight: 800; text-decoration: none; text-transform: none;
    }
    html body .nav-18 .cubo-info-18 .cerrar-18 a::before {
        content: ""; width: 22px; height: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b2d6b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 3v8'/%3E%3Cpath d='M6.3 6.3a8 8 0 1011.4 0'/%3E%3C/svg%3E") no-repeat center / contain;
    }
}

/* ---- 06/11/2026: el panel abierto debe poder DESPLAZARSE (no se llegaba a "Cerrar sesion") ---- */
@media (max-width: 767px) {
    html body .nav-18 #navbarSupportedContent20, html body .nav-18 #navbarSupportedContent-cta {
        max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px);
        overflow-y: auto !important; overflow-x: hidden; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
    }
    /* hueco al final para que "Cerrar sesion" no quede tapado por la barra del navegador */
    html body .nav-18 #navbarSupportedContent20 .navbar-nav, html body .nav-18 #navbarSupportedContent-cta .navbar-nav { padding-bottom: 110px !important; }
}

/* ---- 06/11/2026 (3): causa real. El tema da al panel  min-height:100vh!important  (+ position:absolute dentro de la cabecera fija de 50px),
   asi que SIEMPRE era mas alto que la pantalla y, al estar dentro de un elemento fijo, la pagina no lo desplaza. min-height gana a max-height,
   por eso el max-height anterior no servia. Ahora el panel mide exactamente "pantalla menos cabecera" y se desplaza por dentro. ---- */
@media (max-width: 767px) {
    html body .nav-18 #navbarSupportedContent20, html body .nav-18 #navbarSupportedContent-cta {
        min-height: 0 !important; max-height: none !important;
        height: calc(100vh - 50px) !important; height: calc(100dvh - 50px) !important;
        overflow-y: scroll !important; overflow-x: hidden !important; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; touch-action: pan-y;
    }
}

/* ---- 06/11/2026: "Cerrar sesion" solo en el menu de Mi cuenta, no en el de Juegos y Loterias ---- */
@media (max-width: 767px) {
    html body .nav-18 #navbarSupportedContent20 .cerrar-18 { display: none !important; }
}

/* ---- 06/11/2026: usuario SIN sesion -> "Iniciar sesion" / "Crear cuenta" en el menu de Juegos y Loterias.
   Sin sesion el servidor deja data-target="" en el boton Mi cuenta (con sesion pone #navbarSupportedContent-cta): asi se distingue solo con CSS. ---- */
.cp-login-m { display: none; }
@media (max-width: 767px) {
    html:has(#btnIrCuentaM[data-target=""]) .nav-18 #navbarSupportedContent20 .cp-login-m { display: block; margin: 18px 0 0; }
    html body .nav-18 .cp-login-m a {
        display: flex !important; align-items: center; justify-content: center; min-height: 54px; margin: 0 0 10px; box-sizing: border-box; border-radius: 12px;
        font-size: 19px; font-weight: 800; text-decoration: none; text-transform: none; text-align: center;
    }
    html body .nav-18 .cp-login-m .cp-login-1 { background: #fdc20f !important; color: #0b2d6b !important; border: 0; }
    html body .nav-18 .cp-login-m .cp-login-2 { background: #fff !important; color: #0b2d6b !important; border: 1.5px solid #0b2d6b; }
}

/* ---- 10/11/2026: la pagina NO se mueve de lado en movil (en ninguna pagina) ----
   Antes solo la Quiniela y las reducidas llevaban esto. Cualquier elemento que sobresalga unos pixeles (un modal fuera de pantalla, una franja con margen negativo,
   una tabla ancha...) dejaba arrastrar la pagina hacia un lado, sobre todo en iPhone. Los carruseles y tablas con su propio scroll (overflow-x:auto) no se tocan: siguen
   desplazandose dentro de su caja. "clip" no crea un contenedor de scroll (no rompe sticky ni el scroll vertical); "hidden" queda de respaldo en los navegadores que no lo soportan. */
@media (max-width: 767px) {
    html, body { overflow-x: hidden; max-width: 100%; }
    html { overscroll-behavior-x: none; }
    @supports (overflow-x: clip) {
        html, body { overflow-x: clip; }
    }
}

/* ---- 16/11/2026: fuera el boton de "volver arriba" (.top-scroll, lo crea RecursosAranya/js/custom.js al scrollear) en movil ---- */
@media (max-width: 767px) {
    html body .top-scroll { display: none !important; }
}

/* ---- 16/11/2026: selector de sorteos de Loteria Nacional Jueves/Sabado ("Cambiar sorteo", control Loteria_C_SelectorSorteos_FE; sale en "Comprobar decimo") ----
   Boton mas grande y desplegable CENTRADO bajo el boton, con el texto centrado y mas grande; con muchos sorteos el menu hace scroll dentro de su caja. */
/* ---- 16/11/2026 (2): selector de FECHA del sorteo de Loteria Nacional Jueves/Sabado (<select id="soflow" class="select-game-18" del control Loteria_C_Cabecera: "Jueves 19 de Noviembre de 2026")
   Era una caja de 28 px con letra de 14 px y el texto sin centrar. Ahora 56 px de alto, letra de 17 px en negrita, texto centrado (cerrado y en la lista desplegada) y
   borde azul corporativo; el texto cabe entero en 320 px. La lista desplegada la dibuja el navegador (en iPhone es el selector nativo, ya centrado). Solo movil. ---- */
@media (max-width: 767px) {
    html body select#soflow.select-game-18 { height: 56px; padding: 0 34px; font-size: 17px; font-weight: 700; line-height: 56px; text-align: center; text-align-last: center; color: #0b2d6b; border: 1.5px solid #004394; border-radius: 10px;
        /* UNA sola flecha: sin el aspecto nativo del navegador (dibujaba otra) y con una sola capa de fondo (la web ponia flecha + degradado) */
        -webkit-appearance: none; -moz-appearance: none; appearance: none; background-image: url(/Web_2_0/Web/RecursosAranya/images/about/ico-select-18.png); background-repeat: no-repeat; background-position: right 12px center; background-size: auto; background-color: #fff; }
    html body select#soflow.select-game-18 option { font-size: 17px; font-weight: 700; text-align: center; padding: 12px 8px; color: #0b2d6b; }
    /* SABADO: solo hay un sorteo, asi que no hay desplegable y la fecha sale como texto (.name-loteria-nav): misma caja que el selector del Jueves (sin flecha: no hay que elegir).
       SOLO en Loteria Nacional Jueves/Sabado (la master pone html.pg-nacional-fecha): en Navidad y El Nino (sin selector de fecha) la fecha queda como simple texto, sin borde ni fondo. */
    html.pg-nacional-fecha body .name-loteria-nav { display: flex; align-items: center; justify-content: center; width: 100%; max-width: 338px; min-height: 56px; box-sizing: border-box; margin: 0 auto; padding: 0 16px; font-size: 17px; font-weight: 700; line-height: 1.2; text-align: center; color: #0b2d6b; border: 1.5px solid #004394; border-radius: 10px; background: #fff; }
}

/* movil Y escritorio: boton mas grande y menu centrado bajo el boton (texto centrado, sin cortarse: con muchos sorteos hace scroll dentro de su caja) */
html body .cambiarSorteoLoteria .sorteoCombo .dropdown { position: relative; }
html body .cambiarSorteoLoteria .sorteoCombo .dropdown > .dropdown-toggle { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; margin: 0; padding: 0 26px; font-size: 18px; font-weight: 700; line-height: 1.1; text-transform: uppercase; }
html body .cambiarSorteoLoteria .sorteoCombo .dropdown > .dropdown-toggle .caret { margin: 0 0 0 4px; border-top-width: 7px; border-right-width: 7px; border-left-width: 7px; }
html body .cambiarSorteoLoteria .sorteoCombo .dropdown-menu { left: 50% !important; right: auto !important; min-width: 230px; max-height: 55vh; margin: 8px 0 0; padding: 6px 0; overflow-y: auto; -webkit-overflow-scrolling: touch; transform: translateX(-50%); border: 1.5px solid #cfd9ea; border-radius: 14px; background: #fff; box-shadow: 0 10px 26px rgba(8, 24, 60, .28); text-align: center; z-index: 1060; }
html body .cambiarSorteoLoteria .sorteoCombo .dropdown-menu > li > a { display: block; padding: 12px 16px; font-size: 18px; font-weight: 700; line-height: 1.2; text-align: center; color: #0b2d6b; }
html body .cambiarSorteoLoteria .sorteoCombo .dropdown-menu > li + li > a { border-top: 1px solid #e6edf7; }
/* solo movil: el selector ocupa el ancho (hasta 320 px) y queda centrado en la barra azul */
@media (max-width: 767px) {
    html body .cambiarSorteoLoteria .sorteoCombo { display: flex; justify-content: center; width: 100%; }
    html body .cambiarSorteoLoteria .sorteoCombo .dropdown { width: 100%; max-width: 320px; }
    html body .cambiarSorteoLoteria .sorteoCombo .dropdown > .dropdown-toggle { width: 100%; min-height: 60px; font-size: 20px; }
    html body .cambiarSorteoLoteria .sorteoCombo .dropdown-menu { width: 100%; min-width: 260px; }
    html body .cambiarSorteoLoteria .sorteoCombo .dropdown-menu > li > a { padding: 13px 16px; font-size: 19px; }
}

/* (los botes del pie vuelven a verse en movil con el estilo nuevo: Web/styles/pie-movil-nuevo.css) */
