/* 03/12/2026 - Resultados de Loteria Nacional, jueves y sabado: /loteria-nacional-(jueves|sabado)/comprobar-resultado/ (comprobar.php) y .../dia-dd-mm-aaaa/ (detalle.php).
   Todo cuelga de .res (contenido) y .onlyModalAcount (ventanas): no toca la cabecera ni el pie. Los app_min.css antiguos se cargan despues, por eso el prefijo "body .res". */
body .res { --azul: #0b3c8c; --marino: #072b66; --amarillo: #fcc82b; --palido: #f1f6fc; --linea: #dce3ef; --gris: #4a5876;
    box-sizing: border-box; max-width: 1248px; margin: 0 auto; padding: 28px 24px 24px; font-family: Roboto, Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.65; color: #26354b; }
body .res *, body .res *::before, body .res *::after { box-sizing: border-box; }
body .wrapper:has(> .res) { overflow: clip; }   /* con el "hidden" de app_min.css no funciona position: sticky */
body .res [hidden] { display: none !important; }
body .res section { margin: 0; }
body .res p, body .res ul, body .res dl, body .res dd, body .res figure { margin: 0; padding: 0; font: inherit; line-height: inherit; color: inherit; }
body .res ul { list-style: none; }
body .res h1, body .res h2, body .res h3 { display: block; margin: 0; padding: 0; border: 0; font-family: inherit; font-weight: 700; line-height: 1.2; text-align: left; text-transform: none; color: var(--marino); }
body .res h1::before, body .res h1::after, body .res h2::after, body .res h3::before, body .res h3::after { content: none; }
body .res h1 { max-width: 850px; font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -.02em; }
body .res h2 { position: static; font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.01em; }
body .res h2::before { content: ""; position: static; display: block; width: 44px; height: 4px; margin: 0 0 14px; border-radius: 4px; background: var(--amarillo); }
body .res h3 { font-size: 18px; }
body .res a { font-family: inherit; color: var(--azul); }
body .res sup { position: static; font-size: .7em; vertical-align: super; line-height: 0; }
body .res a:focus-visible, body .res button:focus-visible, body .res input:focus-visible, body .res select:focus-visible, body .res summary:focus-visible { outline: 3px solid #e5ad00; outline-offset: 3px; }

body .res .res-migas { margin: 0 0 18px; font-size: 13px; color: var(--gris); }
body .res .res-migas a { color: var(--gris); text-decoration: underline; }
body .res .res-intro { margin: 14px 0 28px; line-height: 1.75; }
body .res .res-seccion { margin-top: 72px; scroll-margin-top: 100px; }
body .res .res-seccion > h2 { margin-bottom: 22px; }
body .res .res-caja { padding: 24px; border: 1px solid var(--linea); border-radius: 16px; background: #fff; box-shadow: 0 6px 24px #0b3c8c08; }

/* ---- Botones y campos ---- */
body .res .res-btn { display: inline-flex; width: auto; height: auto; align-items: center; justify-content: center; min-height: 52px; padding: 10px 28px; border: 0; border-radius: 30px; background: var(--azul); font-family: inherit; font-size: 16px; font-weight: 700; line-height: 1.25; text-align: center; text-decoration: none; text-transform: none; white-space: normal; color: #fff; cursor: pointer; transition: background .15s; }
body .res .res-btn:hover { background: var(--marino); color: #fff; }
body .res .res-btn-compra { background: var(--amarillo); color: var(--marino); }
body .res .res-btn-compra:hover { background: #ffd95c; color: var(--marino); }
body .res .res-form label { display: block; margin: 0 0 6px; font-size: 14px; font-weight: 600; color: #304967; }
body .res .res-form select, body .res .res-form input.input-comprobar-19 { display: block; float: none; width: 100%; min-width: 0; height: 54px; margin: 0; padding: 0 14px; border: 1px solid #9aaacb; border-radius: 10px; background: #fff; font-family: inherit; font-size: 16px; font-weight: 400; text-align: left; color: var(--marino); }
body .res .res-form input.input-comprobar-19 { font-size: 26px; font-weight: 700; letter-spacing: .2em; text-align: center; }
body .res .res-form input.input-comprobar-19::placeholder { font-weight: 400; color: #8190a8; opacity: 1; }
body .res .res-aviso { min-height: 24px; margin-top: 10px; font-size: 15px; font-weight: 600; color: var(--azul); }

/* ---- Decimo con el numero encima: las medidas van con el ancho de la imagen ---- */
body .res .res-decimo { position: relative; display: block; width: 100%; container-type: inline-size; }
body .res .res-decimo img { display: block; width: 100%; height: auto; aspect-ratio: 530 / 290; object-fit: cover; border-radius: 6px; background: var(--palido); }
body .res .res-decimo-num { position: absolute; top: 20.3%; left: 34%; width: 46%; transform: translateY(-50%); text-indent: .12em; font-family: Roboto, Arial, sans-serif; font-size: 22px; font-size: 8.4cqw; font-weight: 700; line-height: 1.2; letter-spacing: .12em; text-align: center; color: #000; }

/* ======================= comprobar.php ======================= */
body .res .res-hero { display: grid; grid-template-columns: 1.45fr 1fr; gap: 20px; }
body .res .res-hero h2, body .res .res-hero h3 { font-size: 24px; }
body .res .res-hero h2::before { content: none; }
body .res .res-check > h2 { margin-bottom: 18px; padding-bottom: 15px; border-bottom: 1px solid var(--linea); }
body .res .res-check-sel { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
body .res .res-check-sel .res-decimo { flex: 0 0 190px; width: 190px; }
body .res .res-check-sorteo { display: block; font-size: 19px; font-weight: 700; color: var(--marino); }
body .res .res-check-fecha { color: var(--gris); }
body .res .res-campo { margin-bottom: 14px; }
body .res .res-fila { display: flex; gap: 10px; }
body .res .res-fila input.input-comprobar-19 { flex: 1 1 0; }
body .res .res-fila .res-btn { flex: 0 0 auto; }
body .res .res-ver { display: inline-block; margin-top: 6px; font-weight: 600; text-decoration: none; }
body .res .res-prox { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: var(--palido); text-align: center; }
body .res .res-prox h3 { text-align: center; }
body .res .res-prox .res-decimo { max-width: 270px; }
body .res .res-prox-dia { font-size: 18px; }
body .res .res-prox-precio { font-size: 24px; font-weight: 700; line-height: 1.2; color: var(--marino); }
body .res .res-prox .res-btn { width: 100%; }

body .res .res-cab { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
body .res .res-filtros { display: flex; flex-wrap: wrap; gap: 6px; }
body .res .res-filtros button { width: auto; height: auto; min-height: 44px; padding: 8px 16px; border: 1px solid var(--linea); border-radius: 8px; background: #fff; font-family: inherit; font-size: 15px; color: var(--azul); cursor: pointer; }
body .res .res-filtros button::first-letter { text-transform: uppercase; }
body .res .res-filtros button[aria-pressed="true"] { border-color: var(--azul); background: var(--azul); color: #fff; }
body .res .res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
body .res .res-sorteo { display: flex; flex-direction: column; gap: 14px; padding: 18px; border: 1px solid var(--linea); border-radius: 12px; background: #fff; }
body .res .res-sorteo:hover { border-color: #94b3d3; }
body .res .res-sorteo-fecha { font-weight: 700; line-height: 1.4; color: var(--marino); }
body .res .res-sorteo .res-decimo { align-self: center; max-width: 250px; }
body .res .res-premios { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; }
body .res .res-premios > div { padding: 8px 12px; border-radius: 6px; background: var(--palido); font-size: 14px; color: var(--gris); }
body .res .res-premios strong { display: block; font-size: 25px; font-weight: 700; line-height: 1.3; letter-spacing: .03em; color: var(--azul); }
body .res .res-reint { display: flex; justify-content: space-between; padding-top: 10px; border-top: 1px solid var(--linea); font-size: 15px; color: var(--gris); }
body .res .res-reint span::first-letter { text-transform: uppercase; }
body .res .res-reint b { font-weight: 700; color: var(--azul); }
body .res .res-enlace { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; margin-top: auto; padding: 10px 14px; border: 1px solid var(--linea); border-radius: 8px; font-size: 14px; font-weight: 600; line-height: 1.35; text-decoration: none; }
body .res .res-enlace:hover { border-color: var(--azul); background: var(--palido); }
body .res .res-info { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--linea); font-size: 17px; line-height: 1.8; }

body .res-barra { display: none; }

/* ======================= detalle.php ======================= */
body .res .res-titular { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 28px; }
body .res .res-titular > div { flex: 1 1 520px; min-width: 0; }
body .res .res-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
body .res .res-chips span { padding: 4px 12px; border-radius: 999px; background: #e6edf8; font-size: 13px; font-weight: 600; color: var(--azul); }
body .res .res-cambiar { position: relative; flex: 0 0 auto; }
body .res summary { list-style: none; cursor: pointer; }
body .res summary::-webkit-details-marker { display: none; }
body .res .res-cambiar summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-width: 240px; min-height: 48px; padding: 0 16px; border: 1px solid #b9c6dd; border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--azul); }
body .res .res-cambiar summary::after { content: ""; width: 8px; height: 8px; margin-top: -4px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
body .res .res-cambiar ul { position: absolute; right: 0; z-index: 6; width: 100%; min-width: 290px; max-height: 330px; margin-top: 6px; padding: 6px; overflow: auto; border: 1px solid var(--linea); border-radius: 10px; background: #fff; box-shadow: 0 12px 36px #0b3c8c26; }
body .res .res-cambiar li a { display: block; padding: 10px 12px; border-radius: 7px; font-size: 15px; text-decoration: none; }
body .res .res-cambiar li a:hover, body .res .res-cambiar li a[aria-current] { background: var(--palido); }
body .res .res-cambiar li a[aria-current] { font-weight: 700; }

body .res .res-resultado { display: grid; grid-template-columns: 2fr 1fr; gap: 28px; align-items: start; }
body .res .res-resultado > .res-caja { padding: 30px; border-radius: 20px; box-shadow: 0 12px 36px #0b3c8c0b; }
body .res .res-bolas { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; margin-bottom: 22px; }
body .res .res-primero { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 24px; overflow: hidden; border-radius: 12px; background: linear-gradient(135deg, #0b3c8c, #08265b); color: #fff; }
body .res .res-primero::before { content: ""; position: absolute; right: -60px; bottom: -90px; width: 230px; height: 230px; border: 1px solid #ffffff25; border-radius: 50%; box-shadow: 0 0 0 30px #ffffff08, 0 0 0 60px #ffffff08; }
body .res .res-rotulo { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 10px; font-size: 14px; color: var(--gris); }
body .res .res-rotulo b { font-size: 15px; font-weight: 600; color: #26354b; }
body .res .res-rotulo b::first-letter { text-transform: uppercase; }
body .res .res-primero .res-rotulo { color: #c9d7f0; }
body .res .res-primero .res-rotulo b { font-size: 17px; color: #fff; }
body .res .res-cifras { position: relative; display: flex; gap: 6px; }
body .res .res-cifras span { display: flex; flex: 1 1 0; align-items: center; justify-content: center; min-width: 0; max-width: 64px; height: 72px; border-radius: 10px; background: #fff; font-size: 42px; font-weight: 800; line-height: 1; color: var(--marino); }
body .res .res-otros { display: flex; flex-direction: column; gap: 12px; }
body .res .res-otros > div { flex: 1 1 auto; padding: 14px 16px; border: 1px solid var(--linea); border-radius: 12px; }
body .res .res-segundo { font-size: 34px; font-weight: 800; line-height: 1.35; letter-spacing: .08em; color: var(--marino); }
body .res .res-reintegros { display: flex; gap: 8px; margin-top: 6px; }
body .res .res-reintegros span { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #e6edf8; font-size: 22px; font-weight: 800; color: var(--marino); }
body .res .res-texto { font-size: 17px; line-height: 1.75; }
body .res .res-lado { display: flex; flex-direction: column; gap: 18px; }
body .res .res-lado .res-form { border-top: 4px solid var(--amarillo); }
body .res .res-lado .res-form h2 { margin-bottom: 14px; font-size: 24px; }
body .res .res-lado .res-form h2::before { content: none; }
body .res .res-lado .res-form .res-btn { width: 100%; margin-top: 12px; }
body .res .res-lado .res-aviso { min-height: 0; }
body .res figure.res-caja { padding: 16px; background: #f8fafd; }
body .res figcaption { margin-top: 10px; font-size: 12px; line-height: 1.5; color: var(--gris); }

body .res .res-banda { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: 36px; padding: 28px 30px; border-radius: 16px; background: linear-gradient(110deg, #082b66, #0b3c8c); color: #dce6f7; }
body .res .res-banda .res-decimo { flex: 0 0 220px; width: 220px; }
body .res .res-banda > div { flex: 1 1 260px; font-size: 18px; }
body .res .res-banda h3 { margin-bottom: 4px; font-size: 26px; color: #fff; }
body .res .res-banda .res-btn { min-height: 56px; padding: 10px 36px; font-size: 18px; }

body .res .res-indice { position: sticky; top: 0; z-index: 5; display: flex; gap: 8px; margin-top: 28px; padding: 10px 0; overflow-x: auto; border-bottom: 1px solid var(--linea); background: #fff; }
body .res .res-indice a { display: flex; flex: 0 0 auto; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 8px; background: var(--palido); font-size: 14px; font-weight: 600; text-decoration: none; }
body .res .res-indice a:hover { background: #e2ebf7; }

body .res .res-lista { overflow: hidden; border: 1px solid var(--linea); border-radius: 16px; background: #fff; box-shadow: 0 8px 26px #0b3c8c08; }
body .res .res-lista > div { display: flex; align-items: center; gap: 8px 20px; padding: 18px 24px; }
body .res .res-lista > div + div { border-top: 1px solid #e3e8f1; }
body .res .res-lista > div:nth-child(even) { background: #f8fafd; }
body .res .res-lista dt { flex: 0 0 200px; font-weight: 600; line-height: 1.5; }
body .res .res-lista dt span { display: block; font-size: 14px; font-weight: 400; color: var(--gris); }
body .res .res-lista dd { display: flex; flex: 1 1 0; flex-wrap: wrap; gap: 8px; }
body .res .res-lista dd span { min-width: 44px; padding: 6px 12px; border-radius: 8px; background: #eef3fb; font-size: 19px; font-weight: 700; line-height: 1.5; letter-spacing: .04em; text-align: center; color: var(--marino); }
body .res .res-lista .res-mayor dd span { background: var(--azul); font-size: 24px; color: #fff; }

body .res .res-directo { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; align-items: start; margin-top: 18px; }
body .res .res-actualizado { font-size: 14px; color: var(--gris); }
body .res .res-filtro-directo { display: flex; gap: 6px; padding: 4px; border-radius: 12px; background: #e6edf8; }
body .res .res-filtro-directo button { width: auto; height: auto; min-height: 40px; padding: 0 14px; border: 0; border-radius: 9px; background: transparent; font-family: inherit; font-size: 14px; font-weight: 600; color: var(--azul); cursor: pointer; }
body .res .res-filtro-directo button:hover { background: #fff; }
body .res .res-filtro-directo button[aria-pressed="true"] { background: var(--azul); color: #fff; }
body .res .res-fase + .res-fase { margin-top: 24px; }
body .res .res-fase summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; min-height: 48px; padding: 12px 18px; border-radius: 10px; background: #edf3fa; }
body .res .res-fase summary span { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gris); }
body .res .res-fase summary b { font-size: 14px; font-weight: 600; color: var(--azul); }
body .res .res-fase[open] .res-ver-fase, body .res .res-fase:not([open]) .res-ocultar-fase { display: none; }
/* cada entrada: hora a la izquierda, con la linea que baja hasta la siguiente */
body .res .res-entrada { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px 22px; padding: 28px 0 30px; border-bottom: 1px solid #e1e7ef; scroll-margin-top: 70px; }
body .res .res-cuando { position: relative; }
body .res .res-cuando::after { content: ""; position: absolute; top: 36px; bottom: -30px; left: 28px; width: 1px; background: var(--linea); }
body .res .res-fase .res-entrada:last-child .res-cuando::after { bottom: 0; }
body .res .res-hora { display: block; padding: 3px 8px; border-radius: 6px; background: var(--azul); font-size: 14px; font-weight: 700; line-height: 1.6; text-align: center; color: #fff; }
body .res .res-fase-antes .res-hora { background: var(--gris); }
body .res .res-entrada-txt { display: flex; flex-direction: column; gap: 12px; }
body .res .res-entrada h3 { font-size: 21px; line-height: 1.35; letter-spacing: -.01em; }
body .res .res-entrada p { font-size: 17px; line-height: 1.75; overflow-wrap: anywhere; }
body .res .res-entrada p a:not(.res-btn) { font-weight: 600; text-decoration: underline; }
body .res .res-entrada-btn .res-btn { padding: 10px 24px; }
body .res .res-entrada p.res-gran-premio { display: flex; align-items: center; align-self: flex-start; gap: 14px; padding: 12px 18px; border-radius: 12px; background: var(--azul); line-height: 1.3; color: #fff; }
body .res .res-gran-premio span { font-size: 13px; color: #c9d7f0; }
body .res .res-gran-premio strong { font-size: 34px; font-weight: 800; letter-spacing: .08em; }
body .res .res-numeros { padding: 12px 14px; border-radius: 10px; background: #f3f6fb; }
body .res .res-entrada .res-numeros p { margin-bottom: 8px; font-size: 15px; line-height: 1.5; color: #33405a; }
body .res .res-numeros > div { display: flex; flex-wrap: wrap; gap: 6px; }
body .res .res-numeros span { padding: 3px 10px; border: 1px solid #c9d5ea; border-radius: 7px; background: #fff; font-weight: 700; line-height: 1.6; color: var(--marino); }
body .res .res-puntos { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
body .res .res-puntos li { padding: 10px 12px; border: 1px solid var(--linea); border-radius: 10px; font-size: 14px; line-height: 1.5; color: var(--gris); }
body .res .res-puntos strong { display: block; font-size: 15px; font-weight: 600; color: #26354b; }
body .res .res-lateral { position: sticky; top: 86px; display: flex; flex-direction: column; gap: 16px; }
body .res .res-momentos h3 { margin-bottom: 8px; font-size: 17px; }
body .res .res-momentos ol { margin: 0; padding: 0; list-style: none; }
body .res .res-momentos a { display: flex; gap: 10px; min-height: 44px; padding: 10px 0; border-top: 1px solid #eef2f8; font-size: 14px; line-height: 1.6; text-decoration: none; color: #1b2433; }
body .res .res-momentos b { flex: 0 0 42px; font-weight: 700; color: var(--gris); }
body .res .res-momentos a:hover span { text-decoration: underline; }
body .res .res-compra { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid #f1dc8f; border-radius: 16px; background: #fff7db; color: #33405a; }

body .res .res-dos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
body .res .res-tres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
body .res .res-caja > h3 { margin-bottom: 12px; line-height: 1.35; }
body .res .res-sitios li { padding: 10px 0; border-top: 1px solid #eef2f8; font-size: 14px; line-height: 1.5; color: var(--gris); }
body .res .res-sitios strong { display: block; font-size: 16px; font-weight: 600; color: #26354b; }
body .res .res-programa > div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-top: 1px solid #eef2f8; font-size: 15px; line-height: 1.5; }
body .res .res-programa dt { font-weight: 400; }
body .res .res-programa dd { font-weight: 700; white-space: nowrap; }

/* ======================= Ventanas del comprobador (premiado / no premiado) ======================= */
/* con la ventana abierta no se mueve la pagina de detras (comprobar.js la abre poniendo display: block en el fondo) */
html:has(.backOnlyModalAcount[style*="display: block"]) { overflow: hidden; scrollbar-gutter: stable; }
body .onlyModalAcount { overscroll-behavior: contain; box-sizing: border-box; top: 50%; left: 50%; width: 440px; max-width: calc(100vw - 32px); height: auto; max-height: calc(100vh - 32px); margin: 0; padding: 28px; overflow: auto; transform: translate(-50%, -50%); border: 0; border-top: 6px solid #fcc82b; border-radius: 18px; background: #fff; box-shadow: 0 24px 70px #072b6655; font-family: Roboto, Arial, sans-serif; }
body .onlyModalAcount h3.f-30 { margin: 0 0 16px; font-family: inherit; font-size: 28px; line-height: 1.2; text-transform: none; color: #072b66; }
body .onlyModalAcount .fa { display: none; }   /* estas paginas no cargan FontAwesome: salia un cuadrado vacio */
body .onlyModalAcount .closeModalAcount { top: 10px; right: 10px; width: 40px; height: 40px; background: #f1f6fc; line-height: 40px; text-decoration: none; color: #0b3c8c; }
body .onlyModalAcount .bloque1 { padding: 16px; border: 1px solid #dce3ef; border-radius: 12px 12px 0 0; background: #f1f6fc; text-align: center; }
body .onlyModalAcount .textoPremiado { font-size: 17px; font-weight: 600; color: #26354b; }
body .onlyModalAcount .decimoPremiado { margin: 8px 0 0; background: none; font-family: inherit; font-size: 40px; font-weight: 800; line-height: 1.2; letter-spacing: .1em; color: #072b66; }
body .onlyModalAcount .bloque1 + div { padding: 14px; border-radius: 0 0 12px 12px; }
body .onlyModalAcount .montoDecimo { margin: 0; padding: 0; font-family: inherit; font-size: 40px !important; line-height: 1.2; color: #fcc82b !important; }
body .onlyModalAcount .subDecimo { margin: 0; padding: 0; font-family: inherit; font-size: 18px !important; line-height: 1.4; }
body .onlyModalAcount .comoCobro { margin: 0; padding: 18px 0 8px; font-family: inherit; font-size: 19px !important; text-align: left; color: #072b66; }
body .onlyModalAcount .textoCobro { margin: 0 0 8px; font-family: inherit; font-size: 13px !important; line-height: 1.55; text-align: left; color: #26354b; }
body .onlyModalAcount [class*="col-"] { float: left; width: 50%; padding: 4px; }
body .onlyModalAcount .btn-azulito { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; margin: 0; padding: 8px; border: 1px solid #0b3c8c; border-radius: 30px; background: #fff; font-family: inherit; font-size: 12px; font-weight: 700; line-height: 1.3; text-align: center; white-space: normal; color: #0b3c8c; }
body .onlyModalAcount .btn-azulito.activo, body .onlyModalAcount .btn-azulito:hover { background: #0b3c8c; color: #fff; }

/* Sellos de juego responsable del pie (movil): css/detalle/app_min.css los busca en css/images, que no existe, y el recuadro salia vacio */
html body .PieBanner .CuadroPieBanner1 { background-image: url("/Web_2_0/Web/RecursosAranya/images/Arana/pie_1.png"); }

/* ======================= Tableta y movil ======================= */
@media (max-width: 991px) {
    body .res .res-hero, body .res .res-resultado, body .res .res-directo { grid-template-columns: minmax(0, 1fr); }
    body .res .res-grid { grid-template-columns: repeat(2, 1fr); }
    body .res .res-tres { grid-template-columns: minmax(0, 1fr); }
    body .res .res-lateral { position: static; order: -1; }
}
@media (max-width: 767px) {
    body .res { padding: 18px 16px 8px; }
    body .res .res-migas { margin-bottom: 14px; font-size: 12px; }
    body .res .res-seccion { margin-top: 52px; scroll-margin-top: 130px; }
    body .res .res-indice { top: 50px; }
    body .res .res-caja, body .res .res-resultado > .res-caja { padding: 18px 16px; }
    body .res .res-titular { margin-bottom: 20px; }
    body .res .res-titular > div { flex-basis: 100%; }
    body .res .res-h1-dia { font-size: clamp(17px, 5.4vw, 28px); text-wrap: balance; }	/* con el año, en 2 lineas */
    body .res .res-cambiar { flex-basis: 100%; }
    body .res .res-check-sel .res-decimo { flex-basis: 140px; width: 140px; }
    body .res .res-check-sel { gap: 14px; }
    body .res .res-fila { flex-direction: column; }
    body .res .res-fila input.input-comprobar-19 { flex: 0 0 54px; }
    body .res .res-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    body .res .res-sorteo { display: grid; grid-template-columns: 1.15fr 1fr; gap: 10px 12px; padding: 14px; }
    body .res .res-sorteo-fecha, body .res .res-reint, body .res .res-enlace { grid-column: 1 / -1; }
    body .res .res-sorteo .res-decimo { max-width: none; align-self: center; }
    body .res .res-premios { grid-template-columns: minmax(0, 1fr); gap: 5px; }
    body .res .res-premios > div { padding: 4px 10px; font-size: 12px; }
    body .res .res-premios strong { font-size: 21px; }
    body .res .res-info { margin-top: 40px; font-size: 16px; }
    body .res .res-bolas, body .res .res-dos { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    body .res .res-primero { padding: 18px 16px; }
    body .res .res-cifras span { height: 58px; font-size: 34px; }
    body .res .res-texto, body .res .res-entrada p { font-size: 16px; }
    body .res .res-banda { padding: 22px 18px; }
    body .res .res-banda .res-decimo { flex: 0 0 100%; max-width: 260px; margin: 0 auto; }
    body .res .res-banda > div, body .res .res-banda .res-btn { flex: 1 1 100%; }
    body .res .res-lista > div { flex-direction: column; align-items: flex-start; padding: 16px; }
    body .res .res-lista dt, body .res .res-lista dd { flex: 0 0 auto; }
    body .res .res-lista dt span { display: inline; margin-left: 6px; }
    body .res .res-entrada { grid-template-columns: minmax(0, 1fr); padding: 22px 0; scroll-margin-top: 120px; }
    body .res .res-cuando::after { content: none; }
    body .res .res-hora { display: inline-block; }
    body .res .res-entrada h3 { font-size: 20px; }
    body .res .res-filtro-directo { width: 100%; }
    body .res .res-filtro-directo button { flex: 1 1 auto; padding: 0 8px; }
    body .res .res-entrada-btn .res-btn { width: 100%; }

    body .res-barra.ver { position: fixed; right: 0; bottom: 0; left: 0; z-index: 90; display: flex; align-items: center; gap: 10px; max-width: none; padding: 10px 12px max(10px, env(safe-area-inset-bottom)); border-top: 1px solid #dce3ef; background: #fff; font-size: 13px; line-height: 1.35; }
    body .res-barra b { display: block; font-size: 15px; }
    body .res-barra .res-btn { flex: 1 1 0; min-height: 46px; padding: 8px; }
    body .res-barra button { width: 44px; height: 44px; padding: 0; border: 0; background: none; font-size: 26px; line-height: 1; color: #4a5876; }
}
@media (prefers-reduced-motion: no-preference) { html:has(.res-indice) { scroll-behavior: smooth; } }
