/* PORTADA movil - AJUSTES 09/11/2026 (se carga DESPUES de inicio-movil-nuevo.css): hero (fila de enlaces), botes destacados con iconos reales,
   y segunda lista (Loteria Nacional, que usa h4 en vez de h2). El tema usa Roboto Slab y fondos propios dentro de .service-item. */
@media (max-width: 767px) {
    /* ---- hero: la fila de enlaces es una franja blanca opaca; la foto solo va arriba ---- */
    html body .hm-hero { padding-bottom: 0; overflow: hidden; }
    html body .hm-hero .hm-hero-links { margin: 16px -18px 0; padding: 14px 18px; border-top: 1px solid #dbe5f3; background: #fff !important; border-radius: 0 0 22px 22px; }
    html body .hm-hero .hm-hero-links a { gap: 10px; font-size: 15.5px; }
    html body .hm-hero .hm-hero-links .hm-ic { width: 30px; height: 30px; flex: 0 0 30px; }

    /* ---- base comun de las dos listas ---- */
    html body .services-list .service-item, html body .services-list .service-item * { font-family: inherit !important; text-shadow: none !important; letter-spacing: 0 !important; }
    html body .services-list .service-item > h2, html body .services-list .service-item > h4, html body .services-list .service-item > span {
        display: block; width: auto !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; text-align: left !important;
        text-transform: none !important; float: none !important; height: auto !important; min-height: 0 !important;
    }
    html body .services-list .service-item { padding: 14px 46px 14px 82px !important; min-height: 78px; }

    /* ---- lista 1: botes (importe en grande bajo el nombre) ---- */
    html body .services-list .service-item > h2 { font-size: 21px !important; font-weight: 800 !important; line-height: 1.15; color: #0b2d6b !important; }
    html body .services-list .service-item > .span_cuadrobotesbote, html body .services-list .service-item > .PremioJuego { font-size: 21px !important; font-weight: 800 !important; line-height: 1.2; color: #0b2d6b !important; }
    html body .services-list .service-item > .span_cuadrobotesfecha1, html body .services-list .service-item > .span_cuadrobotesfecha2 { display: none !important; }
    /* el enlace "A por el bote" cubre toda la tarjeta (no se ve) */
    html body .services-list .service-item > a[id*="hplJugar"]:not([id*="Loteria"]) {
        position: absolute !important; left: 0; top: 0; right: 0; bottom: 0; z-index: 3; width: auto !important; height: auto !important; margin: 0 !important; padding: 0 !important; border: 0 !important;
        background: transparent !important; box-shadow: none !important; font-size: 0 !important; color: transparent !important; overflow: hidden; text-indent: -9999px;
    }
    html body .services-list .service-item > a[id*="hplJugar"]:not([id*="Loteria"])::before, html body .services-list .service-item > a[id*="hplJugar"]:not([id*="Loteria"])::after { display: none !important; content: none !important; }

    /* iconos de los juegos: formas y colores reales de cada juego */
    html body .services-list .service-item::before { left: 16px; width: 50px; height: 50px; margin-top: -25px; border-radius: 0; background: no-repeat center / contain !important; border: 0 !important; }
    html body .services-list .service-item:has(a[title*="Euromillones"])::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%230a4a9c' stroke-linecap='round'%3E%3Ccircle cx='24' cy='24' r='20' stroke-width='3'/%3E%3Ccircle cx='27' cy='21' r='12.5' stroke-width='3'/%3E%3Ccircle cx='29.5' cy='18.5' r='6' stroke-width='3'/%3E%3C/svg%3E") !important; }
    html body .services-list .service-item:has(a[title*="Gordo"])::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cdefs%3E%3CclipPath id='c'%3E%3Ccircle cx='24' cy='24' r='21'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg clip-path='url(%23c)'%3E%3Crect width='48' height='48' fill='%23d9622b'/%3E%3Cpath d='M0 14h48M0 21h48M0 28h48M0 35h48' stroke='%23fff' stroke-width='2.5'/%3E%3C/g%3E%3C/svg%3E") !important; }
    html body .services-list .service-item:has(a[title*="Primitiva"])::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cdefs%3E%3CclipPath id='c'%3E%3Ccircle cx='24' cy='24' r='21'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg clip-path='url(%23c)'%3E%3Crect width='48' height='48' fill='%231f9d55'/%3E%3Cpath d='M0 14h48M0 21h48M0 28h48M0 35h48' stroke='%23fff' stroke-width='2.5'/%3E%3C/g%3E%3C/svg%3E") !important; }
    html body .services-list .service-item:has(a[title*="Bonoloto"])::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg fill='%232f9e44'%3E%3Cpath id='h' d='M24 24c-3-3-12-5-12-11 0-5 8-6 12 0 4-6 12-5 12 0 0 6-9 8-12 11z' transform='translate(0 -3) rotate(-45 24 24)'/%3E%3Cuse href='%23h' transform='rotate(90 24 24)'/%3E%3Cuse href='%23h' transform='rotate(180 24 24)'/%3E%3Cuse href='%23h' transform='rotate(270 24 24)'/%3E%3C/g%3E%3Cpath d='M24 26c0 8-1 12-5 17' fill='none' stroke='%232f9e44' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") !important; }
    html body .services-list .service-item:has(a[title*="Quiniela"])::before, html body .services-list .service-item:has(a[title="Jugar 1"])::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M24 4l17 9.5v21L24 44 7 34.5v-21z' fill='%23fff' stroke='%23d8322a' stroke-width='3' stroke-linejoin='round'/%3E%3Cpath d='M7 13.5L24 23l17-9.5M24 23v21' fill='none' stroke='%23d8322a' stroke-width='3' stroke-linejoin='round'/%3E%3Ctext x='11' y='33' font-family='Arial' font-weight='700' font-size='9' fill='%23d8322a'%3E1%3C/text%3E%3Ctext x='29' y='33' font-family='Arial' font-weight='700' font-size='9' fill='%23d8322a'%3EX%3C/text%3E%3C/svg%3E") !important; }

    /* ---- lista 2: Loteria Nacional (el mismo control, con h4) ---- */
    html body .services-list ~ .services-list::before { content: "Loter\0000eda Nacional"; 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'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c3 3 3 15 0 18M12 3c-3 3-3 15 0 18'/%3E%3C/svg%3E"); }
    html body .services-list ~ .services-list .service-item { padding-right: 124px !important; }
    html body .services-list ~ .services-list .service-item > h4:first-of-type { font-size: 20px !important; font-weight: 800 !important; line-height: 1.2; color: #0b2d6b !important; }
    html body .services-list ~ .services-list .service-item > h4.PremioJuego { font-size: 15.5px !important; font-weight: 400 !important; line-height: 1.3; color: #3d557f !important; margin-top: 2px !important; }
    html body .services-list ~ .services-list .service-item > h4.FechaJuego1 { display: none !important; }
    html body .services-list ~ .services-list .service-item > h4.FechaJuego2 { display: none !important; }
    html body .services-list ~ .services-list .service-item > h4.FechaJuego2.quito_NoPLY { display: block !important; font-size: 14px !important; font-weight: 400 !important; color: #3d557f !important; margin-top: 2px !important; }
    html body .services-list ~ .services-list .service-item > a[id*="hplJugarLoteria"] {
        position: absolute !important; right: 14px; top: 50%; left: auto; bottom: auto; z-index: 3; width: auto !important; height: auto !important; margin: -22px 0 0 !important; padding: 0 16px !important;
        display: inline-flex !important; align-items: center; justify-content: center; min-height: 44px; border: 0 !important; border-radius: 999px !important; background: #fdc20f !important; color: #0b2d6b !important;
        font-size: 16px !important; font-weight: 800 !important; line-height: 1; text-transform: none !important; text-decoration: none !important; box-shadow: none !important; text-indent: 0 !important;
    }
    html body .services-list ~ .services-list .service-item > a[id*="hplJugarLoteria"]::before { display: none !important; content: none !important; }
    html body .services-list ~ .services-list .service-item > a[id*="hplJugarLoteria"]::after { content: " \0203a"; margin-left: 4px; }
    html body .services-list ~ .services-list .service-item::after { display: none; }
    html body .services-list ~ .services-list .service-item::before { width: 44px; height: 44px; margin-top: -22px; }
    html body .services-list ~ .services-list .service-item:has(a[href*="sabado"])::before, html body .services-list ~ .services-list .service-item:has(a[href*="jueves"])::before { 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.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4M8 14h.1M12 14h.1M16 14h.1M8 17.5h.1M12 17.5h.1'/%3E%3C/svg%3E") !important; }
    html body .services-list ~ .services-list .service-item:has(a[href*="navidad"])::before { 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.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2l5 7h-3l4 6h-4l3 4H7l3-4H6l4-6H7zM12 19v3'/%3E%3C/svg%3E") !important; }
    html body .services-list ~ .services-list .service-item:has(a[href*="nino"])::before { 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.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 18h18l1-11-5 4-5-7-5 7-5-4zM3 21h18'/%3E%3C/svg%3E") !important; }
}
