/* ==========================================================================
   Pirata Matemático — camada de melhorias (v4.0.0)
   Animações, transições, ajustes mobile/desktop e a cena final.
   Carregado depois do main.css; não altera o layout original.
   ========================================================================== */

/* ---------- Fonte local (antes vinha do Google Fonts e falhava offline) ---------- */
@font-face {
	font-family: "Mouse Memoirs";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(../fonts/mouse-memoirs-latin-400-normal.woff2) format("woff2"), url(../fonts/mouse-memoirs-latin-400-normal.woff) format("woff");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Mouse Memoirs";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(../fonts/mouse-memoirs-latin-ext-400-normal.woff2) format("woff2"), url(../fonts/mouse-memoirs-latin-ext-400-normal.woff) format("woff");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Toque no celular ---------- */
html { -webkit-text-size-adjust: 100%; }
body { -webkit-tap-highlight-color: transparent; overscroll-behavior-y: none; }
#game .calculadora li,
#game .niveis-controle li,
#game .button,
#game .button-start-nivel,
#game .status-top .item,
#game .button-song,
.slider-container,
.pm-fc-btn {
	touch-action: manipulation; /* sem atraso de 300ms nem zoom com toque duplo */
	-webkit-user-select: none;
	user-select: none;
}
#game .calculadora li { transition: transform .08s ease, box-shadow .08s ease, background-color .2s; }
#game .calculadora li[data-operador]:active { transform: translateY(4px) scale(.97); }
#game .button-start-nivel,
#game .tela-1 .button-start { transition: transform .15s ease, filter .15s; }
#game .button-start-nivel:active,
#game .tela-1 .button-start:active { transform: scale(.95); filter: brightness(1.1); }
#game .niveis-controle li.desbloqueado { transition: transform .15s ease, background-color .2s; }
#game .niveis-controle li.desbloqueado:active { transform: scale(.9); }

/* Áreas seguras (notch) quando instalado como app */
@supports (padding: max(0px)) {
	@media (max-width: 800px) {
		#game .status-top { padding-top: env(safe-area-inset-top); }
		.slider-container .pular { top: max(20px, env(safe-area-inset-top)); }
	}
}

/* Foco visível no teclado (desktop) */
#game [role="button"]:focus-visible,
.pm-fc-btn:focus-visible,
#game .niveis-controle li:focus-visible { outline: 3px solid #ffe500; outline-offset: 3px; }

/* ---------- Desktop: moldura com proporção de celular ----------
   Antes a moldura tinha 350px de largura e 95% da altura da janela: em
   monitores altos ela virava uma tira fina e esticada. Agora tem proporção
   de celular (350x760) e é ampliada por igual para caber na janela
   (a escala é calculada em src/js/app.js). O mapa continua alinhado
   porque o layout interno não muda, só o zoom da moldura. */
@media (min-width: 801px) {
	.tela-principal {
		width: 350px;
		height: 760px;
		transform: translate(-50%, -50%) scale(var(--pm-escala, 1));
		-webkit-transform: translate(-50%, -50%) scale(var(--pm-escala, 1));
		box-shadow: 0 0 0 7px #2a346b, 0 24px 60px rgba(42, 52, 107, .35);
	}
	.tela-principal #game { height: 100%; }
}

/* ---------- Idiomas ----------
   Textos que ficavam fixos no CSS agora vêm das variáveis definidas em src/js/i18n.js */
.screen-hidden .status-jogo:before { content: var(--pm-t-status, "Status do seu jogo"); }
.screen-hidden .status-jogo.status-share:before { content: var(--pm-t-social, "Rede social"); }
.screen-hidden .status-jogo.feedback:before { content: var(--pm-t-feedback, "Deixe seu feedback"); }
.button-song:after { content: var(--pm-t-musica, "Música"); }
#game .niveis-controle li.msg-nivel:before { content: var(--pm-t-bloqueado, "Nível bloqueado"); }
#game .msg-game-over.show:before { content: var(--pm-t-semvidas, "Você não tem vidas ainda para voltar a jogar :("); }

/* Japonês: a fonte Mouse Memoirs não tem caracteres japoneses */
html[data-lang="ja"] *, html[data-lang="ja"] .pm-toast {
	font-family: "Mouse Memoirs", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic UI", "Meiryo", "Noto Sans JP", sans-serif;
	font-weight: 700;
}
html[data-lang="ja"] #game .total span, html[data-lang="ja"] #game time i, html[data-lang="ja"] .pm-fc-num, html[data-lang="ja"] #game .meta-do-jogo .number { font-family: "alarmclock", monospace; font-weight: normal; }
html[data-lang="ja"] .pm-fc-titulo { font-size: 1.9em; }

/* Seletor de idioma */
.pm-idioma {
	-webkit-appearance: none; appearance: none; cursor: pointer;
	font: 1em/1.2 "Mouse Memoirs", sans-serif; color: #fff; letter-spacing: .3px;
	background: rgba(42, 52, 107, .85) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23ffe500'/%3E%3C/svg%3E") no-repeat right 10px center / 10px 6px;
	border: 1px dashed rgba(255,255,255,.7); border-radius: 20px; padding: 6px 30px 5px 14px;
}
.pm-idioma option { color: #333; background: #fff; }
.pm-idioma-inicio { display: block; margin-top: 14px; position: relative; z-index: 3; }
.pm-idioma-tela1 { font-size: 1.3em; }
#game .wrapper-button .criador { display: block; }
.pm-idioma-inicio .pm-idioma { position: relative; z-index: 3; }
.screen-hidden .status-jogo.pm-ajustes li.pm-linha-idioma { display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: default; }
.screen-hidden .status-jogo.pm-ajustes li.pm-linha-idioma .pm-idioma { font-size: .9em; }

/* ---------- Tela de carregamento ---------- */
#loading { transition: opacity .45s ease; }
#loading.pm-sumir { opacity: 0; pointer-events: none; }
#loading .pm-barra {
	display: block; width: 160px; height: 6px; margin: 14px auto 0; border-radius: 6px;
	background: #e0e0e0; overflow: hidden; position: relative;
}
#loading .pm-barra:after {
	content: ""; position: absolute; left: -40%; top: 0; width: 40%; height: 100%;
	border-radius: 6px; background: #f39e32; animation: pm-carregando 1.1s ease-in-out infinite;
}
@keyframes pm-carregando { 0% { left: -40%; } 100% { left: 100%; } }

