/**
 * Correções lotarias — carregar depois dos CSS tagDiv (Newspaper).
 */

body.mftn-lotarias-page .geo-page-shell .geo-container.geo-page,
body.mftn-lotarias-page .geo-page-shell .geo-entry-content {
	width: 100%;
	max-width: none;
}

body.mftn-lotarias-page .td-page-header .entry-title {
	display: none;
}

body.mftn-lotarias-page .td-page-content.tagdiv-type {
	max-width: none;
	width: 100%;
}

body.mftn-lotarias-page .td-page-content .geo-page-shell {
	padding-left: 0;
	padding-right: 0;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave-banner {
	display: flex;
	align-items: center;
	gap: 1rem 1.25rem;
	margin: 0 0 1rem;
	padding: 0.75rem 0.9rem;
	background: #f6f7f7;
	border: 1px solid #e5e5e5;
	border-radius: 4px;
	max-width: none;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave-banner--brand {
	background: linear-gradient(180deg, #fff 0%, #f0f0f1 100%);
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave-banner__logo,
body.mftn-lotarias-page .geo-page-shell .totoloto-catalog-game__logo {
	display: block;
	flex: 0 0 auto;
	background-repeat: no-repeat;
	background-size: auto;
	text-indent: -9999px;
	overflow: hidden;
	min-width: 1px;
	min-height: 1px;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave-banner__logo--contain {
	background-size: contain;
	background-position: left center;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave-head {
	display: grid;
	grid-template-columns: minmax(22rem, 1fr) minmax(18rem, 1fr);
	gap: 0.85rem 2rem;
	align-items: start;
	width: 100%;
	max-width: 100%;
	margin: 0 0 1.15rem;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-split {
	display: grid;
	grid-template-columns: max-content max-content;
	justify-content: start;
	gap: 0.85rem 2rem;
	align-items: start;
	width: 100%;
	max-width: 100%;
	margin: 1rem 0 0;
	overflow-x: auto;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-split .totoloto-chaves-table-wrap {
	margin-top: 0;
	overflow: visible;
	max-width: none;
	width: max-content;
	min-width: max-content;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-split .totoloto-chaves-table {
	width: max-content;
	max-width: none;
	table-layout: auto;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-table {
	border-collapse: separate;
	border-spacing: 0;
}

/* Screen reader — tagdiv pode expor rótulos das bolas */
body.mftn-lotarias-page .geo-page-shell .screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal;
}

/* Abas hub — estilo nav-tab WP / SportsPress */
body.mftn-lotarias-page .geo-page-shell .totoloto-hub__tabs.totoloto-game-tabs {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 0;
	width: 100%;
	min-width: 100%;
	max-width: 100%;
	margin: 0 0 1rem;
	padding: 9px 0 0;
	border-bottom: 1px solid #c3c4c7;
	background: transparent;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-hub__tabs.totoloto-game-tabs::-webkit-scrollbar {
	display: none;
	width: 0;
	height: 0;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-hub__tabs .totoloto-game-tabs__item,
body.mftn-lotarias-page .geo-page-shell .totoloto-hub__tabs .totoloto-game-tabs__toggle {
	display: inline-block;
	flex: 0 0 auto;
	margin: 0 0 0 0.5em;
	padding: 5px 12px;
	border: 1px solid #c3c4c7;
	border-bottom: none;
	border-radius: 0;
	background: #dcdcde;
	color: #50575e;
	text-decoration: none;
	text-align: center;
	font-size: 14px;
	line-height: 1.71428571;
	font-weight: 600;
	white-space: nowrap;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-hub__tabs .totoloto-game-tabs__item:first-child {
	margin-left: 0;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-hub__tabs .totoloto-game-tabs__item:hover {
	background: #fff;
	color: #3c434a;
	border-color: #c3c4c7;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-hub__tabs .totoloto-game-tabs__item.is-active,
body.mftn-lotarias-page .geo-page-shell .totoloto-hub__tabs .totoloto-game-tabs__toggle.is-active {
	margin-bottom: -1px;
	padding-bottom: 6px;
	border: 1px solid #c3c4c7;
	border-bottom: 1px solid #fff;
	background: #fff;
	color: #000;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-hub__tabs .totoloto-game-tabs__dropdown {
	position: relative;
	display: inline-flex;
	flex: 0 0 auto;
	margin: 0 0 0 0.5em;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-hub__tabs .totoloto-game-tabs__toggle {
	cursor: pointer;
	font: inherit;
	appearance: none;
	-webkit-appearance: none;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-hub__tabs .totoloto-game-tabs__submenu {
	position: absolute;
	top: calc(100% - 1px);
	left: 0;
	z-index: 50;
	min-width: 12.5rem;
	margin: 0;
	padding: 0.35rem 0;
	background: #fff;
	border: 1px solid #c3c4c7;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

body.mftn-lotarias-page .geo-page-shell .totoloto-hub__tabs .totoloto-game-tabs__subitem {
	display: block;
	padding: 0.45rem 0.85rem;
	color: #3c434a;
	font-size: 0.86rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-hub__tabs .totoloto-game-tabs__subitem:hover,
body.mftn-lotarias-page .geo-page-shell .totoloto-hub__tabs .totoloto-game-tabs__subitem.is-active {
	color: #000;
	background: #f0f0f1;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-hub__tabs .totoloto-game-tabs__submenu[hidden] {
	display: none;
}

/* Bolas da chave */
body.mftn-lotarias-page .geo-page-shell .totoloto-chave-balls-stack {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 1.25rem 2rem;
	align-items: flex-end;
	margin: 0 0 1.15rem;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave-balls-block {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	max-width: 100%;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave-balls {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem;
	margin: 0;
	max-width: 100%;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave-ball {
	display: inline-flex;
	flex: 0 0 auto;
	margin: 0;
	line-height: 0;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave-ball__face {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.35rem;
	height: 3.35rem;
	border-radius: 50%;
	box-sizing: border-box;
	font-size: 1.2rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	line-height: 1.2;
	color: #fff;
	background: radial-gradient(circle at 32% 28%, #5b82b8 0%, #1d3557 68%);
	box-shadow:
		inset -3px -4px 6px rgba(0, 0, 0, 0.28),
		inset 2px 2px 4px rgba(255, 255, 255, 0.22),
		0 1px 2px rgba(0, 0, 0, 0.12);
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave-balls-stack--euromilhoes .totoloto-chave-ball:not(.totoloto-chave-ball--extra) .totoloto-chave-ball__face {
	background: radial-gradient(circle at 32% 28%, #6ea8ff 0%, #1a4f9c 68%);
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave-balls-stack--eurodreams .totoloto-chave-ball:not(.totoloto-chave-ball--extra) .totoloto-chave-ball__face {
	background: radial-gradient(circle at 32% 28%, #b07dff 0%, #5b2d9e 68%);
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave-balls-stack--totoloto .totoloto-chave-ball:not(.totoloto-chave-ball--extra) .totoloto-chave-ball__face,
body.mftn-lotarias-page .geo-page-shell .totoloto-chave-balls-stack--loto2 .totoloto-chave-ball:not(.totoloto-chave-ball--extra) .totoloto-chave-ball__face {
	background: radial-gradient(circle at 32% 28%, #5ee0f7 0%, #0a8fa8 68%);
	color: #063a45;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave-balls-stack--eurojackpot .totoloto-chave-ball:not(.totoloto-chave-ball--extra) .totoloto-chave-ball__face {
	background: radial-gradient(circle at 32% 28%, #ffc857 0%, #d97706 68%);
	color: #3b2200;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave-ball--extra .totoloto-chave-ball__face {
	color: #1d2327;
	background: radial-gradient(circle at 32% 28%, #ffe08a 0%, #d4a017 70%);
	box-shadow:
		inset -3px -4px 6px rgba(120, 70, 0, 0.28),
		inset 2px 2px 4px rgba(255, 255, 255, 0.35),
		0 1px 2px rgba(0, 0, 0, 0.12);
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave-ball--star .totoloto-chave-ball__face {
	border-radius: 0;
	clip-path: polygon(50% 0%, 63% 31%, 98% 34%, 70% 60%, 81% 92%, 50% 73%, 19% 92%, 30% 60%, 2% 34%, 37% 31%);
	color: #fff;
	background: radial-gradient(circle at 32% 28%, #ff6b6b 0%, #c62828 68%);
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave-balls-plus {
	font-size: 1.5rem;
	font-weight: 700;
	color: #50575e;
	padding: 0 0.25rem;
	line-height: 1;
	flex: 0 0 auto;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-layers {
	display: grid;
	grid-template-columns: 7rem minmax(0, 1fr);
	column-gap: 0.4rem;
	row-gap: 0.28rem;
	align-items: start;
	margin: 0 0 0.15rem;
	width: 100%;
	max-width: 100%;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-layers__row {
	display: none;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-last .totoloto-chaves-layers__row--last,
body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-hot .totoloto-chaves-layers__row--hot,
body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-cold .totoloto-chaves-layers__row--cold,
body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-late .totoloto-chaves-layers__row--late {
	display: contents;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-layers__nums {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.12rem;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-n {
	display: inline-block;
	min-width: 1.65em;
	padding: 0.08em 0.18em;
	border-radius: 2px;
	margin-right: 0.15em;
	text-align: center;
	font-variant-numeric: tabular-nums;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-n--vertex {
	box-sizing: border-box;
	border: 2px solid #c62828;
	box-shadow: 0 0 0 1px rgba(198, 40, 40, 0.35);
	position: relative;
	z-index: 1;
}

/* Resumo da tiragem */
body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-draw-summary {
	margin: 0.55rem 0 0;
	padding: 0.65rem 0.75rem;
	border: 1px solid #d8dee3;
	border-radius: 6px;
	background: #f8fafb;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-draw-summary__title {
	margin: 0 0 0.45rem;
	font-size: 0.82rem;
	font-weight: 700;
	color: #163044;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-draw-summary__body {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-draw-summary__line {
	margin: 0;
	font-size: 0.82rem;
	line-height: 1.45;
	color: #2c3e50;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-draw-summary__note {
	margin: 0.25rem 0 0;
	font-size: 0.78rem;
	line-height: 1.4;
	color: #5a6a78;
	font-style: italic;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-draw-summary__theory-n {
	display: inline-block;
	padding: 0.05em 0.35em;
	border-radius: 3px;
	background: #b2ebf2;
	color: #006064;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-draw-summary__pool {
	font-weight: 600;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-draw-summary__pool-flag {
	display: inline-block;
	padding: 0.05em 0.35em;
	border-radius: 3px;
	font-size: 0.92em;
	font-weight: 700;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-draw-summary__pool-flag--over {
	background: #ffe0b2;
	color: #e65100;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-draw-summary__pool-flag--under {
	background: #e3f2fd;
	color: #1565c0;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-draw-summary__past {
	display: inline;
	margin-left: 0.2em;
	font-weight: 600;
	color: #4a148c;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-draw-summary__gap {
	display: inline-block;
	padding: 0.05em 0.4em;
	border-radius: 3px;
	font-weight: 700;
	text-transform: lowercase;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-draw-summary__gap--green {
	background: #c8e6c9;
	color: #1b5e20;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-draw-summary__gap--yellow {
	background: #fff59d;
	color: #6d4c00;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-draw-summary__gap--red {
	background: #ffcdd2;
	color: #b71c1c;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-draw-summary__rec {
	display: inline-block;
	margin-left: 0.15em;
	font-weight: 600;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-draw-summary__rec--atraso {
	color: #1b5e20;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-draw-summary__rec--avanço {
	color: #b71c1c;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-draw-summary__rec--equilibrio {
	color: #455a64;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-draw-summary__vertex-out {
	color: #c62828;
	font-weight: 700;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-draw-summary .totoloto-chaves-n {
	font-weight: 700;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-last .totoloto-chaves-layers .totoloto-chaves-n[data-zone="last"],
body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-last .totoloto-chaves-draw-summary .totoloto-chaves-n[data-zone="last"] {
	background: #f5d0cc;
	color: #6b2a25;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-hot .totoloto-chaves-layers .totoloto-chaves-n[data-zone="hot"],
body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-hot .totoloto-chaves-draw-summary .totoloto-chaves-n[data-zone="hot"] {
	background: #ebc84e;
	color: #3d3208;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-cold .totoloto-chaves-layers .totoloto-chaves-n[data-zone="cold"],
body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-cold .totoloto-chaves-draw-summary .totoloto-chaves-n[data-zone="cold"] {
	background: #cfe4f3;
	color: #1b4566;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-late .totoloto-chaves-layers .totoloto-chaves-n[data-zone="late"],
body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-late .totoloto-chaves-draw-summary .totoloto-chaves-n[data-zone="late"] {
	background: #ddd8eb;
	color: #3a3154;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-last .totoloto-chaves-layers .totoloto-chaves-n--new[data-zone="last"],
body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-last .totoloto-chaves-draw-summary .totoloto-chaves-n--new[data-zone="last"] {
	background: #f5d0cc;
	color: #6b2a25;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-hot .totoloto-chaves-layers .totoloto-chaves-n--new[data-zone="hot"],
body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-hot .totoloto-chaves-draw-summary .totoloto-chaves-n--new[data-zone="hot"] {
	background: #fdf6dd;
	color: #8a7a48;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-cold .totoloto-chaves-layers .totoloto-chaves-n--new[data-zone="cold"],
body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-cold .totoloto-chaves-draw-summary .totoloto-chaves-n--new[data-zone="cold"] {
	background: #eaf5fb;
	color: #5a84a0;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-late .totoloto-chaves-layers .totoloto-chaves-n--new[data-zone="late"],
body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-late .totoloto-chaves-draw-summary .totoloto-chaves-n--new[data-zone="late"] {
	background: #f1eef6;
	color: #7a748c;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-last .totoloto-chaves-layers .totoloto-chaves-n--drawn[data-zone="last"],
body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-last .totoloto-chaves-draw-summary .totoloto-chaves-n--drawn[data-zone="last"] {
	background: #e15b52;
	color: #fff;
	font-weight: 800;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-hot .totoloto-chaves-layers .totoloto-chaves-n--drawn[data-zone="hot"],
body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-hot .totoloto-chaves-draw-summary .totoloto-chaves-n--drawn[data-zone="hot"] {
	background: #c67c00;
	color: #fff;
	font-weight: 800;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-cold .totoloto-chaves-layers .totoloto-chaves-n--drawn[data-zone="cold"],
body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-cold .totoloto-chaves-draw-summary .totoloto-chaves-n--drawn[data-zone="cold"] {
	background: #3b8fc4;
	color: #fff;
	font-weight: 800;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-late .totoloto-chaves-layers .totoloto-chaves-n--drawn[data-zone="late"],
body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-late .totoloto-chaves-draw-summary .totoloto-chaves-n--drawn[data-zone="late"] {
	background: #7d6ab0;
	color: #fff;
	font-weight: 800;
}

/* Paginação chaves */
body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 0.85rem;
	margin: 0.85rem 0 0;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-foot .totoloto-chaves-pager {
	margin: 0;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-foot .totoloto-chaves-zone-hl {
	margin: 0;
	justify-content: flex-end;
	flex: 1 1 auto;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-lotaria-archive__pager .page-numbers,
body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-pager .page-numbers {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-lotaria-archive__pager .page-numbers li,
body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-pager .page-numbers li {
	margin: 0;
	list-style: none;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-lotaria-archive__pager .page-numbers a,
body.mftn-lotarias-page .geo-page-shell .totoloto-lotaria-archive__pager .page-numbers span,
body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-pager .page-numbers a,
body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-pager .page-numbers span {
	display: inline-block;
	min-width: 2rem;
	padding: 0.3rem 0.5rem;
	text-align: center;
	border: 1px solid #ddd;
	border-radius: 3px;
	background: #fff;
	color: #163044;
	text-decoration: none;
	font-size: 0.85rem;
	line-height: 1.2;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-lotaria-archive__pager .page-numbers .current,
body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-pager .page-numbers .current {
	background: #163044;
	border-color: #163044;
	color: #fff;
	font-weight: 700;
}

/* Painéis teoria U/Q/F/A */
body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-zone-panel {
	display: none;
	margin: 0.35rem 0 0.85rem;
	padding: 0.85rem 1rem 1rem;
	border: 1px solid #ddd;
	border-left-width: 3px;
	background: #fafafa;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-last .totoloto-chaves-zone-panel--last,
body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-hot .totoloto-chaves-zone-panel--hot,
body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-cold .totoloto-chaves-zone-panel--cold,
body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-late .totoloto-chaves-zone-panel--late {
	display: block;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-zone-panel--last {
	border-left-color: #e08b84;
	background: #fdf4f3;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-zone-panel--hot {
	border-left-color: #c9b458;
	background: #fdf8e8;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-zone-panel--cold {
	border-left-color: #86b4d4;
	background: #f3f8fc;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-zone-panel--late {
	border-left-color: #a99bc4;
	background: #f6f4fa;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-zone-panel__title {
	margin: 0 0 0.5rem;
	font-size: 1.05rem;
	font-weight: 700;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-zone-panel__h {
	margin: 0.9rem 0 0.3rem;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-zone-panel p {
	margin: 0 0 0.5rem;
	line-height: 1.45;
	max-width: 54rem;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-zone-panel__stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
	gap: 0.55rem 1.1rem;
	margin: 0.35rem 0 0.8rem;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-zone-panel__stat {
	margin: 0;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-zone-panel__stat dt {
	font-size: 0.82rem;
	opacity: 0.82;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-zone-panel__stat dd {
	margin: 0.12rem 0 0;
	font-weight: 650;
	font-variant-numeric: tabular-nums;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-zone-panel__pct {
	display: inline-block;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	padding: 0.05em 0.4em;
	border-radius: 0.2em;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-zone-panel--late .totoloto-chaves-zone-panel__pct {
	background: #d9d4e8;
	color: #3d3358;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-zone-panel--last .totoloto-chaves-zone-panel__pct {
	background: #f8c9c4;
	color: #7a2e28;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-zone-panel--hot .totoloto-chaves-zone-panel__pct {
	background: #ebc84e;
	color: #3d3208;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-zone-panel--cold .totoloto-chaves-zone-panel__pct {
	background: #c5def0;
	color: #1e4a6b;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-zone-panel__key .totoloto-chaves-n--zone-last {
	background: #f5d0cc;
	color: #6b2a25;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-zone-panel__key .totoloto-chaves-n--zone-hot {
	background: #ebc84e;
	color: #3d3208;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-zone-panel__key .totoloto-chaves-n--zone-cold {
	background: #cfe4f3;
	color: #1b4566;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-zone-panel__key .totoloto-chaves-n--zone-late {
	background: #ddd8eb;
	color: #3a3154;
}

/* Navegação sorteio + botões U/Q/F/A */
body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-draw-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem 0.55rem;
	margin: 0.75rem 0 0;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-draw-nav__btn,
body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-draw-nav__latest,
body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-draw-nav__clear {
	display: inline-block;
	padding: 0.28rem 0.7rem;
	border: 1px solid #ddd;
	border-radius: 3px;
	background: #fff;
	color: #163044;
	font-size: 0.85rem;
	font-weight: 600;
	text-decoration: none;
	line-height: 1.3;
	cursor: pointer;
	font-family: inherit;
	appearance: none;
	-webkit-appearance: none;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-draw-nav__btn:hover,
body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-draw-nav__latest:hover,
body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-draw-nav__clear.is-on:hover {
	border-color: #888;
	background: #f6f7f7;
	color: #163044;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-draw-nav__clear {
	display: none;
	margin-left: auto;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-draw-nav__clear.is-on {
	display: inline-block;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-draw-nav__btn.is-disabled {
	opacity: 0.45;
	cursor: default;
	pointer-events: none;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-draw-nav__now {
	font-size: 0.85rem;
	font-weight: 700;
	color: #333;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-draw-nav__latest {
	margin-left: 0.15rem;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-zone-hl {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 0.4rem;
	margin: 0.75rem 0 0.35rem;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-zone-hl--head {
	justify-content: flex-start;
	flex-wrap: nowrap;
	align-items: center;
	gap: 0.3rem;
	margin: 0.45rem 0 0;
	white-space: nowrap;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave-hl__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
	margin: 0;
	padding: 0.42rem 0.85rem;
	border: 1px solid #c3c4c7;
	border-radius: 3px;
	background: #fff;
	color: #163044;
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	white-space: nowrap;
	text-decoration: none;
	font-family: inherit;
	appearance: none;
	-webkit-appearance: none;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-zone-hl--head .totoloto-chave-hl__btn {
	padding: 0.28rem 0.5rem;
	font-size: 0.78rem;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave-hl__btn:hover {
	background: #f6f7f7;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave-hl__btn--teoria {
	background: #163044;
	border-color: #163044;
	color: #fff;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave-hl__btn--teoria:hover {
	background: #0f2230;
	border-color: #0f2230;
	color: #fff;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave-hl__abbr {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.15em;
	font-weight: 800;
	letter-spacing: 0.02em;
	opacity: 0.92;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave-hl__btn.is-active[data-chave-hl="last"],
body.mftn-lotarias-page .geo-page-shell .totoloto-chave-hl__btn[aria-pressed="true"][data-chave-hl="last"] {
	background: #f8c9c4;
	border-color: #e08b84;
	color: #7a2e28;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave-hl__btn.is-active[data-chave-hl="hot"],
body.mftn-lotarias-page .geo-page-shell .totoloto-chave-hl__btn[aria-pressed="true"][data-chave-hl="hot"] {
	background: #ebc84e;
	border-color: #d4b03a;
	color: #3d3208;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave-hl__btn.is-active[data-chave-hl="cold"],
body.mftn-lotarias-page .geo-page-shell .totoloto-chave-hl__btn[aria-pressed="true"][data-chave-hl="cold"] {
	background: #c5def0;
	border-color: #86b4d4;
	color: #1e4a6b;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave-hl__btn.is-active[data-chave-hl="late"],
body.mftn-lotarias-page .geo-page-shell .totoloto-chave-hl__btn[aria-pressed="true"][data-chave-hl="late"] {
	background: #d9d4e8;
	border-color: #a99bc4;
	color: #3d3358;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave-hl__btn:not(.is-active):not([aria-pressed="true"]):not(.totoloto-chave-hl__btn--teoria) {
	background: #fff;
	border-color: #c3c4c7;
	color: #163044;
}

/* Resumo U/Q/F/A — só linha activa */
body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves .totoloto-chaves-draw-summary__line--last,
body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves .totoloto-chaves-draw-summary__line--hot,
body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves .totoloto-chaves-draw-summary__line--cold,
body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves .totoloto-chaves-draw-summary__line--late {
	display: none;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-last .totoloto-chaves-draw-summary__line--last,
body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-hot .totoloto-chaves-draw-summary__line--hot,
body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-cold .totoloto-chaves-draw-summary__line--cold,
body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-late .totoloto-chaves-draw-summary__line--late {
	display: block;
}

/* Tabela chaves — números esmaecidos + destaque por zona */
body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-last .totoloto-chaves-table tbody td.totoloto-chaves-table__key .totoloto-chaves-n,
body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-hot .totoloto-chaves-table tbody td.totoloto-chaves-table__key .totoloto-chaves-n,
body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-cold .totoloto-chaves-table tbody td.totoloto-chaves-table__key .totoloto-chaves-n,
body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-late .totoloto-chaves-table tbody td.totoloto-chaves-table__key .totoloto-chaves-n {
	color: #c4c4c4;
	background: transparent;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-last .totoloto-chaves-table tbody td.totoloto-chaves-table__key .totoloto-chaves-n[data-zone="last"]:not(.totoloto-chaves-n--extra) {
	background: #f5d0cc;
	color: #6b2a25;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-hot .totoloto-chaves-table tbody td.totoloto-chaves-table__key .totoloto-chaves-n[data-zone="hot"]:not(.totoloto-chaves-n--extra) {
	background: #ebc84e;
	color: #3d3208;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-cold .totoloto-chaves-table tbody td.totoloto-chaves-table__key .totoloto-chaves-n[data-zone="cold"]:not(.totoloto-chaves-n--extra) {
	background: #cfe4f3;
	color: #1b4566;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-late .totoloto-chaves-table tbody td.totoloto-chaves-table__key .totoloto-chaves-n[data-zone="late"]:not(.totoloto-chaves-n--extra) {
	background: #ddd8eb;
	color: #3a3154;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-last .totoloto-chaves-table tbody tr.totoloto-chaves-row--current td.totoloto-chaves-table__key .totoloto-chaves-n[data-zone="last"]:not(.totoloto-chaves-n--extra) {
	background: #e15b52;
	color: #fff;
	font-weight: 800;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-hot .totoloto-chaves-table tbody tr.totoloto-chaves-row--current td.totoloto-chaves-table__key .totoloto-chaves-n[data-zone="hot"]:not(.totoloto-chaves-n--extra) {
	background: #c67c00;
	color: #fff;
	font-weight: 800;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-cold .totoloto-chaves-table tbody tr.totoloto-chaves-row--current td.totoloto-chaves-table__key .totoloto-chaves-n[data-zone="cold"]:not(.totoloto-chaves-n--extra) {
	background: #3b8fc4;
	color: #fff;
	font-weight: 800;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-late .totoloto-chaves-table tbody tr.totoloto-chaves-row--current td.totoloto-chaves-table__key .totoloto-chaves-n[data-zone="late"]:not(.totoloto-chaves-n--extra) {
	background: #7d6ab0;
	color: #fff;
	font-weight: 800;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-last .totoloto-chaves-table thead th.totoloto-chaves-table__z--last,
body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-last .totoloto-chaves-table tbody td.totoloto-chaves-table__z--last {
	box-shadow: inset 0 0 0 2px #e08b84;
	font-weight: 700;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-hot .totoloto-chaves-table thead th.totoloto-chaves-table__z--hot,
body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-hot .totoloto-chaves-table tbody td.totoloto-chaves-table__z--hot {
	box-shadow: inset 0 0 0 2px #d4b03a;
	font-weight: 700;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-cold .totoloto-chaves-table thead th.totoloto-chaves-table__z--cold,
body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-cold .totoloto-chaves-table tbody td.totoloto-chaves-table__z--cold {
	box-shadow: inset 0 0 0 2px #86b4d4;
	font-weight: 700;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-late .totoloto-chaves-table thead th.totoloto-chaves-table__z--late,
body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-late .totoloto-chaves-table tbody td.totoloto-chaves-table__z--late {
	box-shadow: inset 0 0 0 2px #a99bc4;
	font-weight: 700;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-last .totoloto-chave-balls-stack .totoloto-chave-ball[data-zone="last"]:not(.totoloto-chave-ball--extra) .totoloto-chave-ball__face {
	background: radial-gradient(circle at 32% 28%, #f5d0cc 0%, #e08b84 72%);
	color: #111;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-hot .totoloto-chave-balls-stack .totoloto-chave-ball[data-zone="hot"]:not(.totoloto-chave-ball--extra) .totoloto-chave-ball__face {
	background: radial-gradient(circle at 32% 28%, #f0d878 0%, #d4b03a 72%);
	color: #111;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-cold .totoloto-chave-balls-stack .totoloto-chave-ball[data-zone="cold"]:not(.totoloto-chave-ball--extra) .totoloto-chave-ball__face {
	background: radial-gradient(circle at 32% 28%, #cfe4f3 0%, #86b4d4 72%);
	color: #111;
}

body.mftn-lotarias-page .geo-page-shell .totoloto-chave--chaves.is-hl-late .totoloto-chave-balls-stack .totoloto-chave-ball[data-zone="late"]:not(.totoloto-chave-ball--extra) .totoloto-chave-ball__face {
	background: radial-gradient(circle at 32% 28%, #ddd8eb 0%, #9b90b8 72%);
	color: #111;
}

@media (max-width: 960px) {
	body.mftn-lotarias-page .geo-page-shell .totoloto-chave-head {
		grid-template-columns: 1fr;
	}

	body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-split {
		grid-template-columns: 1fr;
	}

	body.mftn-lotarias-page .geo-page-shell .totoloto-chaves-split .totoloto-chaves-table-wrap {
		width: 100%;
		min-width: 0;
		overflow-x: auto;
	}
}
