/* Coco · shared visual identity. Presentation only; game state colors stay local. */
@font-face{font-family:CocoMontserrat;src:url('../fonts/Montserrat-Medium.ttf') format('truetype');font-weight:400 600;font-display:swap}
@font-face{font-family:CocoMontserrat;src:url('../fonts/Montserrat-Bold.ttf') format('truetype');font-weight:700 800;font-display:swap}
@font-face{font-family:CocoMontserrat;src:url('../fonts/Montserrat-Black.ttf') format('truetype');font-weight:900;font-display:swap}
:root{--coco-navy:#091c3d;--coco-gold:#ffd267;--coco-cyan:#74dcff;--coco-ink:#173451;--coco-muted:#526c86;--coco-line:#cbddea;--coco-paper:#f3f8fc;--coco-font:CocoMontserrat,system-ui,sans-serif;--display:var(--coco-font)!important;--coco-title:var(--coco-font)!important}
html body{font-family:var(--coco-font)!important}
html body :is(h1,h2,h3,h4,p,a,b,strong,small,span,label,button,input,textarea,select,summary,legend,th,td,li,dt,dd),html body #cocoApp :is(h1,h2,h3,h4,p,a,b,strong,small,span,label,button,input,textarea,select,summary,legend,th,td,li,dt,dd){font-family:var(--coco-font)!important}
html body :is(h1,h2,h3),html body #cocoApp :is(h1,h2,h3){font-weight:900!important;letter-spacing:-.025em!important}
html body #cocoApp :is(button,.btn,.pestanaJugador){font-weight:700!important}
html body :is(button,a,input,textarea,select,summary):focus-visible{outline:3px solid #1685b0;outline-offset:4px}
html body #cocoApp{--display:var(--coco-font)!important;--coco-title:var(--coco-font)!important;--negro:var(--coco-ink);--gris:var(--coco-muted)}
/* Account summary: reflow actual values and preserve existing controls. */
html body #cocoApp.cocoVistaJugador .carnet,html body #cocoApp .carnet{position:relative;display:grid!important;grid-template-columns:80px minmax(0,1fr) minmax(160px,auto)!important;align-items:center!important;gap:18px!important;padding:24px!important;border:1px solid #b7944b!important;border-radius:24px!important;background:radial-gradient(ellipse at 95% 0,rgba(116,220,255,.18),transparent 55%),linear-gradient(135deg,#071631,#142e55)!important;box-shadow:0 9px 24px #091c3d26!important;color:#fff!important;min-width:0!important}
html body #cocoApp .carnet .avatarCarnet{display:block!important;width:80px!important;height:80px!important;min-width:0!important;padding:0!important;overflow:hidden!important;border:1px solid #cda24e!important;border-radius:20px!important;background:#091c3d url('../brand/coco-premium-v160127/icon-192.png') center/cover no-repeat!important;box-shadow:0 0 22px #ffc34326!important}
html body #cocoApp .carnet .avatarCarnet>*{visibility:hidden!important}
html body #cocoApp .carnet .quien{min-width:0!important}
html body #cocoApp.cocoVistaJugador .carnet .quien strong,html body #cocoApp .carnet .quien strong{display:block;color:#fff!important;font-family:var(--coco-font)!important;font-weight:900!important;font-size:clamp(21px,3vw,30px)!important;line-height:1.18!important;overflow-wrap:anywhere}
html body #cocoApp .carnet :is(.quien,.tanteo) .pequeno{color:#ccdef0!important;font-size:12px!important;line-height:1.5!important}
html body #cocoApp .carnet .tanteo{display:flex!important;flex-direction:column;align-items:flex-end!important;gap:7px!important;min-width:0!important;text-align:right!important}
html body #cocoApp.cocoVistaJugador .carnet .tanteo b,html body #cocoApp .carnet .tanteo b{font-family:var(--coco-font)!important;font-size:clamp(30px,4vw,42px)!important;font-weight:900!important;line-height:1.1!important;color:#ffd267!important;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
html body #cocoApp .carnet button{min-height:46px!important;max-width:100%;padding:11px 16px!important;border:1px solid #fadd8a!important;border-radius:13px!important;background:linear-gradient(#ffe195,#ffca4b)!important;color:#102543!important;box-shadow:0 3px 0 #976d26!important;font-size:12px!important;white-space:normal!important}
html body #cocoApp .cabecera .fin{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
html body #cocoApp .cabecera .fin>.pequeno{font-size:12px!important;color:#526c86!important}
html body #cocoApp .cabecera .fin>button{min-height:44px!important;padding:10px 18px!important;border:1px solid #1c4267!important;border-radius:13px!important;background:#091c3d!important;color:#fff!important;font-size:12px!important;box-shadow:0 3px 0 #0d3659!important}
/* Both products use the same family, with distinct cyan and gold accents. */
html body #cocoApp .cocoFreemiumV16084{gap:14px!important;margin:18px 0!important}
html body #cocoApp .cocoFreemiumV16084 article{display:grid!important;align-content:start;gap:9px!important;padding:20px!important;border:1px solid #416483!important;border-top:3px solid #74dcff!important;border-radius:20px!important;background:radial-gradient(ellipse at 100% 0,#174666,transparent 80%),#0b2143!important;box-shadow:0 8px 20px #091c3d15!important;color:#fff!important}
html body #cocoApp .cocoFreemiumV16084 article.et{border-color:#a0874c!important;border-top-color:#ffd267!important;background:radial-gradient(ellipse at 100% 0,#51422d,transparent 80%),#0b2143!important}
html body #cocoApp .cocoFreemiumV16084 span{color:#a3e6ff!important;font-size:10px!important;font-weight:700!important;letter-spacing:.065em!important;line-height:1.5}
html body #cocoApp .cocoFreemiumV16084 article.et span{color:#ffe3a1!important}
html body #cocoApp .cocoFreemiumV16084 b{color:#fff!important;font-size:17px!important;font-weight:900!important;line-height:1.3}
html body #cocoApp .cocoFreemiumV16084 strong{color:#89e7ff!important;font-size:13px!important;line-height:1.4}
html body #cocoApp .cocoFreemiumV16084 article.et strong{color:#ffd267!important}
html body #cocoApp .cocoFreemiumV16084 small{color:#d2dfed!important;font-size:11px!important;font-weight:500!important;line-height:1.6}
/* Shared navigation, forms and readable surfaces. */
html body #cocoApp :is(.caja,.cocoShareSheet,.cocoSuggestionSheet,.cocoFamilyV129,.cocoV144Shell,.cocoMedApp){border-color:#cbddea!important;border-radius:22px}
html body #cocoApp :is(.cocoShareSheet,.cocoSuggestionSheet){background:#f3f8fc!important;color:#173451!important}
html body #cocoApp .cocoSuggestionHero{background:linear-gradient(135deg,#091c3d,#174264)!important;border-bottom:2px solid #b7944b!important}
html body #cocoApp .cocoSuggestionHero :is(h3,p,span){color:#fff!important}
html body #cocoApp .cocoSuggestionHero>div{background:#091c3d url('../brand/coco-premium-v160127/icon-192.png') center/cover no-repeat!important;border:1px solid #b7944b!important;border-radius:18px!important}
html body #cocoApp .cocoSuggestionHero>div>svg{visibility:hidden!important}
html body #cocoApp :is(.cocoArcadeTop,.cocoMedTop,.cocoFamilyTop,.cocoV144Header){background:linear-gradient(135deg,#091c3d,#174264)!important;color:#fff!important;border-color:#5e7a91!important}
html body #cocoApp :is(.cocoArcadeTitle,.cocoMedTitle,.cocoFamilyTop h2,.cocoV144Header h2){color:#fff!important}
html body #cocoApp :is(.cocoArcadePrimary,.cocoSuggestionForm button[type=submit],.cocoShareActions .primary,.eternaLauncherCtaFinal3){background:linear-gradient(#ffe195,#ffca4b)!important;color:#102543!important;border-color:#e7b548!important;box-shadow:0 3px 0 #976d26!important;font-weight:900!important}
html body #cocoApp :is(.cocoSuggestionForm input,.cocoSuggestionForm textarea){background:#fff!important;color:#173451!important;border:1px solid #a7c1d6!important;border-radius:12px!important}
html body #cocoApp .cocoMiniSuggestion.cocoPremiumSuggestion{display:grid!important;grid-column:1/-1!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;padding:15px!important;border-radius:22px!important;text-align:left!important}
html body #cocoApp .cocoMiniSuggestion.cocoPremiumSuggestion .cocoMiniIcono{position:static!important;grid-column:1!important;grid-row:1!important;width:100%!important;max-width:none!important;height:auto!important;aspect-ratio:1200/630!important;padding:0!important;margin:0!important;border:0!important;background:#091c3d!important;border-radius:13px!important}
html body #cocoApp .cocoMiniSuggestion.cocoPremiumSuggestion .cocoMiniIcono img{display:block!important;width:100%!important;height:auto!important;max-width:none!important;max-height:none!important;object-fit:contain!important}
html body #cocoApp .cocoMiniSuggestion.cocoPremiumSuggestion>b{grid-column:1!important;grid-row:2!important;margin:0!important;padding:0!important;font-size:19px!important;font-weight:900!important;line-height:1.3!important}
html body #cocoApp .cocoMiniSuggestion.cocoPremiumSuggestion .cocoMiniEstado{position:static!important;grid-column:1!important;grid-row:3!important;justify-self:start!important;padding:11px 18px!important;min-height:44px!important;display:flex!important;align-items:center!important;border-radius:12px!important;background:#ffd267!important;color:#102543!important;font-size:12px!important;font-weight:900!important}
html body #cocoApp .cocoMiniSuggestion.cocoPremiumSuggestion:focus-visible{outline-color:#1685b0!important}
html body #cocoApp .tarjetaLogro{border-color:#b7944b!important;background:linear-gradient(#f9fcff,#edf5fb)!important;border-radius:20px!important}
html body #cocoApp .tarjetaLogro :is(h3,b,strong){color:#173451}
html body #cocoApp .tarjetaLogro :is(.descargarTarjetaCoco,.abrirTarjetaCoco){background:#091c3d!important;color:#fff!important;border-color:#315878!important}
/* Standalone game, guide and informational pages. Game cells are excluded. */
html body>.top,html body .shell>.topbar{background:linear-gradient(135deg,#091c3d,#143757)!important;border-color:#a18b52!important;color:#fff!important}
html body>.top :is(a,b,span,small),html body .shell>.topbar :is(a,b,span,small){color:#eef8ff!important}
html body>.top :is(button,.button),html body .shell>.topbar button{background:#163b5d!important;color:#fff!important;border-color:#55738d!important}
/* Landing navigation links need an explicit surface as well as readable text. */
html body>.top .nav :is(a,button){background:#163b5d!important;color:#fff!important;border-color:#55738d!important}
html body>.top .nav .home{background:#091c3d!important}
html body>.top .nav :is(a,button):hover{background:#214e73!important}
html body>.top .nav :is(a,button):focus-visible{outline:3px solid #ffd267;outline-offset:3px}
html body :is(.hero,.hub-hero,.about-strip,.control-panel,.help-panel){border-radius:22px;border-color:#cbddea}
html body :is(.primary,.button.primary,.button:not(.secondary),.cta-primary):not([disabled]){background:linear-gradient(#ffe195,#ffca4b);color:#102543;border-color:#dcb155;font-weight:900}
html body :is(.brand,.brand span,.brand b){font-family:var(--coco-font)!important;font-weight:900!important}
@media(max-width:620px){
 html body #cocoApp.cocoVistaJugador .carnet,html body #cocoApp .carnet{grid-template-columns:62px minmax(0,1fr)!important;gap:12px!important;padding:18px!important;border-radius:21px!important}
 html body #cocoApp .carnet .avatarCarnet{width:62px!important;height:62px!important;border-radius:16px!important}
 html body #cocoApp .carnet .quien strong{font-size:23px!important}
 html body #cocoApp .carnet .tanteo{grid-column:1/-1;align-items:flex-start!important;text-align:left!important;border-top:1px solid #5b73914d;padding-top:14px;display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px!important}
 html body #cocoApp .carnet .tanteo>b{grid-column:1;grid-row:1;font-size:32px!important}
 html body #cocoApp .carnet .tanteo>.pequeno{grid-column:1;grid-row:2;font-size:10px!important}
 html body #cocoApp .carnet .tanteo>button{grid-column:2;grid-row:1/3;align-self:center;font-size:11px!important;padding:10px!important}
 html body #cocoApp .cocoFreemiumV16084 article{padding:17px!important;gap:8px!important}
 html body #cocoApp .cocoFreemiumV16084 b{font-size:16px!important}
}
@media(max-width:350px){html body #cocoApp .carnet .tanteo{grid-template-columns:minmax(0,1fr)!important}html body #cocoApp .carnet .tanteo>button{grid-column:1;grid-row:3;justify-self:stretch;margin-top:8px!important}}
@media(prefers-reduced-motion:reduce){html body #cocoApp .carnet,html body #cocoApp .cocoPremiumSuggestion{animation:none!important}}

/* One explicit scoring rule on both catalogue sizes; daily chess keeps its scope visible. */
html body #cocoApp .cocoLigaBadge{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 6px;text-align:center;line-height:1.4}
html body #cocoApp .cocoLigaBadge b{font-size:11px;font-weight:700}
html body #cocoApp .cocoLigaBadge .cocoScoringScope{flex-basis:100%;font-size:10px;font-weight:700;color:#526c86}
html body #cocoApp .cocoMiniJuego>.cocoLigaBadge{grid-column:1/-1!important;grid-row:auto!important;position:static!important;align-self:end!important;order:20;width:100%;margin:8px 0 0!important;padding:7px 6px!important;border-radius:10px;background:#ffffffc9;color:#173451;white-space:normal}
html body #cocoApp .cocoMiniJuego>.cocoLigaBadge b{font-size:10px;line-height:1.4}

/* Explicit copy action in every public and signed-in catalogue card, including PWAs. */
html body #cocoApp .cocoMiniJuego,html body #cocoApp .cocoGameCard{position:relative!important}
html body #cocoApp .cocoMiniJuego>b,html body #cocoApp .cocoMiniJuego>span:not(.cocoMiniIcono):not(.cocoLigaBadge):not(.cocoCopyStatus){padding-right:48px!important}
html body #cocoApp .cocoCardCopy{position:absolute!important;inset:8px 8px auto auto!important;z-index:6;display:flex!important;align-items:center;justify-content:center;width:44px!important;height:44px!important;min-height:44px;margin:0!important;padding:10px!important;border:1px solid #d0dde5!important;border-radius:50%;background:#fffffff2!important;color:#173451!important;box-shadow:0 2px 9px #102b4b20;cursor:pointer;touch-action:manipulation}
html body #cocoApp .cocoCardCopy[data-copied="true"]{color:#117250!important;background:#eafff3!important}
html body #cocoApp .cocoCopyStatus{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important}
html body #cocoApp .cocoCardCopy:focus-visible{outline:3px solid #146fa7;outline-offset:2px}
html body #cocoApp .cocoCopyStatus,html body #cocoApp .cocoCopyManual{grid-column:1/-1!important;grid-row:auto!important;order:31;width:100%;margin-top:6px;font:600 11px/1.4 system-ui;color:#173451;text-align:center}
html body #cocoApp .cocoCopyManual{padding:10px 6px;border:1px solid #acc5d9;border-radius:8px;user-select:text}

/* Access and installation use the same navy, gold and Coco identity as the catalogue. */
html body #cocoApp .cocoFreeGamesNotice{display:grid;gap:6px;margin:0 0 18px;padding:14px 16px;border:1px solid #91d4b3;border-radius:14px;background:#e6f8ee;color:#164f39;text-align:start}
html body #cocoApp .cocoFreeGamesNotice b{color:#164f39!important;font-size:16px!important;font-weight:800!important;line-height:1.35}
html body #cocoApp .cocoFreeGamesNotice p{margin:0!important;color:#285b46!important;font-size:13px!important;line-height:1.5}
html body #cocoApp .cocoAccesoGrid>.loginCard{padding:26px!important;border:1px solid #b7944b!important;border-radius:24px!important;background:radial-gradient(ellipse at 100% 0,#184567,transparent 60%),linear-gradient(145deg,#091c3d,#112c4d)!important;box-shadow:0 10px 28px #091c3d24!important;color:#fff!important}
html body #cocoApp .loginCard .cocoEyebrow{color:#9ce7ff!important;font-size:10px!important;letter-spacing:.12em!important;line-height:1.5;margin-bottom:14px!important}
html body #cocoApp .loginCard>h2{display:flex;align-items:center;justify-content:space-between;gap:14px;color:#fff!important;font-size:32px!important;line-height:1.15!important;margin:0 0 14px!important;text-shadow:none!important}
html body #cocoApp .loginCard .tituloSvg{flex:0 0 58px;width:58px!important;height:58px!important;border:1px solid #b7944b;border-radius:16px;background:#091c3d url('../brand/coco-premium-v160127/icon-192.png') center/cover no-repeat;box-shadow:0 0 20px #ffd2671a}
html body #cocoApp .loginCard .tituloSvg>*{visibility:hidden!important}
html body #cocoApp .loginCard>p:first-of-type{color:#ccdef0!important;font-size:14px!important;line-height:1.6!important;margin:0 0 22px!important}
html body #cocoApp .loginCard label{color:#e9f2fa!important;font-size:13px!important;line-height:1.5;margin-top:16px!important;margin-bottom:7px!important}
html body #cocoApp .loginCard input{height:52px!important;padding:0 14px!important;border:1px solid #94b2cb!important;border-radius:12px!important;background:#f7fbff!important;color:#173451!important;font-size:16px!important;box-shadow:none!important}
html body #cocoApp .loginCard input::placeholder{color:#688097!important;opacity:1}
html body #cocoApp .loginCard input:focus{border-color:#74dcff!important;box-shadow:0 0 0 3px #74dcff3b!important}
html body #cocoApp .loginCard .cocoPasswordWrap input{padding-right:86px!important}
html body #cocoApp .loginCard :is(.cocoPasswordToggle,.cocoPasswordMonkey){top:4px;right:4px;width:76px!important;height:44px!important;padding:0 8px!important;border:0!important;border-radius:9px!important;background:#e5eef6!important;color:#173451!important;font-size:11px!important;box-shadow:none!important}
html body #cocoApp .loginCard>div>.btn{flex:1;min-height:48px!important;border-radius:12px!important;font-size:13px!important;padding:12px!important;box-shadow:none!important}
html body #cocoApp .loginCard .btn.lima{background:linear-gradient(#ffe195,#ffca4b)!important;color:#102543!important;border:1px solid #e3ba61!important;box-shadow:0 3px 0 #87662f!important}
html body #cocoApp .loginCard .btn.plano{background:#173b5a!important;color:#fff!important;border:1px solid #7195b1!important}
html body #cocoApp .loginCard .enlaceDuenio{color:#b4eaff!important;font-size:12px!important;line-height:1.6!important;margin-top:20px!important}
html body #cocoApp .loginCard [data-coco-minor-notice],html body #cocoApp .loginCard .cocoLegalSignupNoticeV16058{background:#183652!important;border:1px solid #3c5c77!important;color:#d1e3f1!important;border-radius:12px!important}
html body #cocoApp .cocoInstallEntryCard{grid-template-columns:44px minmax(0,1fr) auto!important;gap:12px!important;padding:16px 42px 16px 16px!important;border:1px solid #4a7290!important;border-radius:18px!important;background:linear-gradient(120deg,#102d4c,#163e59)!important;box-shadow:0 5px 16px #091c3d15!important;transform:none!important}
html body #cocoApp .cocoInstallEntry.instalada .cocoInstallEntryCard{padding-right:16px!important;border-color:#b7944b!important}
html body #cocoApp .cocoInstallEntryIcon{width:44px!important;height:44px!important;border:1px solid #b7944b;border-radius:12px!important;background:#091c3d!important;color:#ffd267!important;box-shadow:none!important}
html body #cocoApp .cocoInstallEntryText b{display:block;color:#fff!important;font-size:13px!important;line-height:1.4!important}
html body #cocoApp .cocoInstallEntryText>span{display:block;color:#c5dfef!important;font-size:11px!important;line-height:1.5!important;margin-top:4px}
html body #cocoApp .cocoInstallEntryMeta{padding:6px 9px!important;border:1px solid #6c886d!important;border-radius:8px!important;background:#1d4b46!important;color:#d9f5dc!important;font-size:10px!important;line-height:1.4!important;white-space:normal}
html body #cocoApp .cocoInstallEntryDismiss{color:#d6e6f2!important;background:#173b5a!important;border-color:#5b7e99!important}
@media(max-width:620px){html body #cocoApp .cocoAccesoGrid>.loginCard{padding:22px 20px!important;border-radius:21px!important}html body #cocoApp .cocoInstallEntryCard{grid-template-columns:40px minmax(0,1fr)!important;padding:14px 38px 14px 14px!important;gap:8px 11px!important}html body #cocoApp .cocoInstallEntryMeta{grid-column:2;justify-self:start;margin:0!important}html body #cocoApp .cocoInstallEntryIcon{width:40px!important;height:40px!important}html body #cocoApp .loginCard>h2{font-size:30px!important}}
@media(display-mode:standalone){html{background:#f3f8fc}html body{padding-top:env(safe-area-inset-top,0px)!important;padding-bottom:env(safe-area-inset-bottom,0px)!important}}

html body #cocoApp .cocoPasswordMonkey{width:76px!important;min-width:76px!important;font-size:11px!important}
html body #cocoApp .cocoPasswordWrap input{padding-right:88px!important}
html body #cocoApp .loginCard .cocoLegalSignupNoticeV16058{margin-top:18px!important;padding:12px!important;font-size:11px!important;line-height:1.6!important;font-weight:500!important}
html body #cocoApp .loginCard .cocoLegalSignupNoticeV16058 a{color:#b4eaff!important}

/* Product landings share their canonical public page without leaving it. */
.cocoLandingShare{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin-top:14px;width:100%;min-width:0}
.cocoLandingShare button{font:inherit;cursor:pointer;min-height:48px;max-width:100%;white-space:normal}
.cocoLandingShare [data-copy-status]{font-size:13px;line-height:1.5;color:var(--coco-muted)}
.cocoLandingShare .copy-fallback{box-sizing:border-box;width:100%;min-width:0;min-height:44px;border:1px solid #a7c1d6;border-radius:12px;background:#fff;color:var(--coco-ink);padding:10px;font:inherit}

/* Player summary: total points occupy the first row on web and PWA. */
html body #cocoApp.cocoVistaJugador .carnet,
html body #cocoApp .carnet{grid-template-columns:80px minmax(0,1fr)!important}
html body #cocoApp .carnet .tanteo{
 grid-column:1/-1;grid-row:1;display:grid!important;
 grid-template-columns:minmax(0,1fr) auto;align-items:center!important;
 text-align:left!important;gap:4px 12px!important;
 border-top:0;padding-top:0;border-bottom:1px solid #5b73914d;padding-bottom:14px;
}
html body #cocoApp .carnet .tanteo>b{grid-column:1;grid-row:1}
html body #cocoApp .carnet .tanteo>.pequeno{grid-column:1;grid-row:2}
html body #cocoApp .carnet .tanteo>button{grid-column:2;grid-row:1/3;align-self:center}
@media(max-width:620px){
 html body #cocoApp.cocoVistaJugador .carnet,
 html body #cocoApp .carnet{grid-template-columns:62px minmax(0,1fr)!important}
}
@media(max-width:350px){
 html body #cocoApp .carnet .tanteo{grid-template-columns:minmax(0,1fr)!important}
 html body #cocoApp .carnet .tanteo>button{grid-column:1;grid-row:3}
}