/* ---------- Confete e aviso ---------- */
.pm-confete { position: fixed; left: 0; top: 0; pointer-events: none; z-index: 1000001; }
.tela-principal > .pm-confete, .pm-finale > .pm-confete { position: absolute; }

.pm-toast {
	position: fixed; left: 50%; bottom: 24px; z-index: 1000002;
	transform: translate(-50%, 140%); opacity: 0;
	max-width: 86%; width: max-content; padding: 10px 16px;
	background: #2a346b; color: #fff; border: 1px dashed rgba(255,255,255,.6);
	border-radius: 12px; box-shadow: 0 6px 0 rgba(0,0,0,.25);
	font: 1.25em/1.2 "Mouse Memoirs", sans-serif; text-align: center; letter-spacing: .3px;
	transition: transform .35s cubic-bezier(.2,1.4,.4,1), opacity .25s;
}
.tela-principal > .pm-toast { position: absolute; }
.pm-toast.show { transform: translate(-50%, 0); opacity: 1; }
.pm-toast b { color: #ffe500; font-weight: normal; font-family: "alarmclock", monospace; }
.pm-toast u { color: #ffe500; }

/* ---------- Microanimações ---------- */
.pm-tremer { animation: pm-tremer .45s cubic-bezier(.36,.07,.19,.97) both; }
@keyframes pm-tremer {
	10%, 90% { transform: translateX(-2px); }
	20%, 80% { transform: translateX(4px); }
	30%, 50%, 70% { transform: translateX(-7px); }
	40%, 60% { transform: translateX(7px); }
}
.pm-pulsar span { display: inline-block; animation: pm-pulsar .35s ease-out; }
@keyframes pm-pulsar { 0% { transform: scale(1); } 40% { transform: scale(1.18); color: #2fb534; } 100% { transform: scale(1); } }

/* Estrelas do resultado aparecem uma a uma */
#game .mensagem-2.exibe .star li.win { opacity: 0; }
#game .mensagem-2.exibe .star li.win.pm-star-pop { opacity: 1; animation: pm-estrela .55s cubic-bezier(.2,1.6,.4,1) both; }
@keyframes pm-estrela {
	0% { transform: scale(0) rotate(-120deg); opacity: 0; }
	70% { transform: scale(1.35) rotate(10deg); opacity: 1; }
	100% { transform: scale(1) rotate(0); opacity: 1; }
}

/* Caixa de resultado entra com "pulo" */
#game .mensagem-2.exibe .grupo-msg { animation: pm-pop .5s cubic-bezier(.2,1.4,.4,1) both; }
@keyframes pm-pop { 0% { transform: translate(-50%, -50%) scale(.6); opacity: 0; } 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; } }

/* Abrir nível: o quadro de objetivo cai como placa */
#game .nivel.pm-entrar .meta-do-jogo { animation: pm-placa .55s cubic-bezier(.2,1.3,.4,1) both; }
@keyframes pm-placa {
	0% { transform: translate(-50%, -90%) rotate(-6deg); opacity: 0; }
	100% { transform: translate(-50%, -50%) rotate(0); opacity: 1; }
}
#game .nivel.pm-entrar .wrapper-calculadora { animation: pm-subir .45s ease-out both; }
@keyframes pm-subir { 0% { transform: translateY(30px); opacity: 0; } 100% { transform: none; opacity: 1; } }

/* Corações */
#game .lifes li.heart.pm-coracao-sai { animation: pm-coracao-sai .45s ease-in forwards; }
@keyframes pm-coracao-sai { 0% { transform: scale(1); } 40% { transform: scale(1.5); } 100% { transform: scale(0) translateY(10px); opacity: 0; } }
#game .lifes li.heart.pm-coracao-volta { animation: pm-coracao-volta .5s cubic-bezier(.2,1.6,.4,1) both; }
#game .lifes li.heart.pm-coracao-volta:nth-child(2) { animation-delay: .08s; }
#game .lifes li.heart.pm-coracao-volta:nth-child(3) { animation-delay: .16s; }
#game .lifes li.heart.pm-coracao-volta:nth-child(4) { animation-delay: .24s; }
#game .lifes li.heart.pm-coracao-volta:nth-child(5) { animation-delay: .32s; }
@keyframes pm-coracao-volta { 0% { transform: scale(0); } 100% { transform: scale(1); } }

/* ---------- Mapa: estrelas por nível e desbloqueio ---------- */
#game .niveis-controle li.desbloqueado.pm-resolvido:after {
	display: block; background: none; content: "";
	position: absolute; left: 50%; right: auto; bottom: -21px; transform: translateX(-50%);
	width: auto; height: auto; white-space: nowrap;
	font-size: 15px; line-height: 1; letter-spacing: 1px; color: #ffc107;
	text-shadow: 0 1px 0 #6d4c00, 0 0 4px rgba(0,0,0,.5);
	font-family: Arial, sans-serif;
}
#game .niveis-controle li.pm-resolvido[data-stars="1"]:after { content: "★☆☆"; }
#game .niveis-controle li.pm-resolvido[data-stars="2"]:after { content: "★★☆"; }
#game .niveis-controle li.pm-resolvido[data-stars="3"]:after { content: "★★★"; }

#game .niveis-controle li.pm-desbloqueio { animation: pm-desbloqueio 1.5s ease-out; z-index: 5; }
@keyframes pm-desbloqueio {
	0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,193,7,.9); }
	20% { transform: scale(1.45) rotate(-8deg); }
	40% { transform: scale(.9) rotate(4deg); }
	60% { transform: scale(1.1); box-shadow: 0 0 0 26px rgba(255,193,7,0); }
	100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,193,7,0); }
}
/* O nível atual (maior desbloqueado) respira para chamar atenção */
#game .niveis-controle li.desbloqueado:not(.pm-resolvido) { animation: pm-respirar 1.8s ease-in-out infinite; }
@keyframes pm-respirar { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,107,90,.55); } 50% { box-shadow: 0 0 0 10px rgba(255,107,90,0); } }

