/* Multisala v8 (shared by every P1 room). Presentation only: rows, game exit and the weekly welcome promo. */

/* Compact featured rows: stacked close together with small titles. */
#homeRows.home-rows{display:block;margin-top:8px;margin-bottom:8px}
#homeRows.home-rows .home-row{margin:0 0 10px;padding-block:0}
#homeRows.home-rows .home-row-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 4px;min-height:0}
#homeRows.home-rows .home-row-header h2{display:flex;align-items:center;gap:7px;margin:0;font-size:15px;line-height:1.25;font-weight:800;letter-spacing:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#homeRows.home-rows .home-row-header h2 .pink-bar{width:3px;height:15px;flex:none}
#homeRows.home-rows .home-row-header h2 img{width:18px;height:18px;flex:none}
#homeRows.home-rows .heading-line,#homeRows.home-rows .featured-row-note{display:none}
#homeRows.home-rows .row-more{flex:none;min-height:34px;padding:4px 8px;font-size:12px;border-radius:8px}
#homeRows.home-rows .row-more img{width:14px;height:14px}
#homeRows.home-rows .game-row-track{margin-top:0;padding-block:2px 6px}
#homeRows.home-rows .home-row.is-loading .game-row-track{overflow:hidden}
#homeRows.home-rows .home-row.is-loading .game-skeleton{aspect-ratio:1/1;min-height:0;border-radius:12px}
@media(max-width:520px){
  #homeRows.home-rows .home-row{margin-bottom:8px}
  #homeRows.home-rows .home-row-header h2{font-size:13px}
  #homeRows.home-rows .home-row-header h2 .pink-bar{height:13px}
  #homeRows.home-rows .row-more{font-size:11px;min-height:32px}
}

/* The site-wide "Pantalla completa" banner is retired (client request). */
#multisalaFullscreenTop{display:none!important}

