/**
 * Anula main.css (button:hover border-color) dentro de EcoGames.
 * Debe cargarse despois de todos os CSS do motor.
 */

body.sogama-ecogames-inline .ecogames-inline button:is(
	.sort-btn-how,
	.blitz-btn-how,
	.sh-btn-how
):is(:hover, :focus, :active) {
	border-color: #2bae7e !important;
}

body.sogama-ecogames-inline .ecogames-inline button:is(
	.sort-btn-ranking-title,
	.blitz-btn-ranking-title,
	.sh-btn-ranking-title
):is(:hover, :focus, :active) {
	border-color: var(--egames-ambar) !important;
}

body.sogama-ecogames-inline .ecogames-inline button:is(
	.sort-btn-ghost,
	.blitz-btn-how-alt,
	.sh-btn-ghost,
	.match-btn-ghost,
	.sort-btn-hub,
	.blitz-btn-hub,
	.sh-btn-hub,
	.match-btn-hub,
	.sort-btn-phase-menu,
	.blitz-btn-phase-menu,
	.sh-btn-phase-menu,
	.match-btn-phase-menu
):is(:hover, :focus, :active) {
	border-color: var(--egames-borde) !important;
}

body.sogama-ecogames-inline .ecogames-inline button:is(
	.sort-btn-primary,
	.blitz-btn-primary,
	.sh-btn-primary,
	.match-btn-primary
):is(:hover, :focus, :active) {
	border-color: #3a9e5f !important;
}

/* Recicla-Match: portada con clase match-btn-hover (bordes inline no sempre gañan a main.css) */
body.sogama-ecogames-inline .ecogames-inline #start-how-btn:is(:hover, :focus, :active) {
	border-color: #2bae7e !important;
}

body.sogama-ecogames-inline .ecogames-inline #start-lb-btn:is(:hover, :focus, :active) {
	border-color: #e3b341 !important;
}

/* Scroll táctil en móvil: pan-y na raíz do xogo; o canvas do Shooter segue con touch-action:none no inline CSS */
body.sogama-ecogames-inline .ecogames-inline .blitz-root,
body.sogama-ecogames-inline .ecogames-inline .sh-root,
body.sogama-ecogames-inline .ecogames-inline .match-root {
	touch-action: pan-y pinch-zoom !important;
}

body.sogama-ecogames-inline .ecogames-inline #board {
	touch-action: none !important;
}