/* Submarino depois de vencer o jogo */
#game .sea.pm-sub-livre .submarine-wrapper { animation: pm-boiar 3.2s ease-in-out infinite; }
@keyframes pm-boiar { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(2deg); } }

/* ---------- Painel de ajustes ---------- */
.screen-hidden .status-jogo.pm-ajustes:before { content: var(--pm-t-ajustes, "Ajustes"); }
.screen-hidden .status-jogo.pm-ajustes ul { list-style: none; margin: 0; padding: 0; }
.screen-hidden .status-jogo.pm-ajustes li { color: #fff; font-size: 1.3em; padding: 6px 0; cursor: pointer; border-bottom: 1px dashed rgba(255,255,255,.25); }
.screen-hidden .status-jogo.pm-ajustes li:last-child { border-bottom: 0; }
.screen-hidden .status-jogo.pm-ajustes li b { color: #fac917; font-weight: normal; }
.screen-hidden .status-jogo.pm-ajustes a { color: #fff; }
.screen-hidden .status-jogo.pm-ajustes .pm-instalar { color: #fac917; }
.screen-hidden { overflow-y: auto; -webkit-overflow-scrolling: touch; padding-bottom: 40px; }

/* ==========================================================================
   CENA FINAL — "Você escapou da ilha!"
   ========================================================================== */
.pm-finale {
	position: absolute; inset: 0; z-index: 1000000; /* acima da barra de vidas (999999) */ overflow: hidden;
	font-family: "Mouse Memoirs", sans-serif; text-align: center;
	opacity: 0; transition: opacity .6s ease;
}
@media (max-width: 800px) { .pm-finale { position: fixed; } }
.pm-finale.pm-on { opacity: 1; }
.pm-finale.pm-saindo { opacity: 0; transition: opacity .55s ease; }

.pm-finale-ceu {
	position: absolute; inset: 0;
	background:
		radial-gradient(circle at 50% 30%, rgba(255,229,0,.35), rgba(255,229,0,0) 45%),
		linear-gradient(#141a45 0%, #2a346b 45%, #353B71 62%, #1d2557 100%);
}
.pm-finale-ceu:before { /* estrelinhas do céu do próprio jogo */
	content: ""; position: absolute; inset: 0 0 45% 0;
	background: url(../../src/images/stars.webp) repeat top center; opacity: .8;
}
.pm-finale-raios {
	position: absolute; left: 50%; top: 34%; width: 900px; height: 900px; margin: -450px 0 0 -450px;
	background: repeating-conic-gradient(from 0deg, rgba(255,229,0,.16) 0deg 10deg, rgba(255,229,0,0) 10deg 20deg);
	-webkit-mask: radial-gradient(circle, #000 15%, transparent 60%);
	mask: radial-gradient(circle, #000 15%, transparent 60%);
	opacity: 0; transform: scale(.4); transition: opacity .8s ease, transform 1.2s cubic-bezier(.2,1,.3,1);
	animation: pm-girar 30s linear infinite;
}
.pm-finale.pm-card-on .pm-finale-raios { opacity: 1; transform: scale(1); }
@keyframes pm-girar { to { rotate: 360deg; } }

/* Mar com ondas e submarino */
.pm-finale-mar { position: absolute; left: 0; right: 0; bottom: 0; height: 36%; }
.pm-finale-onda {
	position: absolute; left: -50%; width: 200%; height: 100%; bottom: 0;
	background-repeat: repeat-x; background-size: 50% 100%;
}
.pm-finale-onda1 {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200' preserveAspectRatio='none'%3E%3Cpath d='M0 30 Q50 0 100 30 T200 30 T300 30 T400 30 V200 H0Z' fill='%23353B71'/%3E%3C/svg%3E");
	transform: translateY(110%); transition: transform 1.1s cubic-bezier(.2,1.1,.3,1);
	animation: pm-mar 7s linear infinite;
}
.pm-finale-onda2 {
	height: 34%;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200' preserveAspectRatio='none'%3E%3Cpath d='M0 26 Q50 52 100 26 T200 26 T300 26 T400 26 V200 H0Z' fill='%23232a5e'/%3E%3C/svg%3E");
	transform: translateY(120%); transition: transform 1.3s .15s cubic-bezier(.2,1.1,.3,1);
	animation: pm-mar 5s linear infinite reverse; z-index: 3;
}
.pm-finale.pm-on .pm-finale-onda { transform: translateY(0); }
@keyframes pm-mar { from { background-position-x: 0; } to { background-position-x: 50%; } }

.pm-finale-bolhas { position: absolute; inset: 10% 0 0 0; z-index: 4; }
.pm-finale-bolhas i {
	position: absolute; bottom: -20px; border-radius: 50%;
	border: 2px solid rgba(255,255,255,.55); background: rgba(255,255,255,.12);
	animation: pm-bolha 4s ease-in infinite;
}
@keyframes pm-bolha { 0% { transform: translateY(0) scale(.6); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-260px) scale(1.1); opacity: 0; } }

/* Submarino amarelo no mesmo estilo do mapa */
.pm-sub {
	position: absolute; left: 50%; bottom: 22%; width: 150px; height: 80px; margin-left: -75px; z-index: 2;
	transform: translate(-160%, 140px) rotate(8deg); opacity: 0;
	transition: transform 1.6s .3s cubic-bezier(.2,1,.3,1), opacity .6s .3s;
}
.pm-finale.pm-on .pm-sub { transform: translate(0, 0) rotate(0); opacity: 1; }
.pm-finale.pm-card-on .pm-sub { animation: pm-sub-boia 2.6s 1.6s ease-in-out infinite; }
@keyframes pm-sub-boia { 0%, 100% { translate: 0 0; rotate: -2deg; } 50% { translate: 0 -8px; rotate: 2deg; } }
.pm-sub-corpo {
	position: absolute; left: 12px; bottom: 0; width: 120px; height: 56px; border-radius: 60px 50px 50px 60px;
	background: #ffbe0b; box-shadow: inset -10px -8px 0 #f39e32, inset 6px 6px 0 #ffd75e;
	display: flex; align-items: center; justify-content: center; gap: 8px;
}
.pm-sub-corpo u { width: 20px; height: 20px; border-radius: 50%; background: #b3e5fc; border: 4px solid #37474f; box-shadow: inset -4px -4px 0 #81d4fa; }
.pm-sub-torre { position: absolute; left: 50px; bottom: 48px; width: 36px; height: 26px; background: #f39e32; border-radius: 8px 8px 0 0; }
.pm-sub-torre b { position: absolute; left: 22px; top: -22px; width: 6px; height: 24px; background: #37474f; border-radius: 3px; }
.pm-sub-torre b:after { content: ""; position: absolute; left: 0; top: 0; width: 16px; height: 6px; background: #37474f; border-radius: 3px; }
.pm-sub-helice { position: absolute; left: 0; bottom: 14px; width: 18px; height: 28px; background: #37474f; border-radius: 4px; animation: pm-helice .25s linear infinite; }
@keyframes pm-helice { 50% { transform: scaleY(.35); } }

/* Cartão da mensagem (mesmo visual do quadro "Objetivo" do jogo) */
.pm-finale-card {
	position: absolute; left: 50%; top: 42%; z-index: 6;
	width: min(290px, 86%);
	transform: translate(-50%, -50%) scale(.3) rotate(-8deg); opacity: 0;
	transition: transform .7s cubic-bezier(.2,1.5,.4,1), opacity .35s;
	filter: drop-shadow(0 10px 0 rgba(0,0,0,.3));
}
.pm-finale.pm-card-on .pm-finale-card { transform: translate(-50%, -50%) scale(1) rotate(0); opacity: 1; }

.pm-fc-header {
	display: flex; align-items: center; justify-content: space-between;
	padding: 10px 18px; background: #2a346b; border-radius: 10px 10px 0 0; color: #fff; font-size: 1.9em;
}
.pm-fc-selo { font-size: .55em; background: #ff6b5a; padding: 4px 10px 2px; border-radius: 20px; letter-spacing: 1px; }

.pm-fc-body {
	position: relative; padding: 46px 16px 14px; background: #f2f2f2;
	background-image: radial-gradient(circle at 50% 0, #fff7d1 0, #f2f2f2 60%);
}
.pm-fc-bau {
	position: absolute; left: 50%; top: -38px; width: 65px; height: 67px; margin-left: -32px;
	background: url(../../src/images/sprite.webp) no-repeat -69px -269px;
	animation: pm-bau 1.8s ease-in-out infinite;
	filter: drop-shadow(0 0 10px rgba(255,229,0,.9));
}
@keyframes pm-bau { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-6px) rotate(4deg); } }

.pm-fc-faixa {
	display: inline-block; position: relative; margin: 0 0 6px; padding: 4px 18px 2px;
	background: #f39e32; color: #fff; font-size: 1.25em; letter-spacing: .5px;
	text-shadow: 1px 1px 0 #b0621b;
}
.pm-fc-faixa:before, .pm-fc-faixa:after {
	content: ""; position: absolute; top: 5px; border: 12px solid #d27f1e; z-index: -1;
}
.pm-fc-faixa:before { left: -14px; border-left-color: transparent; }
.pm-fc-faixa:after { right: -14px; border-right-color: transparent; }

.pm-fc-titulo {
	display: block; font-weight: normal; font-size: 2.55em; line-height: 1; color: #2a346b;
	text-shadow: 0 2px 0 #ffe500;
	animation: pm-titulo 2.4s ease-in-out infinite;
}
@keyframes pm-titulo { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
.pm-fc-texto { margin: 8px 0 10px; color: #6b6b6b; font-size: 1.2em; line-height: 1.1; }

.pm-fc-stats { display: flex; gap: 8px; justify-content: center; }
.pm-fc-stat { flex: 1; display: flex; flex-direction: column; align-items: center; }
.pm-fc-num {
	font-family: "alarmclock", monospace; font-style: normal; font-size: 2.4em;
	background-color: #a5b8a2; color: #3E3D3E; padding: 4px 10px; min-width: 86px; border-radius: 4px;
	box-shadow: inset 0 3px 0 rgba(0,0,0,.12);
}
.pm-fc-stat span { color: #ababab; font-size: 1.1em; margin-top: 4px; }
.pm-fc-stat:first-child .pm-fc-num:before { content: "★ "; font-family: Arial, sans-serif; font-size: .6em; color: #f39e32; vertical-align: middle; }
.pm-fc-tempo { display: block; margin-top: 8px; color: #9a9a9a; font-size: 1.05em; }
.pm-fc-tempo i { font-family: "alarmclock", monospace; font-style: normal; color: #3E3D3E; }

.pm-fc-footer { display: flex; flex-direction: column; gap: 8px; padding: 12px 18px 14px; background: #2a346b; border-radius: 0 0 10px 10px; }
.pm-fc-btn {
	display: block; padding: 9px 12px 7px; border-radius: 10px; cursor: pointer;
	color: #fff; font-size: 1.55em; line-height: 1;
	transition: transform .12s ease, filter .12s;
}
.pm-fc-btn:active { transform: translateY(3px) scale(.97); }
.pm-fc-share { background: #2fb534; box-shadow: 0 5px 0 #1e7d22; animation: pm-chamar 2s 3s ease-in-out infinite; }
.pm-fc-mapa { background: transparent; border: 1px dashed rgba(255,255,255,.6); font-size: 1.3em; }
@keyframes pm-chamar { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }

@media (max-height: 640px) {
	.pm-finale-card { top: 44%; }
	.pm-fc-texto { display: none; }
	.pm-fc-titulo { font-size: 2.2em; }
}

/* ---------- Menos movimento (acessibilidade) ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *:before, *:after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