/* Game: our own fullscreen keeps a corner "Salir"; the game frame may not take over the screen. */
#gameShellStage{position:relative}
.ms-game-exit{position:absolute;top:max(10px,env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right));z-index:30;display:none;align-items:center;gap:6px;min-height:38px;padding:6px 14px;border:1px solid #ffffff66;border-radius:999px;background:#07070bd9;color:#fff;font:800 13px/1 system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:.02em;cursor:pointer;box-shadow:0 6px 18px #000a}
.ms-game-exit span{font-size:15px;line-height:1}
.ms-game-exit:focus-visible{outline:3px solid #fff;outline-offset:2px}
#gameShellStage:fullscreen .ms-game-exit,#gameShell:fullscreen .ms-game-exit{display:inline-flex}
#gameShellStage:-webkit-full-screen .ms-game-exit{display:inline-flex}
#gameShell:-webkit-full-screen .ms-game-exit{display:inline-flex}
html.ms-game-fullscreen .ms-game-exit{display:inline-flex}
html.ms-fullscreen-unavailable #gameFullscreen{display:none!important}
@media(max-width:700px){
  html:not(.ms-fullscreen-unavailable) .game-shell-actions #gameFullscreen{display:inline-flex;align-items:center;justify-content:center;width:40px;padding:0;font-size:0}
  html:not(.ms-fullscreen-unavailable) .game-shell-actions #gameFullscreen::before{content:"⛶";font-size:18px;line-height:1}
}

/* Weekly welcome-bonus promo (first visit of each week, only when the bonus applies). */
.ms-promo{width:min(420px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 24px);margin:auto;padding:0;border:0;background:transparent;color:#fff;overflow:visible}
.ms-promo::backdrop{background:#000000b8}
.ms-promo-card{position:relative;display:flex;flex-direction:column;max-height:calc(100dvh - 24px);overflow:auto;border:1px solid var(--ms-promo-accent,#ff2d8a);border-radius:18px;background:#0c0a12;box-shadow:0 24px 70px #000c,0 0 34px color-mix(in srgb,var(--ms-promo-accent,#ff2d8a) 35%,transparent)}
.ms-promo-art{display:block;width:100%;padding:0;border:0;background:#000;cursor:pointer;line-height:0}
.ms-promo-art img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover}
.ms-promo-art:focus-visible,.ms-promo-cta:focus-visible,.ms-promo-close:focus-visible{outline:3px solid #fff;outline-offset:-3px}
.ms-promo-copy{padding:12px 16px 14px;text-align:center}
.ms-promo-copy h2{margin:0 0 4px;font:900 20px/1.2 system-ui,-apple-system,"Segoe UI",sans-serif;color:#fff}
.ms-promo-copy p{margin:0 0 10px;font:500 13px/1.4 system-ui,-apple-system,"Segoe UI",sans-serif;color:#d9d3e6}
.ms-promo-cta{width:100%;min-height:46px;border:0;border-radius:12px;background:var(--ms-promo-accent,#ff2d8a);color:var(--ms-promo-ink,#fff);font:900 16px/1 system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:.03em;text-transform:uppercase;cursor:pointer}
.ms-promo-terms{display:inline-block;margin-top:8px;color:#bdb3cc;font:500 11px/1.3 system-ui,sans-serif}
.ms-promo-close{position:absolute;top:8px;right:8px;z-index:2;width:36px;height:36px;border:1px solid #ffffff59;border-radius:50%;background:#000000a6;color:#fff;font:700 22px/1 system-ui,sans-serif;cursor:pointer}
.ms-promo[data-room="ganamos"],.ms-landing[data-room="ganamos"]{--ms-promo-accent:#9b4dff;--ms-landing-text:#d9b8ff}
.ms-promo[data-room="celuapuestas"],.ms-landing[data-room="celuapuestas"]{--ms-promo-accent:#ff2d8a;--ms-landing-text:#ff8fbd}
.ms-promo[data-room="betados"],.ms-landing[data-room="betados"]{--ms-promo-accent:#ffb23f;--ms-promo-ink:#1b1206;--ms-landing-text:#ffd074}
.ms-promo[data-room="tioricojuegos"],.ms-landing[data-room="tioricojuegos"]{--ms-promo-accent:#ff8a1f;--ms-promo-ink:#1f0d02;--ms-landing-text:#ffc16e}
.ms-promo[data-room="multisala"],.ms-landing[data-room="multisala"]{--ms-promo-accent:#ff2da0;--ms-landing-text:#ffd84a}
.ms-promo[data-room="futurebet"],.ms-landing[data-room="futurebet"]{--ms-promo-accent:#22d3ee;--ms-promo-ink:#030611;--ms-landing-text:#67e8f9}
@media(prefers-reduced-motion:no-preference){.ms-promo[open] .ms-promo-card{animation:ms-promo-in .22s ease-out}}
@keyframes ms-promo-in{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}

/* v14 ad landing (?promo=bienvenida): full-screen welcome-bonus poster over the room and under the cookie choice. */
html.ms-landing-open,html.ms-landing-open body{overflow:hidden}
/* The cookie choice stays usable above the landing (v16 bar rule below); the room's floating actions wait. */
html.ms-landing-open .marketing-consent{z-index:120}
html.ms-landing-open .multisala-actions{display:none!important}
.ms-landing{position:fixed;inset:0;z-index:100;display:flex;justify-content:center;overflow-y:auto;overscroll-behavior:contain;background:#07060c;color:#fff;font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
.ms-landing-blur{position:fixed;inset:-40px;width:calc(100% + 80px);height:calc(100% + 80px);object-fit:cover;filter:blur(28px) brightness(.38) saturate(1.2);pointer-events:none}
.ms-landing-stage{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:flex-end;width:min(100%,480px);min-height:100%;min-height:100dvh;background:radial-gradient(120% 70% at 50% 8%,color-mix(in srgb,var(--ms-promo-accent,#ff2d8a) 42%,#07060c),#07060c 72%)}
.ms-landing-art{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:50% 0}
.ms-landing-stage::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#07060c00 0,#07060c00 28%,#07060cbf 48%,#07060cf2 68%,#07060c 100%);pointer-events:none}
.ms-landing-logo{position:absolute;top:max(28px,env(safe-area-inset-top));left:50%;width:min(64%,300px);max-height:100px;object-fit:contain;transform:translateX(-50%);filter:drop-shadow(0 6px 18px #000b)}
.ms-landing-close{position:absolute;top:max(10px,env(safe-area-inset-top));right:10px;z-index:2;width:40px;height:40px;border:1px solid #ffffff59;border-radius:50%;background:#000000a6;color:#fff;font:700 24px/1 system-ui,sans-serif;cursor:pointer}
.ms-landing-copy{margin-top:min(34vh,300px);padding:12px 20px calc(18px + env(safe-area-inset-bottom));text-align:center}
.ms-landing-title{display:grid;justify-items:center;gap:2px;margin:0;font-weight:900;line-height:1;text-transform:uppercase;text-shadow:0 4px 18px #000c}
.ms-landing-kicker{font-size:14px;letter-spacing:.3em;color:var(--ms-landing-text,#ffd84a)}
.ms-landing-percent{font-size:clamp(96px,31vw,150px);letter-spacing:-.04em;text-shadow:none;background:linear-gradient(180deg,#fff8d2 0%,#ffd84a 45%,#f59e0b 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:#ffd84a;filter:drop-shadow(0 6px 22px #000d)}
.ms-landing-sub{font-size:clamp(20px,6vw,26px);letter-spacing:.02em}
.ms-landing-cap{display:inline-block;margin:12px 0 0;padding:7px 16px;border:1px solid var(--ms-landing-text,#ffd84a);border-radius:999px;background:#000000a6;font-size:14px;font-weight:800;color:#fff}
.ms-landing-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0 14px;padding:0;list-style:none;font-size:12px;line-height:1.25;color:#ece8f6}
.ms-landing-steps li{display:grid;justify-items:center;gap:5px;padding:9px 6px;border:1px solid #ffffff24;border-radius:12px;background:#0b0914b8}
.ms-landing-steps b{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--ms-promo-accent,#ff2d8a);color:var(--ms-promo-ink,#fff);font-size:13px}
.ms-landing-steps[hidden]{display:none}
.ms-landing-cta{display:block;width:100%;min-height:58px;margin-top:4px;border:0;border-radius:14px;background:var(--ms-promo-accent,#ff2d8a);color:var(--ms-promo-ink,#fff);font:900 19px/1 system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:.05em;text-transform:uppercase;cursor:pointer;box-shadow:0 12px 32px color-mix(in srgb,var(--ms-promo-accent,#ff2d8a) 45%,transparent)}
.ms-landing-cta:disabled{opacity:.6;cursor:progress}
.ms-landing-login{display:inline-block;margin-top:10px;padding:8px;border:0;background:none;color:#fff;font:700 14px/1.2 system-ui,sans-serif;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.ms-landing-login[hidden],.ms-landing-cap[hidden],.ms-landing-terms[hidden],.ms-landing img[hidden]{display:none}
.ms-landing-legal{margin:8px 0 0;font-size:11px;line-height:1.45;color:#b9b2c9}
.ms-landing-terms{margin-left:4px;color:#e2dcef}
.ms-landing-close:focus-visible,.ms-landing-cta:focus-visible,.ms-landing-login:focus-visible,.ms-landing-terms:focus-visible{outline:3px solid #fff;outline-offset:2px}
@media(prefers-reduced-motion:no-preference){.ms-landing-copy{animation:ms-promo-in .35s ease-out}.ms-landing[data-state="ready"] .ms-landing-cta{animation:ms-landing-pulse 2.4s ease-in-out 1s infinite}}
@keyframes ms-landing-pulse{0%,100%{transform:none}50%{transform:scale(1.025)}}

/* v16 cookie choice (all rooms): one short bar with the same consent and buttons; the full notice under "Más info".
   Id selectors win over each room's own .marketing-consent rules. Above the phone bottom nav and above the ad landing. */
#marketingConsent.ms-consent{position:fixed;top:auto;left:8px;right:8px;bottom:calc(8px + env(safe-area-inset-bottom));z-index:85;display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;width:auto;max-width:760px;margin:0 auto;padding:10px 12px;border:1px solid #ffffff2e;border-radius:14px;background:#0d0b14f5;box-shadow:0 10px 36px #000a;color:#ece8f6;font:500 13px/1.35 system-ui,-apple-system,"Segoe UI",sans-serif;text-align:left}
#marketingConsent.ms-consent.hidden{display:none}
#marketingConsent.ms-consent>strong,#marketingConsent.ms-consent>p:not(.ms-consent-short){display:none}
#marketingConsent.ms-consent.ms-consent-open>p:not(.ms-consent-short){display:block;flex:1 1 100%;order:2;margin:0;color:#cfc8de;font-size:12px;line-height:1.45}
#marketingConsent .ms-consent-short{flex:1 1 240px;margin:0;color:#ece8f6;font-size:13px;line-height:1.35}
#marketingConsent .ms-consent-more{padding:0;border:0;border-radius:0;background:none;color:#fff;font:inherit;font-weight:700;text-decoration:underline;text-underline-offset:2px;box-shadow:none;cursor:pointer}
#marketingConsent .ms-consent-privacy{order:3;flex:1 1 100%;color:#fff;font-size:12px}
#marketingConsent .ms-consent-privacy[hidden]{display:none}
#marketingConsent.ms-consent>div{display:flex;flex:0 0 auto;justify-content:flex-end;gap:8px;margin:0 0 0 auto}
#marketingConsent.ms-consent>div>button{min-width:96px;min-height:40px;margin:0;padding:8px 14px;border-radius:10px;font:800 14px/1 system-ui,-apple-system,"Segoe UI",sans-serif;box-shadow:none;cursor:pointer}
#marketingConsent.ms-consent #consentReject{border:1px solid #ffffff66;background:transparent;color:#fff}
#marketingConsent.ms-consent #consentAccept{border:1px solid #fff;background:#fff;color:#0d0b14}
#marketingConsent .ms-consent-more:focus-visible,#marketingConsent.ms-consent>div>button:focus-visible,#marketingConsent .ms-consent-privacy:focus-visible{outline:3px solid #fff;outline-offset:2px}
@media(max-width:1024px){#marketingConsent.ms-consent{bottom:calc(72px + env(safe-area-inset-bottom))}}
@media(max-width:430px){#marketingConsent.ms-consent>div{flex:1 1 100%}#marketingConsent.ms-consent>div>button{flex:1 1 0}}
html.ms-landing-open #marketingConsent.ms-consent{z-index:120;bottom:calc(8px + env(safe-area-inset-bottom))}
html.ms-landing-open:has(#marketingConsent.ms-consent:not(.hidden)) .ms-landing-copy{padding-bottom:calc(132px + env(safe-area-inset-bottom))}
@media(min-width:700px){.ms-landing{align-items:flex-start;padding:24px}.ms-landing-stage{min-height:calc(100dvh - 48px);border-radius:22px;overflow:hidden;box-shadow:0 30px 90px #000c}}

/* Hub "Nuestras salas": FutureBet joins as a full-width galactic card. */
.ms-room-grid .ms-room-card.futurebet{grid-column:1/-1;aspect-ratio:auto;min-height:170px;border-color:#22d3ee88;color:#22d3ee;background:radial-gradient(circle at 78% 40%,#7c3aed66,transparent 58%),radial-gradient(circle at 18% 80%,#22d3ee33,transparent 55%),linear-gradient(120deg,#030611,#0a1236 60%,#150b33)}
.ms-room-grid .ms-room-card.futurebet .room-banner{inset:auto 2% -4% auto;width:auto;height:122%;max-width:46%;object-fit:contain;opacity:.95;filter:drop-shadow(0 0 22px #7c3aed99)}
.ms-room-grid .ms-room-card.futurebet .room-logo{align-self:flex-start;width:min(340px,58%);height:auto;max-height:86px;margin:auto 0 10px;object-position:left center}
.ms-room-grid .ms-room-card.futurebet span{background:#030611cc;color:#a5f3fc}
.ms-room-grid .ms-room-card.futurebet strong{align-self:flex-start;min-width:min(220px,58%);padding:0 18px;background:#030611b3}
@media(max-width:520px){.ms-room-grid .ms-room-card.futurebet{min-height:140px}.ms-room-grid .ms-room-card.futurebet .room-logo{max-height:58px}}

/* Argenplay-style tiles (client request): bigger covers, tight gaps, image only.
   The game name stays in each card's accessible label. 7 / 5 / 3 per row. */
#homeRows.home-rows .game-row-track{gap:10px;grid-auto-columns:calc((100% - 60px) / 7)}
#homeRows.home-rows .game-card,#gamesGrid .game-card{border:0;border-radius:10px;box-shadow:none;overflow:hidden;background:#080712;padding:0}
#homeRows.home-rows .game-card>img,#gamesGrid .game-card>img,#homeRows.home-rows .game-card>.game-image,#gamesGrid .game-card>.game-image{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;border-radius:10px;margin:0}
#homeRows.home-rows .game-card-info,#gamesGrid .game-card-info{display:none}
#homeRows.home-rows .play-overlay,#gamesGrid .play-overlay{inset:0;border-radius:10px}
#gamesGrid.games-grid{gap:10px}
.game-card>.ms-animated-cover{border-radius:10px}
.game-card>.ms-animated-cover>img{object-fit:cover;padding:0}
@media(max-width:1100px){#homeRows.home-rows .game-row-track{gap:8px;grid-auto-columns:calc((100% - 32px) / 5)}#gamesGrid.games-grid{gap:8px}}
@media(max-width:700px){#homeRows.home-rows .game-row-track{gap:6px;grid-auto-columns:calc((100% - 12px) / 3)}#gamesGrid.games-grid{gap:6px}}

/* v25: the floating Multisala button waits while the cookie choice is open (it covered "Aceptar" on phones). */
html:has(#marketingConsent.ms-consent:not(.hidden)) .multisala-actions{visibility:hidden}

/* v26 first top-up: "100% bono de bienvenida" poster above the bonus note of "Cargar" (all rooms). */
.ms-wallet-welcome{--ms-ww-accent:#ff2d8a;position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;min-height:132px;margin:10px 0 8px;overflow:hidden;border:1px solid color-mix(in srgb,var(--ms-ww-accent) 55%,transparent);border-radius:16px;background:radial-gradient(120% 120% at 50% 0,color-mix(in srgb,var(--ms-ww-accent) 45%,#0b0912),#0b0912 75%);text-align:center}
.ms-wallet-welcome[hidden]{display:none}
.ms-wallet-welcome[data-room="ganamos"]{--ms-ww-accent:#9b4dff}
.ms-wallet-welcome[data-room="betados"]{--ms-ww-accent:#ffb23f}
.ms-wallet-welcome[data-room="tioricojuegos"]{--ms-ww-accent:#ff8a1f}
.ms-wallet-welcome[data-room="multisala"]{--ms-ww-accent:#ff2da0}
.ms-wallet-welcome[data-room="futurebet"]{--ms-ww-accent:#22d3ee}
.ms-wallet-welcome-art{position:absolute;inset:0;z-index:-1;width:100%;height:100%;object-fit:cover;object-position:50% 30%;filter:brightness(.45) saturate(1.1)}
.ms-wallet-welcome-art[hidden]{display:none}
.ms-wallet-welcome-copy{display:grid;justify-items:center;gap:2px;padding:12px 14px}
.ms-wallet-welcome-kicker{color:#fff;font:900 12px/1.1 system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:.24em;text-transform:uppercase;text-shadow:0 2px 10px #000c}
.ms-wallet-welcome-percent{font:900 clamp(52px,16vw,72px)/1 system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:-.03em;background:linear-gradient(180deg,#fff8d2 0%,#ffd84a 45%,#f59e0b 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:#ffd84a;filter:drop-shadow(0 4px 14px #000d)}
.ms-wallet-welcome-sub{color:#fff;font:800 14px/1.25 system-ui,-apple-system,"Segoe UI",sans-serif;text-shadow:0 2px 10px #000c}
.ms-wallet-welcome-user{margin-top:6px;padding:5px 10px;border-radius:999px;background:#000000a6;color:#fff;font:700 12px/1.2 system-ui,-apple-system,"Segoe UI",sans-serif}
.ms-wallet-welcome-user[hidden]{display:none}
/* v26: the bonus note under the amount stays short and small (the poster tells the offer). */
#firstBonusInfo.payment-warning{font-size:12.5px;line-height:1.45}

/* v27 "No pierdas tu cuenta": phone ask after a credited top-up (all rooms). Bottom sheet on phones. */
.ms-phone{--ms-ph-accent:#ff2d8a;--ms-ph-ink:#fff;width:min(calc(100% - 24px),400px);max-width:none;max-height:calc(100dvh - 16px);margin:auto;padding:0;border:0;background:transparent;color:#fff;overflow-y:auto;overscroll-behavior:contain}
.ms-phone[data-room="ganamos"]{--ms-ph-accent:#9b4dff}
.ms-phone[data-room="betados"]{--ms-ph-accent:#ffb23f;--ms-ph-ink:#1a1204}
.ms-phone[data-room="tioricojuegos"]{--ms-ph-accent:#ff8a1f;--ms-ph-ink:#1a0d02}
.ms-phone[data-room="multisala"]{--ms-ph-accent:#ff2da0}
.ms-phone[data-room="futurebet"]{--ms-ph-accent:#22d3ee;--ms-ph-ink:#03161a}
.ms-phone::backdrop{background:#05040acc}
.ms-phone-card{display:grid;gap:10px;box-sizing:border-box;padding:22px 18px 16px;border:1px solid color-mix(in srgb,var(--ms-ph-accent) 55%,transparent);border-radius:18px;background:radial-gradient(120% 80% at 50% 0,color-mix(in srgb,var(--ms-ph-accent) 32%,#0b0912),#0b0912 70%);box-shadow:0 24px 70px #000b;text-align:center;font-family:system-ui,-apple-system,"Segoe UI",sans-serif}
.ms-phone-icon{font-size:40px;line-height:1}
.ms-phone h2{margin:0;color:#fff;font:900 22px/1.15 system-ui,-apple-system,"Segoe UI",sans-serif}
.ms-phone h2:focus{outline:none}
.ms-phone p{margin:0;color:#e4def0;font-size:14px;line-height:1.4}
.ms-phone-field{display:grid;gap:5px;text-align:left;color:#d9d3e6;font-size:13px;font-weight:700}
.ms-phone-field input{width:100%;box-sizing:border-box;min-height:48px;padding:0 12px;border:1px solid #ffffff4d;border-radius:12px;background:#0d0b14;color:#fff;font:600 17px/1.2 system-ui,-apple-system,"Segoe UI",sans-serif}
.ms-phone-field input:focus-visible{outline:2px solid var(--ms-ph-accent);outline-offset:1px}
.ms-phone .ms-phone-error{padding:8px 10px;border:1px solid #f8717166;border-radius:10px;background:#7f1d1d59;color:#fecaca;font-size:13px;line-height:1.35}
.ms-phone .ms-phone-error[hidden]{display:none}
.ms-phone-save{min-height:50px;border:0;border-radius:12px;background:var(--ms-ph-accent);color:var(--ms-ph-ink);font:900 16px/1 system-ui,-apple-system,"Segoe UI",sans-serif;cursor:pointer}
.ms-phone-save:disabled{opacity:.6;cursor:progress}
.ms-phone-later{min-height:40px;border:0;background:none;color:#d9d3e6;font:700 14px/1 system-ui,-apple-system,"Segoe UI",sans-serif;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.ms-phone-save:focus-visible,.ms-phone-later:focus-visible{outline:3px solid #fff;outline-offset:2px}
.ms-phone-legal{color:#a99fbd;font-size:11.5px;line-height:1.35}
.ms-phone-card.is-done .ms-phone-field,.ms-phone-card.is-done .ms-phone-save,.ms-phone-card.is-done .ms-phone-later,.ms-phone-card.is-done .ms-phone-legal,.ms-phone-card.is-done .ms-phone-error{display:none}
@media(max-width:560px){.ms-phone{width:100%;margin:auto 0 0}.ms-phone-card{border-bottom:0;border-radius:18px 18px 0 0;padding-bottom:calc(16px + env(safe-area-inset-bottom))}}

/* v28: a top-up under review, above the bonus note of "Cargar" (all rooms). */
.ms-wallet-review{margin:10px 0 8px;padding:10px 12px;border:1px solid #f59e0b80;border-radius:12px;background:#78350f40;color:#fde68a;font:700 13px/1.45 system-ui,-apple-system,"Segoe UI",sans-serif}
.ms-wallet-review[hidden]{display:none}

/* v32 Chavito Games invitation after leaving a game (every room but Multisala.net). Chavito colors: red, gold and night.
   Phone first: one column, the trending games in a swipeable row; motion only without "reduce motion". */
.ms-chv-promo{--chv-red:#e50914;--chv-gold:#ffd560;--chv-night:#05070d;width:min(560px,calc(100vw - 20px));max-width:none;max-height:calc(100dvh - 20px);margin:auto;padding:0;border:0;background:transparent;color:#fff;overflow:visible;font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
.ms-chv-promo::backdrop{background:radial-gradient(70% 55% at 50% 35%,#e5091438,transparent 70%),#020308e0}
.ms-chv-promo-card{position:relative;isolation:isolate;display:grid;gap:14px;box-sizing:border-box;max-height:calc(100dvh - 20px);padding:20px 16px calc(14px + env(safe-area-inset-bottom));overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;border:1px solid #ffd56066;border-radius:22px;background:radial-gradient(120% 62% at 50% -8%,#e50914 0,#7d0610 36%,transparent 64%),radial-gradient(80% 50% at 100% 100%,#ffd5601c,transparent 62%),var(--chv-night);box-shadow:0 30px 90px #000d,0 0 0 1px #e509144d,0 0 70px #e5091438;text-align:center}
/* Arcade grid behind the headline and a slow light sweep. */
.ms-chv-promo-card::before{content:"";position:absolute;inset:0;z-index:-1;background:repeating-linear-gradient(0deg,#ffffff0a 0 1px,transparent 1px 24px),repeating-linear-gradient(90deg,#ffffff0a 0 1px,transparent 1px 24px);-webkit-mask-image:linear-gradient(180deg,#000 0,transparent 58%);mask-image:linear-gradient(180deg,#000 0,transparent 58%);pointer-events:none}
.ms-chv-promo-card::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(105deg,transparent 42%,#ffd5601c 50%,transparent 58%) no-repeat;background-size:250% 100%;background-position:150% 0;pointer-events:none}
.ms-chv-promo-close{position:absolute;top:10px;right:10px;z-index:2;width:38px;height:38px;border:1px solid #ffffff59;border-radius:50%;background:#000000a6;color:#fff;font:700 22px/1 system-ui,sans-serif;cursor:pointer}
.ms-chv-promo-head{display:grid;justify-items:center;gap:6px}
.ms-chv-promo-badge{display:inline-flex;align-items:center;gap:7px;padding:5px 12px 5px 10px;border-radius:999px;background:var(--chv-red);color:#fff;font-size:12px;font-weight:900;line-height:1;letter-spacing:.22em;box-shadow:inset 0 0 0 1px #ffffff40,0 6px 22px #e5091480}
.ms-chv-promo-badge::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--chv-gold);box-shadow:0 0 10px var(--chv-gold)}
.ms-chv-promo-logo{display:block;width:clamp(72px,21vw,100px);height:auto;aspect-ratio:1;image-rendering:pixelated;filter:drop-shadow(0 8px 20px #000c) drop-shadow(0 0 18px #ffd56052)}
.ms-chv-promo-title{display:grid;justify-items:center;gap:3px;margin:0;line-height:1.05;text-wrap:balance}
.ms-chv-promo-brand{font-size:clamp(28px,8.6vw,42px);font-weight:900;letter-spacing:.05em;background:linear-gradient(180deg,#fff8dc 0%,var(--chv-gold) 50%,#e3a21f 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:var(--chv-gold);filter:drop-shadow(0 3px 0 #7d0610) drop-shadow(0 8px 18px #000b)}
.ms-chv-promo-line{font-size:clamp(17px,5.2vw,23px);font-weight:800;letter-spacing:.01em;color:#fff;text-shadow:0 3px 14px #000c}
.ms-chv-promo-future{margin-top:6px;padding:4px 14px;border-radius:9px;background:linear-gradient(90deg,var(--chv-red),#ff5a2a);color:#fff;font-size:clamp(16px,4.8vw,21px);font-weight:900;font-style:italic;letter-spacing:.02em;transform:rotate(-2deg);box-shadow:0 6px 22px #e5091466,inset 0 0 0 1px #ffd56059}
.ms-chv-promo-copy{max-width:34ch;margin:6px 0 0;color:#ece8f3;font-size:14.5px;font-weight:600;line-height:1.4}
.ms-chv-promo-section{margin:0;color:var(--chv-gold);font-size:12px;font-weight:900;letter-spacing:.18em;text-align:left;text-transform:uppercase}
.ms-chv-promo-games{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(124px,1fr);gap:10px;margin:-6px -2px 0;padding:2px 2px 8px;list-style:none;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none}
.ms-chv-promo-games::-webkit-scrollbar{display:none}
.ms-chv-promo-item{min-width:0;scroll-snap-align:start}
.ms-chv-promo-game{position:relative;display:block;width:100%;padding:0;overflow:hidden;border:1px solid #ffffff2e;border-radius:14px;background:#0b0e18;color:#fff;text-align:left;cursor:pointer;box-shadow:0 10px 26px #000a;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.ms-chv-promo-game::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#05070d00 42%,#05070de8 90%);pointer-events:none}
.ms-chv-promo-cover{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover}
.ms-chv-promo-tags{position:absolute;top:6px;left:6px;right:6px;z-index:1;display:flex;flex-wrap:wrap;gap:4px}
.ms-chv-promo-tag{max-width:100%;overflow:hidden;padding:3px 4px;border-radius:6px;font-size:9.5px;font-weight:900;line-height:1.1;white-space:nowrap;text-overflow:ellipsis;box-shadow:0 2px 8px #0009}
.ms-chv-promo-tag.is-pvp{background:var(--chv-red);color:#fff}
.ms-chv-promo-tag.is-machine{background:var(--chv-gold);color:#1a1204}
.ms-chv-promo-info{position:absolute;left:8px;right:8px;bottom:7px;z-index:1;display:grid;gap:2px}
.ms-chv-promo-name{font-size:13px;font-weight:900;line-height:1.15;text-shadow:0 2px 8px #000}
.ms-chv-promo-modes{overflow:hidden;color:#d9d4e3;font-size:10px;font-weight:600;line-height:1.2;white-space:nowrap;text-overflow:ellipsis}
.ms-chv-promo-game:hover,.ms-chv-promo-game:focus-visible{border-color:var(--chv-gold);box-shadow:0 12px 30px #000b,0 0 0 2px #ffd5608c,0 0 24px #ffd5603d}
.ms-chv-promo-actions{display:grid;gap:4px}
.ms-chv-promo-cta{position:relative;overflow:hidden;width:100%;min-height:54px;border:0;border-radius:14px;background:linear-gradient(180deg,#ff2b37 0%,var(--chv-red) 55%,#b3060f 100%);color:#fff;font:900 17px/1 system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:.05em;text-transform:uppercase;cursor:pointer;box-shadow:inset 0 0 0 1px #ffd56080,0 12px 32px #e5091473}
.ms-chv-promo-cta::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 30%,#ffffff59 50%,transparent 70%);transform:translateX(-120%);pointer-events:none}
.ms-chv-promo-later{justify-self:center;min-height:40px;padding:6px 16px;border:0;background:none;color:#d9d4e3;font:700 14px/1 system-ui,-apple-system,"Segoe UI",sans-serif;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.ms-chv-promo-note{margin:-6px 0 0;color:#a39cb2;font-size:11px;line-height:1.4}
.ms-chv-promo button:disabled{cursor:progress}
.ms-chv-promo-card[aria-busy="true"] .ms-chv-promo-game,.ms-chv-promo-card[aria-busy="true"] .ms-chv-promo-later{opacity:.55}
.ms-chv-promo-close:focus-visible,.ms-chv-promo-cta:focus-visible,.ms-chv-promo-later:focus-visible{outline:3px solid #fff;outline-offset:2px}
.ms-chv-promo-game:focus-visible{outline:3px solid #fff;outline-offset:-3px}
@media(min-width:600px){.ms-chv-promo-card{gap:16px;padding:26px 24px 20px}.ms-chv-promo-games{grid-auto-columns:minmax(0,1fr);overflow-x:visible}}
@media(max-height:680px){.ms-chv-promo-card{gap:10px;padding-top:14px}.ms-chv-promo-logo{width:64px}.ms-chv-promo-brand{font-size:26px}.ms-chv-promo-games{grid-auto-columns:minmax(118px,1fr)}.ms-chv-promo-cover{aspect-ratio:1}}
@media(prefers-reduced-motion:no-preference){
  .ms-chv-promo[open] .ms-chv-promo-card{animation:ms-chv-in .36s cubic-bezier(.2,.9,.3,1.15)}
  .ms-chv-promo[open] .ms-chv-promo-card::after{animation:ms-chv-sweep 5.5s ease-in-out 1s infinite}
  .ms-chv-promo[open] .ms-chv-promo-logo{animation:ms-chv-float 3.2s ease-in-out .5s infinite}
  .ms-chv-promo[open] .ms-chv-promo-badge::before{animation:ms-chv-blink 1.2s ease-in-out infinite}
  .ms-chv-promo[open] .ms-chv-promo-item{animation:ms-chv-rise .42s ease-out both}
  .ms-chv-promo[open] .ms-chv-promo-item:nth-child(2){animation-delay:.07s}
  .ms-chv-promo[open] .ms-chv-promo-item:nth-child(3){animation-delay:.14s}
  .ms-chv-promo[open] .ms-chv-promo-item:nth-child(4){animation-delay:.21s}
  .ms-chv-promo[open] .ms-chv-promo-cta::after{animation:ms-chv-shine 2.8s ease-in-out 1.2s infinite}
  .ms-chv-promo-game:hover{transform:translateY(-3px)}
}
@keyframes ms-chv-in{from{opacity:0;transform:translateY(18px) scale(.96)}to{opacity:1;transform:none}}
@keyframes ms-chv-sweep{0%{background-position:150% 0}60%,100%{background-position:-50% 0}}
@keyframes ms-chv-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@keyframes ms-chv-blink{50%{opacity:.25}}
@keyframes ms-chv-rise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes ms-chv-shine{0%{transform:translateX(-120%)}55%,100%{transform:translateX(120%)}}

