@font-face{font-family:'Nunito';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/nunito/nunito-latin.woff2?v=1') format('woff2'),url('fonts/nunito/nunito-regular.ttf') format('truetype')}
@font-face{font-family:'Nunito';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/nunito/nunito-latin.woff2?v=1') format('woff2'),url('fonts/nunito/nunito-bold.ttf') format('truetype')}
@font-face{font-family:'Quicksand';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/quicksand/quicksand-bold.woff2?v=1') format('woff2')}
:root{--mascota-cloud:url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20480%20240%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M65%20170%20C20%20170%2015%20110%2052%2095%20C35%2055%2090%2030%20125%2052%20C140%2010%20210%2010%20235%2045%20C265%2015%20325%2020%20345%2055%20C385%2025%20435%2055%20425%2090%20C465%20105%20465%20160%20428%20173%20C440%20205%20390%20225%20360%20205%20C330%20237%20275%20230%20255%20208%20C220%20236%20165%20230%20145%20210%20C105%20230%2065%20215%2065%20190%20L10%20198%20Q42%20175%2065%20170%20Z%22%20fill%3D%22white%22%20stroke%3D%22%23102b40%22%20stroke-width%3D%225%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E')}
.meteo-mascota{position:fixed;left:24px;bottom:calc(6px + env(safe-area-inset-bottom,0px));z-index:900;display:flex;align-items:flex-end;width:498px;gap:0;pointer-events:none;animation:mascota-in 2s linear both;font-family:'Quicksand','Trebuchet MS',sans-serif}
.meteo-mascota[hidden]{display:none!important}.meteo-mascota.mascota-right{left:auto;right:24px;flex-direction:row-reverse}
.meteo-mascota>img{width:140px;height:210px;object-fit:contain;object-position:center bottom;flex:0 0 140px;pointer-events:none;cursor:default;filter:drop-shadow(0 3px 3px #0002)}.mascota-right>img{transform:scaleX(-1)}
.mascota-bubble{position:relative;box-sizing:border-box;flex:0 0 390px;width:390px;height:170px;margin-left:-32px;padding:0 70px;display:flex;flex-direction:column;justify-content:center;align-items:stretch;background:transparent var(--mascota-cloud) center/100% 100% no-repeat;opacity:.89;pointer-events:none;cursor:default;filter:drop-shadow(0 3px 3px #0002)}
.mascota-right .mascota-bubble{margin-left:0;margin-right:-32px;transform:scaleX(-1)}.mascota-right .mascota-bubble>*{transform:scaleX(-1)}
.mascota-text{margin:0!important;padding:0;flex:none;font-family:'Quicksand','Trebuchet MS',sans-serif!important;font-size:11.5px;font-weight:700;line-height:1.35;color:#102b40!important;-webkit-text-fill-color:#102b40;text-align:center;overflow-wrap:anywhere}
.mascota-bubble time{display:block;flex:none;margin:5px 0 0;font:700 10px/1.2 'Quicksand',sans-serif;text-align:center;color:#102b40}.mascota-bubble time:empty{display:none}
.mascota-bubble button{position:absolute;right:44px;top:30px;border:0;border-radius:50%;background:#fff9;color:#102b40;width:22px;height:22px;padding:0;font:18px/22px system-ui;cursor:pointer}.mascota-right .mascota-bubble button{right:auto;left:44px}
.meteo-mascota>img:focus-visible{outline:2px solid #176b9b;outline-offset:3px}.meteo-mascota.mascota-leaving{animation:mascota-out 3s linear both;pointer-events:none}.meteo-mascota.mascota-leaving>*{pointer-events:none}
@keyframes mascota-in{0%,15%{opacity:0;filter:blur(12px)}50%{opacity:.25;filter:blur(6px)}100%{opacity:1;filter:blur(0)}}@keyframes mascota-out{from{opacity:1;filter:blur(0)}to{opacity:0;filter:blur(12px)}}
@keyframes mascota-opacity-in{0%,15%{opacity:0}50%{opacity:.25}100%{opacity:1}}@keyframes mascota-opacity-out{from{opacity:1}to{opacity:0}}
@media(prefers-reduced-motion:reduce){.meteo-mascota{animation:mascota-opacity-in 2s linear both}.meteo-mascota.mascota-leaving{animation:mascota-opacity-out 3s linear both}}
@media(max-width:650px){.meteo-mascota,.meteo-mascota.mascota-right{left:10px;right:10px;bottom:calc(6px + env(safe-area-inset-bottom,0px));width:auto;max-width:none}.meteo-mascota>img{width:80px;height:120px;flex-basis:80px}.mascota-bubble{flex:1 1 0;min-width:0;width:auto;height:160px;margin-left:-14px;padding:0 18%}.mascota-right .mascota-bubble{margin-left:0;margin-right:-14px}.mascota-text{font-size:12px;line-height:1.35}.mascota-bubble time{font-size:9px;margin-top:4px}.mascota-bubble button{right:22px;top:28px;width:20px;height:20px;font-size:16px;line-height:20px}.mascota-right .mascota-bubble button{left:22px}}
@media(max-width:650px){.meteo-mascota{left:10px;right:auto;width:min(340px,calc(100% - 20px))}.meteo-mascota.mascota-right{left:auto;right:10px;width:min(340px,calc(100% - 20px))}}


@media(max-width:650px){.meteo-mascota,.meteo-mascota.mascota-right{width:min(324px,calc(100% - 20px));gap:6px}.meteo-mascota>img{width:76px;height:114px;flex-basis:76px}.mascota-bubble,.mascota-right .mascota-bubble{margin-left:0;margin-right:0;height:140px;padding-left:17%;padding-right:17%}.mascota-text{font-size:11.5px}.mascota-bubble button{right:15px;top:23px}.mascota-right .mascota-bubble button{left:15px}}


.mascota-text{font-weight:700;min-width:0;max-width:100%;white-space:normal}


@media(max-width:650px){.meteo-mascota{left:0;right:auto;width:min(340px,100%)}.meteo-mascota.mascota-right{left:auto;right:0;width:min(340px,100%)}.meteo-mascota>img{width:94px;height:141px;flex-basis:94px}}


.mascota-bubble{justify-content:center;align-items:stretch;text-align:center}.mascota-text{display:block;width:100%;box-sizing:border-box;margin:0!important;text-align:center;text-indent:0;letter-spacing:normal}.mascota-bubble time{text-align:center}@media(max-width:650px){.mascota-bubble{height:130px}}


@media(max-width:650px){.meteo-mascota{left:8px;right:auto;width:min(340px,calc(100% - 16px));max-width:calc(100% - 16px)}.meteo-mascota.mascota-right{left:auto;right:8px;width:min(340px,calc(100% - 16px));max-width:calc(100% - 16px)}}


@media(max-width:650px){.meteo-mascota{left:10px;right:auto;bottom:calc(10px + env(safe-area-inset-bottom,0px));width:min(340px,calc(100% - 20px));max-width:calc(100% - 20px)}.meteo-mascota.mascota-right{left:auto;right:10px;bottom:calc(10px + env(safe-area-inset-bottom,0px));width:min(340px,calc(100% - 20px));max-width:calc(100% - 20px)}}


/* Separación y orden de las capas del personaje y la nube. */
.meteo-mascota>img{position:relative;z-index:2}.mascota-bubble{z-index:1;margin-left:-16px}.mascota-right .mascota-bubble{margin-left:0;margin-right:-16px}@media(max-width:650px){.meteo-mascota,.meteo-mascota.mascota-right{gap:12px}.mascota-bubble,.mascota-right .mascota-bubble{margin-left:0;margin-right:0}}


.mascota-bubble{padding-top:10px;padding-bottom:0}


@media(max-width:650px){.meteo-mascota,.meteo-mascota.mascota-right{gap:6px}}


@media(min-width:651px){.meteo-mascota{left:15px;right:auto;bottom:10px}.meteo-mascota.mascota-right{left:auto;right:15px;bottom:10px}}


@media(max-width:650px){.meteo-mascota,.meteo-mascota.mascota-right{width:calc(100% - 20px);max-width:calc(100% - 20px)}}


.meteo-mascota>img,.mascota-bubble{touch-action:manipulation;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none}


@media(min-width:651px){.mascota-bubble{margin-left:-14px}.mascota-right .mascota-bubble{margin-left:0;margin-right:-14px}}

@media(max-width:650px){.meteo-mascota,.meteo-mascota.mascota-right{gap:2px}}

@media(min-width:651px){.meteo-mascota>img{width:148px;height:222px;flex-basis:148px}}

@media(max-width:650px){.meteo-mascota,.meteo-mascota.mascota-right{gap:0;bottom:calc(15px + env(safe-area-inset-bottom,0px));width:calc(100% - 30px);max-width:calc(100% - 30px)}.meteo-mascota{left:15px;right:auto}.meteo-mascota.mascota-right{left:auto;right:15px}.meteo-mascota>img{width:112.2px;height:168.3px;flex-basis:112.2px}.mascota-bubble{margin-left:-2px}.mascota-right .mascota-bubble{margin-left:0;margin-right:-2px}.mascota-text{font-size:11px}}
.mascota-sound-invite{position:absolute;z-index:3;bottom:8px;left:160px;display:flex;align-items:center;gap:5px;padding:7px 10px;border:1px solid #c8d9e3;border-radius:20px;background:#fff;color:#102b40;font:700 10px Quicksand,sans-serif;pointer-events:auto;cursor:pointer;box-shadow:0 2px 8px #102b4022;touch-action:manipulation}.mascota-sound-invite[hidden]{display:none}.mascota-sound-invite svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.mascota-right .mascota-sound-invite{left:auto;right:160px}.mascota-sound-dialog{width:min(380px,calc(100vw - 32px));padding:24px;border:1px solid #d7e2ea;border-radius:18px;background:#f4f7fa;color:#102b40;box-shadow:0 16px 55px #0005}.mascota-sound-dialog::backdrop{background:#05172599;backdrop-filter:blur(3px)}.mascota-sound-dialog h2{margin:0 0 12px;font:700 16px/1.4 Quicksand,sans-serif}.mascota-sound-dialog p{font:12px/1.6 Arial,sans-serif}.mascota-sound-dialog>div{display:flex;gap:10px;margin:20px 0 14px}.mascota-sound-dialog button{flex:1;padding:10px 12px;border:1px solid #8faeba;border-radius:20px;background:#102b40;color:white;font:700 11px Quicksand,sans-serif;cursor:pointer}.mascota-sound-dialog button[data-sound=off]{background:transparent;color:inherit}.mascota-sound-dialog small{font:11px/1.5 Arial,sans-serif;opacity:.75}.dark-mode .mascota-sound-dialog{background:#192a36;color:#e4edf3;border-color:#30424f}
@media(max-width:650px){.mascota-sound-invite{left:120px}.mascota-right .mascota-sound-invite{left:auto;right:120px}.mascota-sound-dialog h2{font-size:14px}}
