/* MFTN Totoloto — sync from geo-webseptimus main.css (Guia)
 * Generated: 2026-08-26T22:42:12+00:00
 */

:root {
	/* Colors inspired by mauser.pt (orange + yellow warn, dark chrome) */
	--geo-ink: #1a1a1a;
	--geo-muted: #6f6f6f;
	--geo-line: #e5e5e5;
	--geo-bg: #f5f5f5;
	--geo-white: #fff;
	--geo-accent: #ff6a00;
	--geo-accent-soft: #fff1e6;
	--geo-warn: #ffd200;
	--geo-header: #1a1a1a;
	--geo-header-text: #ffffff;
	--geo-max: 90%;
	--geo-wide: 90%;
	/* Typography sampled from mauser.pt (Helvetica Neue stack + rem scale ~14px UI) */
	--geo-font: "Helvetica Neue", Helvetica, Arial, sans-serif;
	--geo-text-xs: 0.75rem;
	--geo-text-sm: 0.875rem;
	--geo-text-base: 0.875rem;
	--geo-text-md: 1rem;
	--geo-text-lg: 1.125rem;
	--geo-text-xl: 1.25rem;
	--geo-display: clamp(1.75rem, 5vw, 2.5rem);
	--geo-topbar-h: 80px;
	--geo-topbar-h-compact: 56px;
	--geo-topbar-logo-h: 64px;
	--geo-topbar-control-h: 2.75rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--geo-font);
	color: var(--geo-ink);
	background: var(--geo-bg);
	line-height: 1.45;
	font-size: var(--geo-text-base);
	-webkit-font-smoothing: antialiased;

.geo-container {
	width: 90%;
	max-width: 90%;
	margin-inline: auto;
}

.geo-container--wide {
	width: 90%;
	max-width: 90%;
}


.geo-breadcrumbs {
	padding: 0.85rem 0 0;
	scroll-margin-top: var(--geo-topbar-h, 80px);
}

body.admin-bar .geo-breadcrumbs {
	scroll-margin-top: calc(32px + var(--geo-topbar-h, 80px));
}

@media screen and (max-width: 782px) {
	body.admin-bar .geo-breadcrumbs {
		scroll-margin-top: calc(46px + var(--geo-topbar-h, 80px));
	}
}

.geo-breadcrumbs-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.85rem;
	color: var(--geo-muted);
}

.geo-breadcrumbs-list li:not(:last-child)::after {
	content: "/";
	margin-left: 0.35rem;
	color: var(--geo-line);
}

.geo-breadcrumbs a:hover { color: var(--geo-accent); }

.geo-partners-strip {
	padding: 0.85rem 0;
	background: var(--geo-white);
	border-bottom: 1px solid var(--geo-line);

.geo-page-shell {
	padding: 0 0 2.5rem;
}

.geo-page-shell .geo-page {
	padding-top: 0.5rem;
}

.geo-archive-count {
	margin: 0.25rem 0 0;
	color: var(--geo-muted);
	font-size: 0.9rem;
}

/* Legacy header leftovers (unused) */
.geo-header { display: none; }

.geo-logo-mark,
.geo-brand .custom-logo-link {
	font-weight: 700;
	font-size: 1.15rem;
	letter-spacing: -0.02em;
}

/* Hero — short, text only */
.geo-hero {
	position: relative;
	padding: 3rem 0 2rem;
	background: var(--geo-white);
	border-bottom: 1px solid var(--geo-line);
	overflow: hidden;
}

.geo-hero-media {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}

.geo-hero-media__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.geo-hero--has-image {
	min-height: min(68vh, 560px);
	display: flex;
	align-items: flex-end;
	padding: 4.5rem 0 2.75rem;
	border-bottom: 0;
	color: #fff;
}

.geo-hero--has-image::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(90deg, rgba(10, 18, 28, 0.78) 0%, rgba(10, 18, 28, 0.45) 48%, rgba(10, 18, 28, 0.2) 100%),
		linear-gradient(0deg, rgba(10, 18, 28, 0.55) 0%, transparent 55%);
}

.geo-hero--has-image .geo-hero-inner {
	position: relative;
	z-index: 2;
}

.geo-hero--has-image .geo-hero-brand,
.geo-hero--has-image .geo-hero-title {
	color: #fff;
}

.geo-hero--has-image .geo-hero-lead {
	color: rgba(255, 255, 255, 0.88);
	max-width: 36rem;
}

.geo-hero--has-image .geo-btn-secondary {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	border-color: rgba(255, 255, 255, 0.45);
}

.geo-hero--has-image .geo-btn-secondary:hover {
	background: rgba(255, 255, 255, 0.2);
}

.geo-hero-inner { max-width: 90%; }

.geo-hero-brand {
	margin: 0 0 0.5rem;
	font-size: var(--geo-display);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1;
}

.geo-hero-title {
	margin: 0 0 0.5rem;
	font-size: var(--geo-text-lg);
	font-weight: 600;
	line-height: 1.35;
}

.geo-hero-lead {
	margin: 0 0 1.25rem;
	color: var(--geo-muted);
	font-size: 0.98rem;
}

.geo-hero-actions { display: flex; gap: 0.75rem; }

.geo-page { padding: 2rem 0 3rem; max-width: 90%; }

.geo-page-shell > .geo-container.geo-page {
	width: 90%;
	max-width: 90%;
	box-sizing: border-box;
	margin-inline: auto;
}

/* Ferramentas / sorteios — desktop alinhado ao topbar (90%), não full-bleed tipo telemóvel */
body.page-slug-sorteios .geo-page-shell > .geo-container,
body.page-slug-estatisticas .geo-page-shell > .geo-container,
body.page-slug-apostas .geo-page-shell > .geo-container,
body.page-slug-verificar .geo-page-shell > .geo-container {
	width: 90%;
	max-width: 90%;
	margin-inline: auto;
	padding-inline: 0;
	box-sizing: border-box;
}

body.page-slug-sorteios .geo-page-shell > .geo-container.geo-page,
body.page-slug-estatisticas .geo-page-shell > .geo-container.geo-page,
body.page-slug-apostas .geo-page-shell > .geo-container.geo-page,
body.page-slug-verificar .geo-page-shell > .geo-container.geo-page {
	width: 90%;
	max-width: 90%;
}

body.page-slug-sorteios .geo-entry,
body.page-slug-sorteios .geo-entry-content,
body.page-slug-sorteios .totoloto-wrap {
	width: 100%;
	max-width: 100%;
}

/* Páginas de jogo (hub) — largura total para texto + estatísticas lado a lado */
body.page-slug-totoloto .geo-entry-content,
body.page-slug-euromilhoes .geo-entry-content,
body.page-slug-eurojackpot .geo-entry-content,
body.page-slug-eurodreams .geo-entry-content,
body.page-slug-totobola .geo-entry-content,
.geo-entry-content:has(.totoloto-hub) {
	width: 100%;
	max-width: none;
}

@media (max-width: 1100px) and (min-width: 861px) {
	.geo-nav-list > li > a {
		padding: 0.4rem 0.4rem;
		font-size: 0.8rem;
	}

	.geo-topbar-inner {
		grid-template-columns: auto auto minmax(0, 1fr) minmax(7rem, 12rem) auto;
		gap: 0.5rem 0.65rem;
	}
}

@media (max-width: 860px) {
	body.page-slug-sorteios .geo-page-shell > .geo-container,
	body.page-slug-estatisticas .geo-page-shell > .geo-container,
	body.page-slug-apostas .geo-page-shell > .geo-container,
	body.page-slug-verificar .geo-page-shell > .geo-container,
	body.page-slug-sorteios .geo-page-shell > .geo-container.geo-page,
	body.page-slug-estatisticas .geo-page-shell > .geo-container.geo-page,
	body.page-slug-apostas .geo-page-shell > .geo-container.geo-page,
	body.page-slug-verificar .geo-page-shell > .geo-container.geo-page {
		width: 100%;
		max-width: 100%;
		padding-inline: 1.5rem;
	}
}

@media (max-width: 720px) {
	body.page-slug-sorteios .geo-page-shell > .geo-container,
	body.page-slug-estatisticas .geo-page-shell > .geo-container,
	body.page-slug-apostas .geo-page-shell > .geo-container,
	body.page-slug-verificar .geo-page-shell > .geo-container {
		padding-inline: 1rem;
	}
}

.geo-entry-eyebrow {
	margin: 0 0 0.25rem;
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--geo-accent);
}

.geo-entry-title {
	margin: 0 0 1rem;
	font-size: clamp(1.5rem, 4vw, 1.9rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.15;
}

.geo-entry-content {
	font-size: 1rem;
	max-width: 60ch;
}

.geo-entry-content > *:first-child { margin-top: 0; }

.geo-entry-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-top: 1.5rem;
}

	.geo-hero { padding: 2rem 0 1.35rem; }
	.geo-hero--has-image { min-height: min(52vh, 420px); padding: 3rem 0 2rem; }
	.geo-hero-actions { flex-wrap: wrap; }
	.geo-partner-layout {
		grid-template-columns: 1fr;
	}
	.geo-partner-media {
		min-height: 220px;
		order: -1;
	}
	.geo-partner-media--has-image,
	.geo-partner-media__img {
		min-height: 220px;
		max-height: 320px;
	}
}


/* Motion */
@keyframes geo-fade-up {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}

.geo-hero-inner {
	animation: geo-fade-up 0.45s ease-out both;
}

.geo-service-card,
.geo-channel-card {
	transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.geo-service-card:hover,
.geo-channel-card:hover {
	transform: translateY(-1px);
}

.geo-partner-media__img {
	animation: geo-fade-up 0.5s ease-out 0.08s both;
}

.geo-partner-main {
	animation: geo-fade-up 0.45s ease-out both;
}

.geo-btn,
.geo-topbar-login,
.geo-partner-chip {
	transition: filter 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

/* —— Página institucional (one-pager) —— */
.geo-hero-jump {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem 1rem;
	margin-top: 1.35rem;
	font-size: var(--geo-text-sm);
}

.geo-hero-jump a {
	color: var(--geo-muted);
	border-bottom: 1px solid transparent;
}

.geo-hero-jump a:hover {

.totoloto-wrap {
	max-width: 52rem;
	margin: 0 auto;
}

.totoloto-form {
	display: grid;
	gap: 1rem;
	margin-bottom: 2rem;
}

.totoloto-form label {
	display: grid;
	gap: 0.35rem;
	font-weight: 600;
}

.totoloto-form input,
.totoloto-form select,
.totoloto-form textarea {
	font: inherit;
	padding: 0.6rem 0.75rem;
	border: 1px solid var(--geo-line);
	background: var(--geo-white);
	border-radius: 2px;
}

.totoloto-balls {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.totoloto-ball {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2rem;
	height: 2rem;
	padding: 0 0.35rem;
	border-radius: 999px;
	background: #163044;
	color: #fff;
	font-size: 0.85rem;
	font-weight: 600;
}

.totoloto-ball--extra {
	background: #e8a838;
	color: #0c1a24;
}

.totoloto-ball--hit {
	outline: 2px solid #2a9d5c;
	outline-offset: 2px;
}

.totoloto-report {
	font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
	font-size: 0.85rem;
	line-height: 1.45;
	background: #0c1a24;
	color: #e8dcc8;
	padding: 1.25rem;
	overflow-x: auto;
	white-space: pre-wrap;
}

.totoloto-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
}

.totoloto-table th,
.totoloto-table td {
	padding: 0.65rem 0.5rem;
	border-bottom: 1px solid var(--geo-line);
	text-align: left;
	vertical-align: top;
}

.totoloto-stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(3.5rem, 1fr));
	gap: 0.5rem;
}

.totoloto-stat {
	text-align: center;
	padding: 0.5rem;
	background: var(--geo-white);
	border: 1px solid var(--geo-line);
}

.totoloto-stat__n {
	font-weight: 700;
	display: block;
}

.totoloto-stat__c {
	font-size: 0.75rem;
	color: var(--geo-muted);
}

.totoloto-stats__intro {
	margin: 0 0 1rem;
	color: var(--geo-muted, #555);
	font-size: 0.92rem;
}

.totoloto-catalog__intro {
	margin: 0 0 1.5rem;
}

.totoloto-catalog__lead {
	margin: 0 0 1rem;
	max-width: 44rem;
	color: #444;
	font-size: 0.95rem;
	line-height: 1.5;
}

.totoloto-catalog__totals {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 1.75rem;
	margin: 0;
}

.totoloto-catalog__totals div {
	margin: 0;
}

.totoloto-catalog__totals dt {
	margin: 0;
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #777;
}

.totoloto-catalog__totals dd {
	margin: 0.15rem 0 0;
	font-size: 1.65rem;
	font-weight: 800;
	line-height: 1.1;
	color: #111;
}

.totoloto-catalog__games {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.totoloto-catalog-game {
	margin: 0;
	padding: 1rem 1.1rem 1.15rem;
	border: 1px solid var(--geo-line, #ddd);
	background: #fff;
}

.totoloto-catalog-game__head {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	flex-wrap: wrap;
	margin: 0 0 0.85rem;
}

.totoloto-catalog-game__logo {
	flex: 0 0 auto;
	display: inline-block;
	background-repeat: no-repeat;
	background-size: auto;
}

.totoloto-catalog-game__titles {
	min-width: 0;
	flex: 1 1 10rem;
}

.totoloto-catalog-game__name {
	margin: 0;
	font-size: 1.2rem;
	font-weight: 800;
	line-height: 1.2;
	color: #111;
}

.totoloto-catalog-game__link {
	font-size: 0.82rem;
	font-weight: 600;
}

.totoloto-catalog-game__kpis {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr));
	gap: 0.65rem 1rem;
	margin: 0 0 0.85rem;
}

.totoloto-catalog-game__kpis dt {
	margin: 0;
	font-size: 0.65rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #777;
}

.totoloto-catalog-game__kpis dd {
	margin: 0.1rem 0 0;
	font-size: 1.05rem;
	font-weight: 800;
	color: #111;
	line-height: 1.25;
}

.totoloto-catalog-game__dows {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem 0.65rem;
	margin: 0 0 0.85rem;
	font-size: 0.8rem;
	color: #555;
}

.totoloto-catalog-game__dows > span {
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	font-size: 0.65rem;
	color: #777;
}

.totoloto-catalog-game__dows abbr {
	text-decoration: none;
	padding: 0.15rem 0.4rem;
	border: 1px solid var(--geo-line, #ddd);
	background: #fafafa;
}

.totoloto-catalog-game__dows strong {
	font-weight: 800;
	margin-left: 0.2rem;
	color: #111;
}

.totoloto-catalog-game__extras {
	margin: 0 0 0.85rem;
	padding: 0 0 0 1.1rem;
	font-size: 0.85rem;
	line-height: 1.45;
	color: #333;
}

.totoloto-catalog-systems {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.85rem;
}

.totoloto-catalog-systems caption {
	text-align: left;
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #777;
	margin: 0 0 0.4rem;
}

.totoloto-catalog-systems th,
.totoloto-catalog-systems td {
	padding: 0.5rem 0.4rem;
	border-bottom: 1px solid var(--geo-line, #eee);
	text-align: left;
	vertical-align: top;
}

.totoloto-catalog-systems thead th {
	font-size: 0.68rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #777;
	font-weight: 700;
}

.totoloto-catalog-systems tbody th {
	font-weight: 700;
	color: #111;
}

.totoloto-catalog-systems tbody th small {
	display: block;
	margin-top: 0.15rem;
	font-weight: 400;
	color: #666;
	font-size: 0.78rem;
}

.totoloto-catalog-systems .totoloto-resumo__badge {
	margin-left: 0.35rem;
	vertical-align: middle;
}

.totoloto-catalog-systems tr.is-current th,
.totoloto-catalog-systems tr.is-current td {
	background: #fffaf6;
}

@media (max-width: 720px) {
	.totoloto-catalog-game {
		padding: 0.85rem 0.75rem 1rem;
	}

	.totoloto-catalog-systems {
		display: block;
		overflow-x: auto;
	}
}

/* Game hub — full-width tabs, panel content below */
.totoloto-hub {
	display: block;
	width: 100%;
	max-width: none;
	box-sizing: border-box;
}

.totoloto-hub__panel--resumo {
	max-width: none;
	width: 100%;
}

.totoloto-resumo__title {
	margin: 0 0 0.5rem;
	font-size: 1.25rem;
	font-weight: 800;
	color: #111;
}

.totoloto-resumo__lead {
	margin: 0 0 1.25rem;
	max-width: 52rem;
	font-size: 0.92rem;
	line-height: 1.5;
	color: #444;
}

.totoloto-resumo__eras {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem 1.15rem;
}

.totoloto-resumo__era {
	margin: 0;
	padding: 0.75rem 0.85rem;
	min-width: 0;
	border: 1px solid var(--geo-line, #ddd);
	border-left: 3px solid #c3c4c7;
	background: #fafafa;
}

.totoloto-resumo__era.is-current {
	border-left-color: var(--geo-accent, #c45c26);
	background: #fff;
}

.totoloto-resumo__era-head {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	margin-bottom: 0.5rem;
	flex-wrap: wrap;
}

.totoloto-resumo__era-index {
	flex: 0 0 auto;
	width: 1.35rem;
	height: 1.35rem;
	border-radius: 50%;
	background: #1a1a1a;
	color: #fff;
	font-size: 0.7rem;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.totoloto-resumo__era-titles {
	flex: 1 1 auto;
	min-width: 0;
}

.totoloto-resumo__era-label {
	margin: 0;
	font-size: 0.92rem;
	font-weight: 800;
	color: #111;
	line-height: 1.25;
}

.totoloto-resumo__era-period {
	margin: 0.15rem 0 0;
	font-size: 0.75rem;
	color: #666;
}

.totoloto-resumo__badge {
	flex: 0 0 auto;
	padding: 0.12rem 0.4rem;
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--geo-accent, #c45c26);
	border: 1px solid var(--geo-accent, #c45c26);
	background: #fff;
}

.totoloto-resumo__meta {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	margin: 0 0 0.55rem;
}

.totoloto-resumo__meta dt {
	margin: 0;
	font-size: 0.65rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #777;
}

.totoloto-resumo__meta dd {
	margin: 0.05rem 0 0;
	font-size: 0.82rem;
	color: #222;
	line-height: 1.35;
}

.totoloto-resumo__rules,
.totoloto-resumo__odds,
.totoloto-resumo__note {
	margin: 0 0 0.45rem;
	font-size: 0.8rem;
	line-height: 1.45;
	color: #333;
}

.totoloto-resumo__note {
	color: #666;
	font-size: 0.75rem;
}

.totoloto-resumo__prizes {
	margin: 0 0 0.45rem;
	padding: 0 0 0 1rem;
	font-size: 0.78rem;
	line-height: 1.4;
	color: #333;
}

.totoloto-resumo__simple {
	padding: 0.85rem 1rem;
	border: 1px solid var(--geo-line, #ddd);
	background: #fff;
	max-width: 36rem;
}

.totoloto-resumo__simple:has(.totoloto-resumo__how) {
	max-width: 42rem;
}

.totoloto-resumo__how {
	margin: 0.75rem 0 0;
	font-size: 0.82rem;
	line-height: 1.5;
	color: #333;
}

.totoloto-resumo__how p,
.totoloto-resumo__how ul {
	margin: 0 0 0.55rem;
}

.totoloto-resumo__how ul {
	padding: 0 0 0 1.15rem;
}

.totoloto-resumo__how li {
	margin: 0 0 0.2rem;
}

.totoloto-resumo__how-title {
	margin: 0.85rem 0 0.35rem;
	font-size: 0.88rem;
	font-weight: 700;
	line-height: 1.3;
	color: #222;
}

.totoloto-resumo__legend {
	margin: 0 0 0.7rem;
	font-size: 0.78rem;
	color: #555;
}

.totoloto-resumo__how a {
	color: inherit;
	text-decoration: underline;
}

.totoloto-hub__tabs.totoloto-game-tabs {
	width: 100%;
	min-width: 100%;
	max-width: 100%;
	margin: 0 0 1rem;
	padding: 6px 0 0;
	row-gap: 0.2rem;
	overflow: visible;
	overflow-x: visible;
	scrollbar-width: none;
}

.totoloto-hub__tabs.totoloto-game-tabs::-webkit-scrollbar {
	display: none;
	width: 0;
	height: 0;
}

.totoloto-hub__tabs .totoloto-game-tabs__item,
.totoloto-hub__tabs .totoloto-game-tabs__toggle {
	margin-left: 0.28em;
	padding: 3px 8px;
	font-size: 12px;
	line-height: 1.35;
}

.totoloto-hub__tabs .totoloto-game-tabs__item:first-child {
	margin-left: 0;
}

.totoloto-hub__tabs .totoloto-game-tabs__item.is-active,
.totoloto-hub__tabs .totoloto-game-tabs__toggle.is-active {
	padding-bottom: 4px;
}

.totoloto-hub__tabs .totoloto-game-tabs__dropdown {
	margin-left: 0.28em;
}

.totoloto-hub__tabs .totoloto-game-tabs__dropdown .totoloto-game-tabs__toggle {
	font-size: 12px;
	line-height: 1.35;
}

.totoloto-hub__panels {
	width: 100%;
}

.totoloto-hub__panel {
	display: block;
	width: 100%;
}

.totoloto-hub__panel[hidden] {
	display: none !important;
}

.totoloto-hub__stats {
	min-width: 0;
	max-width: 42rem;
	justify-self: stretch;
}

.totoloto-stats--compact {
	margin: 0;
}

.totoloto-stats--compact .totoloto-boletim {
	max-width: none;
	margin-bottom: 1rem;
}

.totoloto-stats__more {
	margin: 0.35rem 0 0;
	font-size: 0.92rem;
}

@media (max-width: 900px) {
	.totoloto-hub__body {
		grid-template-columns: 1fr;
	}

	.totoloto-hub__copy {
		max-width: none;
	}

	.totoloto-hub__stats {
		max-width: none;
	}
}

.totoloto-oddeven {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.5rem 1.25rem;
	align-items: start;
	margin-top: 0;
	padding-top: 0;
	border-top: none;
	scroll-margin-top: 5.5rem;
	width: 100%;
}

.totoloto-oddeven__visual {
	min-width: 0;
	grid-column: 1;
}

.totoloto-oddeven__copy {
	min-width: 0;
	max-width: 100%;
	overflow: hidden;
	grid-column: 2 / span 3;
	display: flex;
	flex-direction: column;
	gap: 1.75rem;
}

.totoloto-oe-summary {
	grid-column: 1 / -1;
	margin: 0;
	padding: 1.25rem 0 0;
	border-top: 1px solid var(--geo-line, #ddd);
	max-width: none;
}

.totoloto-oe-summary__title {
	margin: 0 0 0.65rem;
	font-size: 1.05rem;
	font-weight: 700;
	color: #111;
	grid-column: 1 / -1;
}

.totoloto-oe-summary__theory {
	margin: 0 0 1rem;
	font-size: 0.88rem;
	line-height: 1.55;
	color: #333;
}

.totoloto-oe-summary__list {
	margin: 0 0 1rem;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem 1.15rem;
}

.totoloto-oe-summary__item {
	margin: 0;
	padding: 0;
	min-width: 0;
}

.totoloto-oe-summary__fig {
	display: block;
	font-size: 1rem;
	font-weight: 800;
	color: #111;
	margin-bottom: 0.15rem;
}

.totoloto-oe-summary__fig-desc {
	display: block;
	margin: 0 0 0.55rem;
	font-size: 0.8rem;
	color: #666;
}

.totoloto-oe-summary__item p,
.totoloto-oe-summary__note {
	margin: 0 0 0.55rem;
	font-size: 0.82rem;
	line-height: 1.5;
	color: #333;
}

.totoloto-oe-summary__item p:last-child {
	margin-bottom: 0;
}

.totoloto-oe-summary__item p.totoloto-oe-summary__warn,
.totoloto-oe-summary__item p.totoloto-oe-summary__warn .totoloto-oe-summary__attn {
	color: #c62828;
	font-weight: 700;
}

.totoloto-oe-summary__item.is-delay .totoloto-oe-summary__fig {
	color: #c62828;
}

.totoloto-oe-summary__item.is-excess .totoloto-oe-summary__fig {
	color: #1565c0;
}

.totoloto-oe-summary__item p.totoloto-oe-summary__excess {
	color: #1565c0;
	font-weight: 700;
}

.totoloto-oe-summary__note {
	margin-bottom: 0;
	font-size: 0.8rem;
	color: var(--geo-muted, #666);
}

.totoloto-oddeven__grid {
	display: grid;
	grid-template-columns: repeat(var(--oe-cols, 7), minmax(0, 1fr));
	gap: 0.2rem;
	width: 100%;
	max-width: 100%;
	margin: 0 0 1rem;
	padding: 0.55rem;
	box-sizing: border-box;
	border: 1px solid var(--geo-line, #ddd);
	background: #fafafa;
	font-variant-numeric: tabular-nums;
	line-height: 1;
	align-items: center;
	justify-items: center;
}

.totoloto-oddeven__grid--cols-7 {
	grid-template-rows: repeat(7, minmax(0, 1fr));
	aspect-ratio: 1 / 1;
}

/* Euromilhões: 6×~9 — boletim portrait (mais alto que largo). */
.totoloto-oddeven__grid--cols-6 {
	width: min(100%, 11.5rem);
	max-width: 11.5rem;
	aspect-ratio: 2 / 3;
	grid-auto-rows: 1fr;
	align-content: start;
	gap: 0.14rem;
	padding: 0.4rem;
}

.totoloto-oddeven__grid--cols-6 .totoloto-oddeven__n {
	width: 100%;
	aspect-ratio: 1 / 1;
	min-width: 0;
	min-height: 0;
	box-sizing: border-box;
}

.totoloto-oddeven__grid--cols-8 {
	width: min(100%, 13.5rem);
	max-width: 13.5rem;
	aspect-ratio: 4 / 5;
	grid-auto-rows: 1fr;
	align-content: start;
}

/* Euromilhões: coluna visual = largura do boletim (chaves 1–50). */
.totoloto-oddeven--euromilhoes {
	grid-template-columns: 11.5rem minmax(0, 1fr);
}

.totoloto-oddeven--euromilhoes .totoloto-oddeven__visual {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: 11.5rem;
	max-width: 11.5rem;
	grid-column: 1;
}

.totoloto-oddeven--euromilhoes .totoloto-oddeven__copy {
	grid-column: 2;
}

.totoloto-oddeven--euromilhoes .totoloto-oddeven__extra--stars {
	width: min(100%, 11.5rem);
	max-width: 11.5rem;
	aspect-ratio: auto;
	grid-auto-rows: 1fr;
	gap: 0.14rem;
	padding: 0.4rem;
}

.totoloto-oddeven--euromilhoes .totoloto-oddeven__extra--stars .totoloto-oddeven__n--star {
	width: 100%;
	aspect-ratio: 1 / 1;
	min-width: 0;
	min-height: 0;
	font-size: 0.68rem;
}

.totoloto-oddeven__extra-lab {
	margin: 0 0 0.35rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #666;
}

.totoloto-oddeven__extra {
	display: grid;
	grid-template-columns: repeat(var(--oe-extra-cols, 3), minmax(0, 1fr));
	gap: 0.25rem;
	width: 100%;
	max-width: 100%;
	margin: 0 0 1rem;
	padding: 0.45rem;
	box-sizing: border-box;
	border: 1px solid var(--geo-line, #ddd);
	background: #fff;
	font-variant-numeric: tabular-nums;
	align-items: center;
	justify-items: center;
}

.totoloto-oddeven__extra--stars {
	max-width: none;
}

.totoloto-oddeven__n--star {
	width: 1.85em;
	height: 1.85em;
	border-radius: 0;
	clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
	border: 0 none;
	font-size: 0.72rem;
	font-weight: 700;
}

.totoloto-oddeven--euromilhoes .totoloto-oddeven__n:not(.totoloto-oddeven__n--star) {
	border: 1px solid #c62828;
	background: #fff;
	color: #c62828;
	border-radius: 2px;
	font-size: 0.68rem;
}

.totoloto-oddeven--euromilhoes .totoloto-oddeven__n.is-odd:not(.totoloto-oddeven__n--star) {
	font-weight: 800;
	background: #fff5f5;
}

.totoloto-oddeven--euromilhoes .totoloto-oddeven__n.is-even:not(.totoloto-oddeven__n--star) {
	font-weight: 500;
	color: #e57373;
	border-color: #ef9a9a;
}

.totoloto-oddeven--euromilhoes .totoloto-oddeven__n--star {
	background: #c62828;
	color: #fff;
}

.totoloto-oddeven--euromilhoes .totoloto-oddeven__n--star.is-even {
	background: #ef9a9a;
	color: #fff;
}

/* Eurojackpot: grelha 5/50 + números Euro (círculos, não estrelas). */
.totoloto-oddeven--eurojackpot {
	grid-template-columns: 11.5rem minmax(0, 1fr);
}

.totoloto-oddeven--eurojackpot .totoloto-oddeven__visual {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: 11.5rem;
	max-width: 11.5rem;
	grid-column: 1;
}

.totoloto-oddeven--eurojackpot .totoloto-oddeven__copy {
	grid-column: 2;
}

.totoloto-oddeven--eurojackpot .totoloto-oddeven__extra {
	width: min(100%, 11.5rem);
	max-width: 11.5rem;
}

.totoloto-oddeven--eurojackpot .totoloto-oddeven__n {
	border: 1px solid #d97706;
	background: #fff;
	color: #d97706;
	border-radius: 2px;
	font-size: 0.68rem;
}

.totoloto-oddeven--eurojackpot .totoloto-oddeven__n.is-odd {
	font-weight: 800;
	background: #fff8eb;
}

.totoloto-oddeven--eurojackpot .totoloto-oddeven__n.is-even {
	font-weight: 500;
	color: #f59e0b;
	border-color: #fcd34d;
}

.totoloto-oddeven--eurojackpot .totoloto-oddeven__extra .totoloto-oddeven__n {
	border-color: #1a6f8f;
	color: #1a6f8f;
	background: #f0f9ff;
}

.totoloto-oddeven--eurodreams .totoloto-oddeven__extra {
	max-width: 14rem;
}

.totoloto-oddeven__n {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	text-align: center;
	font-size: clamp(0.72rem, 2vw, 0.9rem);
}

.totoloto-oddeven__n.is-odd {
	font-weight: 800;
	color: #1a1a1a;
}

.totoloto-oddeven__n.is-even {
	font-weight: 400;
	color: #b0b0b0;
}

.totoloto-oddeven__n.is-width-mark {
	font-weight: 800;
	color: #1a1a1a;
	font-size: 1.05em;
}

/* 7 Diagonal A/B — color chart (wrap groups) */
.totoloto-oddeven--diaga .totoloto-oddeven__grid,
.totoloto-oddeven--diagb .totoloto-oddeven__grid {
	gap: 2px;
	background: #c8c8c8;
	border: 1px solid #2a2a2a;
	padding: 2px;
}

.totoloto-oddeven--diaga .totoloto-oddeven__n.is-diag,
.totoloto-oddeven--diagb .totoloto-oddeven__n.is-diag {
	font-weight: 700;
	background: #fff;
	min-width: 1.75em;
	text-align: center;
}

.totoloto-oddeven--diaga .totoloto-oddeven__n.is-diag-0,
.totoloto-oddeven--diagb .totoloto-oddeven__n.is-diag-0 { color: #1a1a1a; background: #ffe566; }
.totoloto-oddeven--diaga .totoloto-oddeven__n.is-diag-1,
.totoloto-oddeven--diagb .totoloto-oddeven__n.is-diag-1 { color: #1a1a1a; background: #7ec8e3; }
.totoloto-oddeven--diaga .totoloto-oddeven__n.is-diag-2,
.totoloto-oddeven--diagb .totoloto-oddeven__n.is-diag-2 { color: #1a1a1a; background: #f4a6c9; }
.totoloto-oddeven--diaga .totoloto-oddeven__n.is-diag-3,
.totoloto-oddeven--diagb .totoloto-oddeven__n.is-diag-3 { color: #1a1a1a; background: #9fd89f; }
.totoloto-oddeven--diaga .totoloto-oddeven__n.is-diag-4,
.totoloto-oddeven--diagb .totoloto-oddeven__n.is-diag-4 { color: #1a1a1a; background: #f5b87a; }
.totoloto-oddeven--diaga .totoloto-oddeven__n.is-diag-5,
.totoloto-oddeven--diagb .totoloto-oddeven__n.is-diag-5 { color: #1a1a1a; background: #c5b0e0; }
.totoloto-oddeven--diaga .totoloto-oddeven__n.is-diag-6,
.totoloto-oddeven--diagb .totoloto-oddeven__n.is-diag-6 { color: #1a1a1a; background: #a8d5d5; }

.totoloto-oddeven--diaga .totoloto-oddeven__n.is-diag-main,
.totoloto-oddeven--diagb .totoloto-oddeven__n.is-diag-main {
	font-weight: 800;
	box-shadow: inset 0 0 0 2px #1a1a1a;
}

/* Último Dígito — reference chart */
.totoloto-lastdigit-chart {
	width: 100%;
	margin: 0 0 1rem;
	border: 1px solid #2a2a2a;
	background: #fff;
	font-variant-numeric: tabular-nums;
}

.totoloto-lastdigit-chart__caption {
	padding: 0.45rem 0.55rem;
	font-weight: 700;
	font-size: 0.92rem;
	border-bottom: 1px solid #2a2a2a;
	text-align: center;
}

.totoloto-lastdigit-chart__row {
	display: grid;
	grid-template-columns: 1.6rem repeat(5, minmax(0, 1fr));
	gap: 0;
	border-bottom: 1px solid #d0d0d0;
	align-items: center;
	min-height: 1.7rem;
}

.totoloto-lastdigit-chart__row:last-child {
	border-bottom: 0;
}

.totoloto-lastdigit-chart__digit {
	font-weight: 800;
	text-align: center;
	color: #1a1a1a;
	border-right: 1px solid #d0d0d0;
	padding: 0.15rem 0;
}

.totoloto-lastdigit-chart__n {
	text-align: center;
	font-weight: 600;
	font-size: 0.92rem;
	color: #1a1a1a;
	padding: 0.15rem 0.1rem;
}

.totoloto-lastdigit-chart--dezenas .totoloto-lastdigit-chart__row {
	grid-template-columns: 1.6rem repeat(10, minmax(0, 1fr));
}

.totoloto-lastdigit-chart--duzias .totoloto-lastdigit-chart__row {
	grid-template-columns: 1.6rem repeat(13, minmax(0, 1fr));
}

.totoloto-lastdigit-chart__n.is-empty {
	visibility: hidden;
}

/* Por chave — multi-filter profile */
.totoloto-chave {
	width: 100%;
	/* Full-width container so @container queries don't collapse in flex shrink. */
	container-type: inline-size;
	container-name: chave-balls;
}

.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 var(--geo-line, #ddd);
	border-radius: 4px;
	max-width: 52rem;
}

.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%;
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-x: contain;
	-webkit-overflow-scrolling: touch;
	touch-action: pan-x pan-y;
}

.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%;
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-x: contain;
	-webkit-overflow-scrolling: touch;
	touch-action: pan-x pan-y;
}

.totoloto-chave-head {
	margin: 0 0 1.15rem;
}

#totoloto-chaves-topo,
#totoloto-chaves-teoria,
.totoloto-chaves-zone-panel {
	scroll-margin-top: var(--geo-topbar-h, 80px);
}

body.admin-bar #totoloto-chaves-topo,
body.admin-bar #totoloto-chaves-teoria,
body.admin-bar .totoloto-chaves-zone-panel {
	scroll-margin-top: calc(32px + var(--geo-topbar-h, 80px));
}

@media screen and (max-width: 782px) {
	body.admin-bar #totoloto-chaves-topo,
	body.admin-bar #totoloto-chaves-teoria,
	body.admin-bar .totoloto-chaves-zone-panel {
		scroll-margin-top: calc(46px + var(--geo-topbar-h, 80px));
	}
}

.totoloto-chave-head__main {
	min-width: 22rem;
	container-type: inline-size;
	container-name: chave-head-main;
}

.totoloto-chave-head__side {
	min-width: 18rem;
	padding-top: 0.15rem;
	container-type: inline-size;
	container-name: chave-head-side;
}

.totoloto-chave-head .totoloto-chave-banner {
	max-width: none;
	margin-bottom: 0.75rem;
}

.totoloto-chave-head .totoloto-chave-balls-stack,
.totoloto-chave-head .totoloto-chave-balls-block {
	width: 100%;
	margin-bottom: 0;
}

.totoloto-chave-head .totoloto-chaves-layers {
	margin: 0 0 0.35rem;
}

.totoloto-chaves-draw-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem 0.55rem;
	margin: 0.75rem 0 0;
}

.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;
}

.totoloto-chaves-zone-hl--head .totoloto-chave-hl__btn {
	padding: 0.28rem 0.5rem;
	font-size: 0.78rem;
}

.totoloto-chaves-draw-summary {
	margin: 0.55rem 0 0;
	padding: 0.65rem 0.75rem;
	border: 1px solid #d8dee3;
	border-radius: 6px;
	background: #f8fafb;
}

.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;
}

.totoloto-chaves-draw-summary__body {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.totoloto-chaves-draw-summary__line {
	margin: 0;
	font-size: 0.82rem;
	line-height: 1.45;
	color: #2c3e50;
}

/* Only show summary lines for active U/Q/F/A buttons. */
.totoloto-chave--chaves .totoloto-chaves-draw-summary__line--last,
.totoloto-chave--chaves .totoloto-chaves-draw-summary__line--hot,
.totoloto-chave--chaves .totoloto-chaves-draw-summary__line--cold,
.totoloto-chave--chaves .totoloto-chaves-draw-summary__line--late {
	display: none;
}

.totoloto-chave--chaves.is-hl-last .totoloto-chaves-draw-summary__line--last,
.totoloto-chave--chaves.is-hl-hot .totoloto-chaves-draw-summary__line--hot,
.totoloto-chave--chaves.is-hl-cold .totoloto-chaves-draw-summary__line--cold,
.totoloto-chave--chaves.is-hl-late .totoloto-chaves-draw-summary__line--late {
	display: block;
}

.totoloto-chave--chaves:not(.is-hl-last):not(.is-hl-hot):not(.is-hl-cold):not(.is-hl-late) .totoloto-chaves-draw-summary {
	display: none;
}

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

.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;
}

.totoloto-chaves-draw-summary__pool {
	font-weight: 600;
}

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

.totoloto-chaves-draw-summary__pool-flag--over {
	background: #ffe0b2;
	color: #e65100;
}

.totoloto-chaves-draw-summary__pool-flag--under {
	background: #e3f2fd;
	color: #1565c0;
}

.totoloto-chaves-draw-summary__past {
	display: inline;
	margin-left: 0.2em;
	font-weight: 600;
	color: #4a148c;
}

.totoloto-chaves-draw-summary__past-more {
	opacity: 0.75;
	font-weight: 600;
}

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

.totoloto-chaves-draw-summary__gap--green {
	background: #c8e6c9;
	color: #1b5e20;
}

.totoloto-chaves-draw-summary__gap--yellow {
	background: #fff59d;
	color: #6d4c00;
}

.totoloto-chaves-draw-summary__gap--red {
	background: #ffcdd2;
	color: #b71c1c;
}

.totoloto-chaves-draw-summary__rec {
	display: inline-block;
	margin-left: 0.15em;
	font-weight: 600;
}

.totoloto-chaves-draw-summary__rec--atraso {
	color: #1b5e20;
}

.totoloto-chaves-draw-summary__rec--avanço {
	color: #b71c1c;
}

.totoloto-chaves-draw-summary__rec--equilibrio {
	color: #455a64;
}

.totoloto-chaves-draw-summary .totoloto-chaves-n {
	font-weight: 700;
}

.totoloto-chaves-draw-summary__vertex-out {
	color: #c62828;
	font-weight: 700;
}

.totoloto-chave-hl__btn--teoria {
	text-decoration: none;
	background: #163044;
	border-color: #163044;
	color: #fff;
}

.totoloto-chave-hl__btn--teoria:hover {
	background: #0f2230;
	border-color: #0f2230;
	color: #fff;
}

.totoloto-chaves-draw-nav__btn,
.totoloto-chaves-draw-nav__latest,
.totoloto-chaves-draw-nav__clear {
	padding: 0.28rem 0.7rem;
	border: 1px solid var(--geo-line, #ddd);
	border-radius: 3px;
	background: #fff;
	color: inherit;
	font-size: 0.85rem;
	font-weight: 600;
	text-decoration: none;
	line-height: 1.3;
	cursor: pointer;
	font-family: inherit;
}

.totoloto-chaves-draw-nav__btn,
.totoloto-chaves-draw-nav__latest {
	display: inline-block;
}

.totoloto-chaves-draw-nav__btn:hover,
.totoloto-chaves-draw-nav__latest:hover,
.totoloto-chaves-draw-nav__clear.is-on:hover {
	border-color: #888;
	background: #f6f7f7;
}

.totoloto-chaves-draw-nav__clear {
	display: none;
	margin-left: auto;
}

.totoloto-chaves-draw-nav__clear.is-on {
	display: inline-block;
}

.totoloto-chaves-draw-nav__btn.is-disabled {
	opacity: 0.45;
	cursor: default;
}

.totoloto-chaves-draw-nav__now {
	font-size: 0.85rem;
	font-weight: 700;
	color: #333;
}

.totoloto-chaves-draw-nav__latest {
	margin-left: 0.15rem;
}

.totoloto-chaves-prizes-wrap {
	min-width: 0;
	max-width: 100%;
}

.totoloto-chaves-prizes {
	width: 100%;
	max-width: 100%;
	border-collapse: collapse;
	table-layout: auto;
	font-size: clamp(0.68rem, 2.35cqi, 0.8rem);
	line-height: 1.25;
}

.totoloto-chaves-prizes caption {
	caption-side: top;
	text-align: left;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #444;
	margin: 0 0 0.4rem;
}

.totoloto-chaves-prizes th,
.totoloto-chaves-prizes td {
	padding: 0.2rem 0.32rem;
	border: 1px solid var(--geo-line, #ddd);
	white-space: nowrap;
}

.totoloto-chaves-prizes thead th {
	background: #f6f7f7;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0;
}

.totoloto-chaves-prizes thead th abbr {
	text-decoration: none;
	cursor: help;
}

.totoloto-chaves-prizes tbody th {
	text-align: left;
	font-weight: 600;
}

.totoloto-chaves-prizes__n,
.totoloto-chaves-prizes__amt {
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.totoloto-chaves-prizes__more {
	margin: 0.45rem 0 0;
	font-size: 0.82rem;
}

.totoloto-chaves-market {
	display: none;
	margin-top: 0.75rem;
}

.totoloto-chave--chaves.is-hl-last .totoloto-chaves-market,
.totoloto-chave--chaves.is-hl-hot .totoloto-chaves-market,
.totoloto-chave--chaves.is-hl-cold .totoloto-chaves-market,
.totoloto-chave--chaves.is-hl-late .totoloto-chaves-market {
	display: block;
}

.totoloto-chaves-market[hidden] {
	display: none !important;
}

.totoloto-chaves-market__q {
	font-size: 0.9rem;
}

.totoloto-chaves-market__body {
	padding-top: 0.15rem;
}

.totoloto-chaves-market__name {
	margin: 0 0 0.35rem;
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1.25;
}

.totoloto-chaves-market__blurb {
	margin: 0 0 0.55rem;
	font-size: 0.84rem;
	line-height: 1.4;
	color: color-mix(in srgb, currentColor 88%, transparent);
}

.totoloto-chaves-market__links {
	margin: 0.65rem 0 0;
	font-size: 0.82rem;
}

.totoloto-rss-news {
	margin: 0.35rem 0 0;
}

.totoloto-rss-news__heading {
	margin: 0 0 0.35rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.totoloto-rss-news__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.totoloto-rss-news__item {
	margin: 0 0 0.65rem;
	padding: 0 0 0.55rem;
	border-bottom: 1px solid color-mix(in srgb, currentColor 10%, transparent);
}

.totoloto-rss-news__item:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: 0;
}

.totoloto-rss-news__title {
	display: block;
	font-size: 0.88rem;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
}

.totoloto-rss-news__title:hover,
.totoloto-rss-news__title:focus {
	text-decoration: underline;
}

.totoloto-rss-news__date {
	display: block;
	margin-top: 0.15rem;
	font-size: 0.72rem;
	opacity: 0.7;
}

.totoloto-rss-news__summary {
	margin: 0.25rem 0 0;
	font-size: 0.8rem;
	line-height: 1.4;
	color: color-mix(in srgb, currentColor 86%, transparent);
}

.totoloto-rss-news__empty {
	margin: 0.25rem 0 0;
	font-size: 0.82rem;
	opacity: 0.8;
}

@media (max-width: 800px) {
	.totoloto-chave-head,
	.totoloto-chaves-split {
		grid-template-columns: max-content max-content;
		justify-content: start;
		width: 100%;
		max-width: 100%;
	}
}

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

.totoloto-chave-banner__logo {
	display: block;
	flex: 0 0 auto;
	background-repeat: no-repeat;
	background-size: auto;
	text-indent: -9999px;
	overflow: hidden;
}

.totoloto-chave-banner__logo--contain {
	background-size: contain;
	background-repeat: no-repeat;
}

.totoloto-chave-banner__meta {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	min-width: 0;
}

.totoloto-chave-banner__title {
	margin: 0;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.45;
	color: #585858;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.totoloto-chave-banner__game {
	font-size: 0.75rem;
	color: #646970;
}

.totoloto-chave-banner__official {
	color: inherit;
}

.totoloto-chave-banner__stake {
	font-size: 0.75rem;
	font-weight: 700;
	color: #1565c0;
}

/* Totobola — jogos + 1/X/2 + prognóstico (2 linhas) */
.totoloto-chave--totobola {
	--tb-pick: 1.35rem;
	--tb-red: #e57373;
	--tb-red-line: #ef9a9a;
	--tb-red-bg: #fff5f5;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.totoloto-chave--totobola .totoloto-lotaria-layout {
	display: block;
	grid-template-columns: none;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	overflow: visible;
	box-sizing: border-box;
}

.totoloto-chave--totobola .totoloto-chave-banner {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	grid-template-areas:
		"logo meta"
		"stake stake";
	align-items: center;
	column-gap: 1rem;
	row-gap: 0.35rem;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.totoloto-chave--totobola .totoloto-chave-banner__logo {
	grid-area: logo;
	justify-self: start;
	align-self: start;
}

.totoloto-chave--totobola .totoloto-chave-banner__meta {
	grid-area: meta;
	min-width: 0;
}

.totoloto-chave--totobola .totoloto-chave-banner__stake {
	grid-area: stake;
	justify-self: start;
	margin: 0;
	padding: 0;
	max-width: 100%;
}

/* Sistemas — abas sob o banner */
.totoloto-tb-sys-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin: 0.65rem 0 0.85rem;
	padding: 0.15rem 0 0;
	border-bottom: 2px solid var(--geo-line, #ddd);
}

.totoloto-tb-sys-tabs__btn {
	appearance: none;
	-webkit-appearance: none;
	margin: 0 0 -2px;
	padding: 0.5rem 0.95rem;
	border: 1px solid transparent;
	border-bottom: 2px solid transparent;
	border-radius: 4px 4px 0 0;
	background: #f6f7f7;
	color: #1d2327;
	font: inherit;
	font-size: 0.84rem;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
}

.totoloto-tb-sys-tabs__btn:hover,
.totoloto-tb-sys-tabs__btn:focus-visible {
	color: #1565c0;
	outline: none;
	background: #fff;
}

.totoloto-tb-sys-tabs__btn.is-active {
	background: #fff;
	border-color: var(--geo-line, #ddd);
	border-bottom-color: #fff;
	color: #1565c0;
	box-shadow: 0 -1px 0 #fff;
}

.totoloto-tb-sys-panel {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.totoloto-tb-sys-panel[hidden] {
	display: none !important;
}

.totoloto-tb-sys__probs {
	margin: 0 0 0.85rem;
	padding: 0.65rem 0.75rem;
	border: 1px solid var(--geo-line, #ddd);
	border-radius: 4px;
	background: #fafbfc;
}

.totoloto-tb-sys__probs-lead {
	margin: 0 0 0.35rem;
	font-size: 0.8rem;
	font-weight: 700;
	line-height: 1.35;
	color: #1d2327;
}

.totoloto-tb-sys__probs-list {
	margin: 0;
	padding: 0 0 0 1.1rem;
	font-size: 0.76rem;
	line-height: 1.4;
	color: #50575e;
}

.totoloto-tb-sys__probs-list li {
	margin: 0.2rem 0;
}

.totoloto-tb-mestre {
	display: grid;
	gap: 1rem;
	margin: 0 0 1rem;
}

.totoloto-tb-mestre__bio {
	padding: 1rem 1.1rem 1.15rem;
	border: 1px solid var(--geo-line, #ddd);
	border-radius: 4px;
	background:
		linear-gradient(165deg, #f7fafc 0%, #fff 55%),
		repeating-linear-gradient(
			-12deg,
			transparent,
			transparent 11px,
			rgba(21, 101, 192, 0.03) 11px,
			rgba(21, 101, 192, 0.03) 12px
		);
}

.totoloto-tb-mestre__eyebrow {
	margin: 0 0 0.25rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #1565c0;
}

.totoloto-tb-mestre__name {
	margin: 0;
	font-size: 1.35rem;
	font-weight: 800;
	line-height: 1.2;
	color: #1d2327;
}

.totoloto-tb-mestre__aka {
	margin: 0.25rem 0 0.75rem;
	font-size: 0.84rem;
	font-weight: 600;
	color: #50575e;
}

.totoloto-tb-mestre__body p {
	margin: 0 0 0.7rem;
	font-size: 0.9rem;
	line-height: 1.55;
	color: #2c3338;
}

.totoloto-tb-mestre__body p:last-child {
	margin-bottom: 0;
}

.totoloto-tb-mestre__link a {
	font-weight: 700;
	color: #1565c0;
	text-decoration: underline;
}

.totoloto-tb-mestre__sysnote {
	padding: 0.7rem 0.85rem;
	border-left: 3px solid #1565c0;
	background: #f0f6fc;
	font-size: 0.8rem;
	line-height: 1.45;
	color: #1d2327;
}

.totoloto-tb-mestre__sysnote strong {
	display: block;
	margin-bottom: 0.25rem;
}

.totoloto-tb-mestre__sysnote p {
	margin: 0;
}

.totoloto-tb-mestre__tips {
	padding: 0.9rem 1rem;
	border: 1px dashed var(--geo-line, #c3c4c7);
	border-radius: 4px;
	background: #fff;
}

.totoloto-tb-mestre__tips-title {
	margin: 0 0 0.45rem;
	font-size: 0.95rem;
	font-weight: 700;
}

.totoloto-tb-mestre__tips-empty {
	margin: 0;
	font-size: 0.86rem;
	line-height: 1.45;
	color: #646970;
}

.totoloto-tb-mestre__tips-note {
	margin-top: 0.65rem;
}

.totoloto-tb-mestre__scroll {
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.totoloto-tb-mestre-sheet {
	width: 100%;
	min-width: 28rem;
	border-collapse: collapse;
	font-size: 0.86rem;
}

.totoloto-tb-mestre-sheet th,
.totoloto-tb-mestre-sheet td {
	padding: 0.4rem 0.45rem;
	border-bottom: 1px solid var(--geo-line, #e2e4e7);
	vertical-align: middle;
	text-align: left;
}

.totoloto-tb-mestre-sheet thead th {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #50575e;
	border-bottom-color: #c3c4c7;
}

.totoloto-tb-mestre-sheet__num,
.totoloto-tb-mestre-sheet th[scope="row"] {
	width: 3.25rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	color: #1d2327;
	white-space: nowrap;
}

.totoloto-tb-mestre-sheet__match {
	min-width: 10rem;
}

.totoloto-tb-mestre-sheet__meta {
	width: 7.5rem;
	white-space: nowrap;
}

.totoloto-tb-mestre-sheet__picks {
	width: 7.5rem;
	white-space: nowrap;
}

.totoloto-tb-mestre-sheet--cols {
	min-width: 48rem;
}

.totoloto-tb-mestre-sheet__colhead {
	text-align: center !important;
	min-width: 5.5rem;
}

.totoloto-tb-mestre-sheet__colnum {
	display: inline-block;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

.totoloto-tb-mestre-sheet--cols .totoloto-tb-mestre-sheet__picks {
	text-align: center;
	width: auto;
}

.totoloto-tb-mestre-sheet--cols .totoloto-tb-mestre-sheet__picks .totoloto-tb-sheet__pick {
	pointer-events: none;
}

.totoloto-tb-mestre__analysis {
	margin: 0 0 0.85rem;
	padding: 0.75rem 0.9rem;
	border-left: 3px solid #1565c0;
	background: #f0f6fc;
	font-size: 0.84rem;
	line-height: 1.45;
	color: #1d2327;
}
.totoloto-tb-mestre__analysis-lead {
	margin: 0 0 0.35rem;
	font-weight: 700;
}
.totoloto-tb-mestre__analysis-note,
.totoloto-tb-mestre__analysis-fugas,
.totoloto-tb-mestre__analysis-hint {
	margin: 0.3rem 0 0;
}
.totoloto-tb-mestre__analysis-hint {
	color: #50575e;
	font-size: 0.78rem;
}
.totoloto-tb-mestre-sheet__picks--simple {
	background: #f6f7f7;
}
.totoloto-tb-mestre-sheet__collab {
	display: block;
	font-size: 0.65rem;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
	color: #646970;
	max-width: 5.5rem;
	margin: 0.15rem auto 0;
	line-height: 1.2;
}


.totoloto-tb-mestre-sheet__picks .totoloto-tb-sheet__pick {
	pointer-events: none;
}

.totoloto-tb-sys__lead {
	margin: 0 0 0.65rem;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.35;
	color: #1565c0;
}

.totoloto-tb-sys__scroll {
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.totoloto-tb-sys-sheet {
	width: 100%;
	min-width: 52rem;
	border-collapse: collapse;
	table-layout: fixed;
	margin: 0;
}

.totoloto-tb-sys-sheet th,
.totoloto-tb-sys-sheet td {
	padding: 0.28rem 0.2rem;
	border-bottom: 1px solid var(--geo-line, #ddd);
	vertical-align: middle;
	font-size: 0.78rem;
	line-height: 1.2;
}

.totoloto-tb-sys-sheet__num {
	width: 1.5rem;
	text-align: center;
	color: var(--tb-red, #e57373);
	font-weight: 700;
}

.totoloto-tb-sys-sheet th[scope="row"] {
	text-align: center;
	color: var(--tb-red, #e57373);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.totoloto-tb-sys-sheet__match {
	width: 9.5rem;
	min-width: 0;
	font-weight: 650;
}

.totoloto-tb-sys-sheet__role {
	width: 5.4rem;
	text-align: center;
}

.totoloto-tb-sys-sheet__badge {
	display: inline-block;
	padding: 0.12rem 0.3rem;
	border-radius: 2px;
	font-size: 0.58rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	line-height: 1.2;
	white-space: nowrap;
}

.totoloto-tb-sys-sheet__badge--t {
	background: #e3f2fd;
	color: #1565c0;
}

.totoloto-tb-sys-sheet__badge--d {
	background: #fff3e0;
	color: #ef6c00;
}

.totoloto-tb-sys-sheet__badge--s {
	background: #e8f5e9;
	color: #2e7d32;
}

.totoloto-tb-sys-sheet__badge--sp {
	background: #f3e5f5;
	color: #6a1b9a;
}

.totoloto-tb-sys-sheet__colhead {
	width: 5.2rem;
	text-align: center;
	vertical-align: bottom;
	font-weight: 700;
}

.totoloto-tb-sys-sheet__colnum {
	display: block;
	font-size: 0.85rem;
	color: #1d2327;
}

.totoloto-tb-sys-sheet__collab {
	display: block;
	margin-top: 0.15rem;
	font-size: 0.58rem;
	font-weight: 650;
	line-height: 1.2;
	color: var(--geo-muted, #646970);
	white-space: normal;
}

.totoloto-tb-sys-sheet__picks {
	text-align: center;
	white-space: nowrap;
	line-height: 0;
}

.totoloto-tb-sys-sheet__picks .totoloto-tb-sheet__pick {
	--tb-pick: 1.15rem;
	font-size: 0.62rem;
	margin-right: 0.04rem;
	cursor: default;
}

.totoloto-tb-sys-sheet tr.is-triple {
	background: rgba(21, 101, 192, 0.04);
}

.totoloto-tb-sys-sheet tr.is-double {
	background: rgba(239, 108, 0, 0.05);
}

.totoloto-chave--totobola .totoloto-lotaria-hero-pager {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	margin-top: 0;
}

.totoloto-tb-sheet__pager td {
	padding-top: 0.85rem;
	padding-bottom: 0;
	border-bottom: 0;
	vertical-align: middle;
}

.totoloto-tb-sheet__pager .totoloto-lotaria-hero-pager {
	padding: 0.28rem 0.32rem;
	gap: 0.28rem;
}

.totoloto-tb-sheet__pager .totoloto-lotaria-hero-pager__label {
	font-size: 0.78rem;
	white-space: nowrap;
}

.totoloto-tb-layout {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.totoloto-tb-layout__col--key {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.totoloto-tb-sheet {
	width: 100%;
	min-width: 0;
	max-width: 100%;
	border-collapse: collapse;
	margin: 0;
	table-layout: fixed;
	box-sizing: border-box;
}

.totoloto-tb-sheet__col-num {
	width: 1.5rem;
}

.totoloto-tb-sheet__col-role {
	width: 5.1rem;
}

.totoloto-tb-sheet__col-meta {
	width: 4.6rem;
}

.totoloto-tb-sheet__col-picks {
	width: 5.25rem;
}

.totoloto-tb-sheet__col-match {
	width: auto;
}

.totoloto-tb-sheet th,
.totoloto-tb-sheet td {
	padding: 0.28rem 0.28rem;
	border-bottom: 1px solid var(--geo-line, #ddd);
	vertical-align: middle;
	font-size: 0.82rem;
	line-height: 1.25;
	box-sizing: border-box;
}

.totoloto-tb-sheet th[scope="row"] {
	width: 1.5rem;
	max-width: 1.5rem;
	white-space: nowrap;
	text-align: center;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	color: var(--tb-red, #e57373);
	padding-left: 0.1rem;
	padding-right: 0.25rem;
}

.totoloto-tb-sheet__match {
	width: auto;
	padding-right: 0.35rem;
	white-space: normal;
	font-size: 1.05rem;
	font-weight: 650;
	line-height: 1.3;
	min-width: 0;
	overflow: hidden;
}

.totoloto-tb-sheet__teams {
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
}

.totoloto-tb-sheet__prog-row th,
.totoloto-tb-sheet__prog-row td {
	padding-top: 0;
	padding-bottom: 0.35rem;
	border-bottom: 1px solid var(--geo-line, #ddd);
	vertical-align: middle;
	line-height: 1.25;
}

.totoloto-tb-sheet__prog-row .totoloto-tb-sheet__prog-cell {
	padding-left: 0.28rem;
	padding-right: 0.35rem;
	max-width: 0;
	overflow: hidden;
}

.totoloto-tb-sheet__prog-row .totoloto-tb-sheet__prog-pad {
	padding-top: 0;
	padding-bottom: 0.35rem;
	overflow: hidden;
}

.totoloto-tb-sheet__role {
	width: 5.1rem;
	max-width: 5.1rem;
	min-width: 5.1rem;
	padding-left: 0.1rem;
	padding-right: 0.12rem;
	text-align: center;
	vertical-align: middle;
	white-space: nowrap;
	overflow: hidden;
	box-sizing: border-box;
}

.totoloto-tb-sheet__tip-box {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	padding: 0.18rem 0.28rem;
	border-radius: 0.55rem;
	border: 1.5px solid currentColor;
	box-sizing: border-box;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	vertical-align: middle;
	line-height: 1.15;
	font-size: 0.55rem;
}

.totoloto-tb-sheet__tip-box.totoloto-tb-sys-sheet__badge--t {
	border-color: #90caf9;
}

.totoloto-tb-sheet__tip-box.totoloto-tb-sys-sheet__badge--d {
	border-color: #ffcc80;
}

.totoloto-tb-sheet__tip-box.totoloto-tb-sys-sheet__badge--s {
	border-color: #a5d6a7;
}

.totoloto-tb-sheet__tip-box.totoloto-tb-sys-sheet__badge--sp {
	border-color: #ce93d8;
}

.totoloto-tb-sheet__prog {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	font: inherit;
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1.25;
	color: #1565c0;
	text-align: left;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	cursor: pointer;
}

.totoloto-tb-sheet__prog:hover,
.totoloto-tb-sheet__prog:focus-visible {
	text-decoration: underline;
	outline: none;
}

.totoloto-tb-prog-modal {
	position: fixed;
	inset: 0;
	z-index: 100200;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.25rem;
	background: rgba(0, 0, 0, 0.55);
	box-sizing: border-box;
}

.totoloto-tb-prog-modal[hidden] {
	display: none !important;
}

.totoloto-tb-prog-modal__dialog {
	position: relative;
	width: min(100%, 28rem);
	max-height: min(80vh, 24rem);
	overflow: auto;
	margin: 0;
	padding: 1.15rem 1.25rem 1.1rem;
	background: #fff;
	border: 1px solid var(--geo-line, #ddd);
	border-radius: 4px;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
	box-sizing: border-box;
}

.totoloto-tb-prog-modal__close {
	position: absolute;
	top: 0.45rem;
	right: 0.45rem;
	width: 1.85rem;
	height: 1.85rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #1d2327;
	color: #fff;
	font-size: 1.15rem;
	line-height: 1;
	cursor: pointer;
}

.totoloto-tb-prog-modal__title {
	display: block;
	margin: 0 1.75rem 0.55rem 0;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.35;
	color: #1d2327;
}

.totoloto-tb-prog-modal__body {
	margin: 0;
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1.45;
	color: #1565c0;
	white-space: normal;
}

body.totoloto-tb-prog-modal-open {
	overflow: hidden;
}

/* Fixture row above a prog line: no bottom rule (prog row owns it). */
.totoloto-tb-sheet tr:has(+ .totoloto-tb-sheet__prog-row) th,
.totoloto-tb-sheet tr:has(+ .totoloto-tb-sheet__prog-row) td {
	border-bottom: 0;
	padding-bottom: 0.12rem;
}

.totoloto-tb-sheet__meta {
	width: 4.6rem;
	max-width: 4.6rem;
	padding-left: 0.15rem;
	padding-right: 0.25rem;
	white-space: nowrap;
	text-align: right;
	vertical-align: middle;
	overflow: hidden;
}

.totoloto-tb-sheet__meta-box {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.05rem;
	max-width: 100%;
	min-width: 0;
	padding: 0.18rem 0.35rem;
	border-radius: 0.55rem;
	border: 1.5px solid #1d2327;
	box-sizing: border-box;
	font-variant-numeric: tabular-nums;
	line-height: 1.15;
	overflow: hidden;
}

.totoloto-tb-sheet__meta-box--score {
	font-size: 0.88rem;
	font-weight: 750;
	color: #1d2327;
	background: #fff;
}

.totoloto-tb-sheet__meta-box--day {
	font-size: 0.68rem;
	font-weight: 650;
	letter-spacing: 0.02em;
	text-transform: capitalize;
	color: #1d2327;
	background: #fff;
}

.totoloto-tb-sheet__meta-day,
.totoloto-tb-sheet__meta-time {
	display: block;
	white-space: nowrap;
}

.totoloto-tb-sheet__meta-time {
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.totoloto-tb-sheet__meta-empty {
	color: var(--geo-muted, #a7aaad);
	font-size: 0.75rem;
}

.totoloto-tb-sheet__picks {
	width: 5.25rem;
	max-width: 5.25rem;
	min-width: 5.25rem;
	white-space: nowrap;
	padding-left: 0.15rem;
	padding-right: 0;
	vertical-align: middle;
	line-height: 0;
	text-align: right;
	overflow: hidden;
}

.totoloto-tb-sheet__picks--pleno {
	white-space: normal;
	line-height: 1.15;
	vertical-align: middle;
	overflow: visible;
	box-sizing: border-box;
}

.totoloto-tb-sheet__super {
	border-top: 0;
}

.totoloto-tb-sheet__super-h th {
	padding: 0.85rem 0.28rem 0.35rem;
	border-bottom: 1px solid #1d2327;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #1d2327;
	text-align: left;
}

.totoloto-tb-sheet__prebreak th,
.totoloto-tb-sheet__prebreak td {
	border-bottom: 0;
}

.totoloto-tb-sheet__break th {
	padding: 0.7rem 0.28rem;
	border-bottom: 0;
	line-height: 0;
	font-size: 0;
	background-image: linear-gradient(var(--tb-red, #e57373), var(--tb-red, #e57373));
	background-size: 100% 1px;
	background-position: center;
	background-repeat: no-repeat;
}

.totoloto-tb-sheet__super tr:not(.totoloto-tb-sheet__super-h) th,
.totoloto-tb-sheet__super tr:not(.totoloto-tb-sheet__super-h) td {
	font-weight: 700;
}

.totoloto-tb-sheet__pick {
	--tb-pick: 1.35rem;
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--tb-pick);
	height: var(--tb-pick);
	min-width: var(--tb-pick);
	min-height: var(--tb-pick);
	max-width: var(--tb-pick);
	max-height: var(--tb-pick);
	aspect-ratio: 1 / 1;
	margin: 0 0.08rem 0 0;
	padding: 0;
	appearance: none;
	-webkit-appearance: none;
	border: 1px solid var(--tb-red-line, #ef9a9a);
	border-radius: 2px;
	background: var(--tb-red-bg, #fff5f5);
	color: var(--tb-red, #e57373);
	font-weight: 700;
	font-size: 0.72rem;
	line-height: 1;
	text-align: center;
	cursor: pointer;
	box-sizing: border-box;
	vertical-align: middle;
	flex: 0 0 var(--tb-pick);
	overflow: hidden;
}

.totoloto-tb-sheet__pick:last-child {
	margin-right: 0;
}

.totoloto-tb-sheet__pleno {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: center;
	gap: 0.18rem;
	max-width: 100%;
	min-width: 0;
	margin: 0;
	line-height: 1.15;
	vertical-align: middle;
}

.totoloto-tb-sheet__pleno-side {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-end;
	gap: 0.12rem;
	max-width: 100%;
	min-width: 0;
}

.totoloto-tb-sheet__pleno-marks {
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	flex-wrap: nowrap;
	max-width: 100%;
}

.totoloto-tb-sheet__pleno-lab {
	flex: 0 0 auto;
	width: 0.7rem;
	font-size: 0.58rem;
	line-height: 1;
	font-weight: 800;
	letter-spacing: 0;
	text-transform: uppercase;
	text-align: center;
	color: #50575e;
	white-space: nowrap;
}

.totoloto-tb-sheet__pleno-side .totoloto-tb-sheet__pick {
	--tb-pick: 1.05rem;
	font-size: 0.58rem;
	margin-right: 0.04rem;
}

.totoloto-tb-sheet__pick-sym {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	line-height: 1;
}

.totoloto-tb-sheet__pick.is-prog {
	border-color: #1565c0;
	box-shadow: inset 0 0 0 1px rgba(21, 101, 192, 0.25);
}

.totoloto-tb-sheet__pick.is-prog::after {
	content: "";
	position: absolute;
	inset: 2.5px;
	background:
		linear-gradient(
			to top left,
			transparent calc(50% - 2px),
			currentColor calc(50% - 2px),
			currentColor calc(50% + 2px),
			transparent calc(50% + 2px)
		),
		linear-gradient(
			to top right,
			transparent calc(50% - 2px),
			currentColor calc(50% - 2px),
			currentColor calc(50% + 2px),
			transparent calc(50% + 2px)
		);
	color: #1565c0;
	z-index: 2;
	pointer-events: none;
}

.totoloto-tb-sheet__pick.is-on {
	background: #1d2327;
	border-color: #1d2327;
	color: #fff;
}

.totoloto-tb-sheet__pick.is-on.is-prog::after {
	color: #64b5f6;
}

.totoloto-tb-sheet__pick.is-cancel {
	cursor: default;
	background: #50575e;
	border-color: #50575e;
	color: #fff;
}

@media (max-width: 900px) {
	.totoloto-tb-layout {
		width: 100%;
		max-width: 100%;
		min-width: 0;
	}

	.totoloto-tb-layout__col--key {
		width: 100%;
		max-width: 100%;
		min-width: 0;
		overflow: visible;
	}

	.totoloto-tb-layout__col:empty {
		display: none;
	}

	.totoloto-tb-sheet {
		table-layout: fixed;
		width: 100%;
	}

	.totoloto-tb-sheet__col-num {
		width: 1.3rem;
	}

	.totoloto-tb-sheet__col-role {
		width: 4.4rem;
	}

	.totoloto-tb-sheet__col-meta {
		width: 3.9rem;
	}

	.totoloto-tb-sheet__col-picks {
		width: 4.8rem;
	}

	.totoloto-tb-sheet th[scope="row"] {
		width: 1.3rem;
		max-width: 1.3rem;
		padding-left: 0;
		padding-right: 0.15rem;
		font-size: 0.78rem;
	}

	.totoloto-tb-sheet__match {
		font-size: 0.88rem;
		padding-right: 0.2rem;
		overflow: hidden;
		max-width: 100%;
	}

	.totoloto-tb-sheet__teams {
		overflow: hidden;
		text-overflow: ellipsis;
		max-width: 100%;
	}

	.totoloto-tb-sheet__role {
		width: 4.4rem;
		max-width: 4.4rem;
		min-width: 4.4rem;
		padding-left: 0.06rem;
		padding-right: 0.06rem;
	}

	.totoloto-tb-sheet__tip-box {
		font-size: 0.55rem;
		padding: 0.14rem 0.24rem;
		letter-spacing: 0.02em;
	}

	.totoloto-tb-sheet__meta {
		width: 3.9rem;
		max-width: 3.9rem;
		padding-left: 0.08rem;
		padding-right: 0.12rem;
		overflow: hidden;
	}

	.totoloto-tb-sheet__picks {
		width: 4.8rem;
		max-width: 4.8rem;
		min-width: 4.8rem;
		padding-left: 0.12rem;
		padding-right: 0;
		text-align: right;
		overflow: hidden;
	}

	.totoloto-tb-sheet__picks--pleno {
		overflow: visible;
		white-space: normal;
		line-height: 1.15;
	}

	.totoloto-tb-sheet__pick {
		--tb-pick: 1.15rem;
		font-size: 0.62rem;
		margin-right: 0.04rem;
	}

	.totoloto-tb-sheet__pleno-lab {
		width: 0.65rem;
		font-size: 0.5rem;
	}

	.totoloto-tb-sheet__pleno-side .totoloto-tb-sheet__pick {
		--tb-pick: 0.95rem;
		font-size: 0.52rem;
		margin-right: 0.02rem;
	}

	.totoloto-tb-sheet__prog {
		font-size: 0.65rem;
	}

	.totoloto-tb-sheet__meta-box--day {
		font-size: 0.58rem;
		padding: 0.14rem 0.28rem;
	}

	.totoloto-tb-sheet__meta-box--score {
		font-size: 0.72rem;
		padding: 0.14rem 0.28rem;
	}

	.totoloto-chave--totobola .totoloto-chave-banner__title {
		font-size: 0.78rem;
		line-height: 1.35;
	}
}

@media (max-width: 520px) {
	.totoloto-tb-sheet__col-meta {
		width: 0;
	}

	.totoloto-tb-sheet__meta {
		width: 0;
		max-width: 0;
		padding: 0;
		overflow: hidden;
		border-left: 0;
		border-right: 0;
		font-size: 0;
		line-height: 0;
		color: transparent;
	}

	.totoloto-tb-sheet__meta * {
		display: none;
	}

	.totoloto-tb-sheet__col-role {
		width: 4rem;
	}

	.totoloto-tb-sheet__role {
		width: 4rem;
		max-width: 4rem;
		min-width: 4rem;
	}

	.totoloto-tb-sheet__col-picks {
		width: 4.5rem;
	}

	.totoloto-tb-sheet__picks {
		width: 4.5rem;
		max-width: 4.5rem;
		min-width: 4.5rem;
	}

	.totoloto-tb-sheet__col-num {
		width: 1.2rem;
	}

	.totoloto-tb-sheet th[scope="row"] {
		width: 1.2rem;
		max-width: 1.2rem;
	}

	.totoloto-tb-sheet__match {
		font-size: 0.82rem;
	}

	.totoloto-tb-sheet__pick {
		--tb-pick: 1.1rem;
		font-size: 0.6rem;
	}

	.totoloto-tb-sheet__prog-row .totoloto-tb-sheet__prog-cell {
		padding-right: 0.1rem;
	}
}

.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;
}

.totoloto-chave-balls-stack--hl {
	width: 100%;
	justify-content: space-between;
	align-items: center;
}

.totoloto-chave-hl {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.4rem;
	margin-left: auto;
}

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

.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;
}

.totoloto-chave-hl__btn:hover {
	background: #f6f7f7;
}

.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;
}

.totoloto-chave--chaves.is-hl-last .totoloto-chaves-table tbody td.totoloto-chaves-table__key .totoloto-chaves-n,
.totoloto-chave--chaves.is-hl-hot .totoloto-chaves-table tbody td.totoloto-chaves-table__key .totoloto-chaves-n,
.totoloto-chave--chaves.is-hl-cold .totoloto-chaves-table tbody td.totoloto-chaves-table__key .totoloto-chaves-n,
.totoloto-chave--chaves.is-hl-late .totoloto-chaves-table tbody td.totoloto-chaves-table__key .totoloto-chaves-n {
	color: #c4c4c4;
	background: transparent;
}

.totoloto-chave--chaves.is-hl-last .totoloto-chaves-table tbody td.totoloto-chaves-table__key .totoloto-chaves-n[data-zone],
.totoloto-chave--chaves.is-hl-hot .totoloto-chaves-table tbody td.totoloto-chaves-table__key .totoloto-chaves-n[data-zone],
.totoloto-chave--chaves.is-hl-cold .totoloto-chaves-table tbody td.totoloto-chaves-table__key .totoloto-chaves-n[data-zone],
.totoloto-chave--chaves.is-hl-late .totoloto-chaves-table tbody td.totoloto-chaves-table__key .totoloto-chaves-n[data-zone] {
	color: #111;
	background: transparent;
}

.totoloto-chave--chaves.is-hl-last .totoloto-chaves-table tbody td.totoloto-chaves-table__key .totoloto-chaves-n-plus,
.totoloto-chave--chaves.is-hl-hot .totoloto-chaves-table tbody td.totoloto-chaves-table__key .totoloto-chaves-n-plus,
.totoloto-chave--chaves.is-hl-cold .totoloto-chaves-table tbody td.totoloto-chaves-table__key .totoloto-chaves-n-plus,
.totoloto-chave--chaves.is-hl-late .totoloto-chaves-table tbody td.totoloto-chaves-table__key .totoloto-chaves-n-plus {
	color: #c4c4c4;
}

.totoloto-chaves-n-plus {
	margin: 0 0.2em;
	color: #666;
}

.totoloto-chaves-zones {
	margin: 0.85rem 0 0;
}

.totoloto-chaves-zones__nums {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.03em;
}

.totoloto-chaves-zones__item--last {
	border-left: 3px solid #e08b84;
}

.totoloto-chaves-zones__item--hot {
	border-left: 3px solid #c9b458;
}

.totoloto-chaves-zones__item--cold {
	border-left: 3px solid #86b4d4;
}

.totoloto-chaves-zones__item--late {
	border-left: 3px solid #a99bc4;
}

.totoloto-chaves-zone-hl {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 0.4rem;
	margin: 0.75rem 0 0.35rem;
}

.totoloto-chaves-zone-panel {
	display: none;
	margin: 0.35rem 0 0.85rem;
	padding: 0.85rem 1rem 1rem;
	border: 1px solid var(--geo-line, #ddd);
	border-left-width: 3px;
	background: #fafafa;
}

.totoloto-chave--chaves.is-hl-last .totoloto-chaves-zone-panel--last,
.totoloto-chave--chaves.is-hl-hot .totoloto-chaves-zone-panel--hot,
.totoloto-chave--chaves.is-hl-cold .totoloto-chaves-zone-panel--cold,
.totoloto-chave--chaves.is-hl-late .totoloto-chaves-zone-panel--late {
	display: block;
}

.totoloto-chaves-zone-panel--last {
	border-left-color: #e08b84;
	background: #fdf4f3;
}

.totoloto-chaves-zone-panel--hot {
	border-left-color: #c9b458;
	background: #fdf8e8;
}

.totoloto-chaves-zone-panel--cold {
	border-left-color: #86b4d4;
	background: #f3f8fc;
}

.totoloto-chaves-zone-panel--late {
	border-left-color: #a99bc4;
	background: #f6f4fa;
}


.totoloto-chaves-zone-panel__empty {
	margin: 0 0 0.55rem;
	font-size: 0.95rem;
}

.totoloto-chaves-zone-panel__key {
	margin: 0 0 0.55rem;
}

.totoloto-chaves-zone-panel__title {
	margin: 0 0 0.5rem;
	font-size: 1.05rem;
	font-weight: 700;
}

.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;
}

.totoloto-chaves-zone-panel p {
	margin: 0 0 0.5rem;
	line-height: 1.45;
	max-width: 54rem;
}

.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;
}

.totoloto-chaves-zone-panel__stat {
	margin: 0;
}

.totoloto-chaves-zone-panel__stat dt {
	font-size: 0.82rem;
	opacity: 0.82;
}

.totoloto-chaves-zone-panel__stat dd {
	margin: 0.12rem 0 0;
	font-weight: 650;
	font-variant-numeric: tabular-nums;
}

.totoloto-chaves-zone-panel__pick {
	margin: 0 0 0.65rem;
	font-size: 0.98rem;
}

.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;
}

.totoloto-chaves-zone-panel--last .totoloto-chaves-zone-panel__pct {
	background: #f8c9c4;
	color: #7a2e28;
}

.totoloto-chaves-zone-panel--hot .totoloto-chaves-zone-panel__pct {
	background: #ebc84e;
	color: #3d3208;
}

.totoloto-chaves-zone-panel--cold .totoloto-chaves-zone-panel__pct {
	background: #c5def0;
	color: #1e4a6b;
}

.totoloto-chaves-zone-panel--late .totoloto-chaves-zone-panel__pct {
	background: #d9d4e8;
	color: #3d3358;
}

.totoloto-chaves-zone-panel .totoloto-teoria-faq__a {
	padding: 0;
}

.totoloto-chaves-n--zone-last {
	background: #f5d0cc;
	color: #6b2a25;
}

.totoloto-chaves-n--zone-hot {
	background: #ebc84e;
	color: #3d3208;
}

.totoloto-chaves-n--zone-cold {
	background: #cfe4f3;
	color: #1b4566;
}

.totoloto-chaves-n--zone-late {
	background: #ddd8eb;
	color: #3a3154;
}

.totoloto-chave--chaves.is-hl-last .totoloto-chaves-table thead th.totoloto-chaves-table__z--last,
.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;
}

.totoloto-chave--chaves.is-hl-hot .totoloto-chaves-table thead th.totoloto-chaves-table__z--hot,
.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;
}

.totoloto-chave--chaves.is-hl-cold .totoloto-chaves-table thead th.totoloto-chaves-table__z--cold,
.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;
}

.totoloto-chave--chaves.is-hl-late .totoloto-chaves-table thead th.totoloto-chaves-table__z--late,
.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;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* Pyramid vertex preview (most overdue) — red cell border. */
.totoloto-chaves-n--vertex {
	box-sizing: border-box;
	border: 2px solid #c62828 !important;
	box-shadow: 0 0 0 1px rgba(198, 40, 40, 0.35);
	position: relative;
	z-index: 1;
}

.totoloto-chave-ball--vertex .totoloto-chave-ball__face {
	box-sizing: border-box;
	border: 2px solid #c62828 !important;
	box-shadow: 0 0 0 1px rgba(198, 40, 40, 0.35);
}

.totoloto-chave--chaves.is-hl-last .totoloto-chave-balls-stack .totoloto-chave-ball:not(.totoloto-chave-ball--extra) .totoloto-chave-ball__face,
.totoloto-chave--chaves.is-hl-hot .totoloto-chave-balls-stack .totoloto-chave-ball:not(.totoloto-chave-ball--extra) .totoloto-chave-ball__face,
.totoloto-chave--chaves.is-hl-cold .totoloto-chave-balls-stack .totoloto-chave-ball:not(.totoloto-chave-ball--extra) .totoloto-chave-ball__face,
.totoloto-chave--chaves.is-hl-late .totoloto-chave-balls-stack .totoloto-chave-ball:not(.totoloto-chave-ball--extra) .totoloto-chave-ball__face {
	background: radial-gradient(circle at 32% 28%, #ececec 0%, #c8c8c8 68%);
	color: #111;
}

.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%, #c97870 72%);
	color: #111;
}

.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%, #e0a428 0%, #c67c00 72%);
	color: #111;
}

.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%, #7eafcc 72%);
	color: #111;
}

.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;
}

.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;
}

.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;
}

.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;
}

.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;
}

.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;
}

.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;
}

.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;
}

.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;
}

.totoloto-chave--chaves.is-hl-last .totoloto-chaves-table tbody tr.totoloto-chaves-row--future td.totoloto-chaves-table__key .totoloto-chaves-n[data-zone="last"]:not(.totoloto-chaves-n--extra) {
	background: #f5d0cc;
	color: #6b2a25;
	-webkit-text-fill-color: #6b2a25;
}

.totoloto-chave--chaves.is-hl-hot .totoloto-chaves-table tbody tr.totoloto-chaves-row--future td.totoloto-chaves-table__key .totoloto-chaves-n[data-zone="hot"]:not(.totoloto-chaves-n--extra) {
	background: #ebc84e;
	color: #3d3208;
	-webkit-text-fill-color: #3d3208;
}

.totoloto-chave--chaves.is-hl-cold .totoloto-chaves-table tbody tr.totoloto-chaves-row--future td.totoloto-chaves-table__key .totoloto-chaves-n[data-zone="cold"]:not(.totoloto-chaves-n--extra) {
	background: #cfe4f3;
	color: #1b4566;
	-webkit-text-fill-color: #1b4566;
}

.totoloto-chave--chaves.is-hl-late .totoloto-chaves-table tbody tr.totoloto-chaves-row--future td.totoloto-chaves-table__key .totoloto-chaves-n[data-zone="late"]:not(.totoloto-chaves-n--extra) {
	background: #ddd8eb;
	color: #3a3154;
	-webkit-text-fill-color: #3a3154;
}

.totoloto-chave-balls-block {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	max-width: 100%;
}

.totoloto-chave-balls--pending .totoloto-chave-ball .totoloto-chave-ball__face,
.totoloto-chave-balls--pending .totoloto-chave-ball--extra .totoloto-chave-ball__face {
	background: radial-gradient(circle at 32% 28%, #d8d8d8 0%, #9a9a9a 68%);
	color: transparent;
}

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

.totoloto-chaves-layers__row {
	display: none;
}

.totoloto-chave--chaves.is-hl-last .totoloto-chaves-layers__row--last,
.totoloto-chave--chaves.is-hl-hot .totoloto-chaves-layers__row--hot,
.totoloto-chave--chaves.is-hl-cold .totoloto-chaves-layers__row--cold,
.totoloto-chave--chaves.is-hl-late .totoloto-chaves-layers__row--late {
	display: contents;
}

.totoloto-chaves-layers__lab {
	grid-column: 1;
	box-sizing: border-box;
	width: 7rem;
	min-width: 7rem;
	max-width: 7rem;
	margin: 0;
	padding: 0;
	text-align: left;
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1.25;
	color: #666;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	white-space: normal;
}

.totoloto-chaves-layers__k {
	font-weight: 700;
	letter-spacing: 0;
	white-space: nowrap;
}

.totoloto-chaves-layers__nums {
	grid-column: 2;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: baseline;
	gap: 0.12rem;
	min-width: 0;
	margin: 0;
	padding: 0;
	text-align: left;
}

.totoloto-chaves-layers .totoloto-chaves-n {
	min-width: 1.5em;
	padding: 0.04em 0.12em;
	margin-right: 0.06em;
}

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

.totoloto-chave-ball {
	display: inline-flex;
	flex: 0 0 auto;
	margin: 0;
	line-height: 0;
}

.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;
	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);
}

.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%);
}

.totoloto-chave-balls-stack--totoloto .totoloto-chave-ball:not(.totoloto-chave-ball--extra) .totoloto-chave-ball__face,
.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;
}

.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%);
}

.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;
}

.totoloto-chave-balls-stack--eurojackpot .totoloto-chave-ball--extra .totoloto-chave-ball__face {
	background: radial-gradient(circle at 32% 28%, #7ec8e3 0%, #1a6f8f 68%);
	color: #fff;
}

.totoloto-chave-balls-stack--gordo .totoloto-chave-ball:not(.totoloto-chave-ball--extra) .totoloto-chave-ball__face {
	background: radial-gradient(circle at 32% 28%, #f07a6a 0%, #b31b1b 68%);
}

.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);
}

.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%);
	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);
}

.totoloto-chaves-n--star {
	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%);
	background: #c62828;
	color: #fff;
	font-weight: 700;
	min-width: 1.85em;
	padding: 0.12em 0.18em;
}

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

.totoloto-tickets {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem 0.85rem;
	align-items: stretch;
	margin: 0.75rem 0 1rem;
}

.totoloto-ticket {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	gap: 0.2rem;
	min-width: 7.25rem;
	padding: 0.45rem 0.7rem;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	background: #fff;
	box-shadow: inset 0 1px 0 #fff;
}

.totoloto-ticket__lab {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #555;
	line-height: 1.2;
}

.totoloto-ticket__num {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 1.35rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.08em;
	color: #163044;
	line-height: 1.2;
}

.totoloto-ticket.is-empty .totoloto-ticket__num {
	min-width: 6ch;
	min-height: 1.2em;
	color: transparent;
}

.totoloto-chave__em-jogo {
	margin: 0.45rem 0 0;
	font-size: 0.88rem;
	line-height: 1.4;
	color: #4a5560;
	white-space: pre-line;
}

.totoloto-ticket--extra {
	background: #fff8e8;
	border-color: #e2b100;
}

.totoloto-ticket--extra .totoloto-ticket__num {
	color: #6b4e00;
}

.totoloto-lotaria-layout {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 1.25rem 1.5rem;
	align-items: start;
	width: 100%;
}

.totoloto-lotaria-layout__left {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.totoloto-lotaria-layout__hero {
	min-width: 0;
	width: 100%;
}

.totoloto-lotaria-layout__hero .totoloto-chave-banner {
	max-width: none;
}

.totoloto-lotaria-layout__hero .totoloto-tickets,
.totoloto-chave--lotaria .totoloto-tickets,
.totoloto-prize-page__chave .totoloto-tickets {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: center;
	gap: 0.45rem;
	width: 100%;
	margin: 0.75rem 0 1rem;
	box-sizing: border-box;
}

.totoloto-lotaria-layout__hero .totoloto-tickets__prizes,
.totoloto-lotaria-layout__hero .totoloto-tickets__extras,
.totoloto-chave--lotaria .totoloto-tickets__prizes,
.totoloto-chave--lotaria .totoloto-tickets__extras,
.totoloto-prize-page__chave .totoloto-tickets__prizes,
.totoloto-prize-page__chave .totoloto-tickets__extras {
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: stretch;
	gap: 0.45rem;
	width: 100%;
	min-width: 0;
}

.totoloto-lotaria-layout__hero .totoloto-tickets__prizes .totoloto-ticket,
.totoloto-lotaria-layout__hero .totoloto-tickets__extras .totoloto-ticket,
.totoloto-chave--lotaria .totoloto-tickets__prizes .totoloto-ticket,
.totoloto-chave--lotaria .totoloto-tickets__extras .totoloto-ticket,
.totoloto-prize-page__chave .totoloto-tickets__prizes .totoloto-ticket,
.totoloto-prize-page__chave .totoloto-tickets__extras .totoloto-ticket {
	flex: 1 1 0;
	width: 100%;
	max-width: calc((100% - 0.9rem) / 3);
	min-width: 0;
	box-sizing: border-box;
	padding: 0.4rem 0.45rem;
	align-items: center;
	text-align: center;
	justify-content: center;
}

.totoloto-lotaria-layout__hero .totoloto-tickets--popular .totoloto-tickets__prizes .totoloto-ticket,
.totoloto-chave--lotaria .totoloto-tickets--popular .totoloto-tickets__prizes .totoloto-ticket,
.totoloto-prize-page__chave .totoloto-tickets--popular .totoloto-tickets__prizes .totoloto-ticket {
	max-width: calc((100% - 1.35rem) / 4);
}

.totoloto-lotaria-layout__hero .totoloto-ticket__lab {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.totoloto-lotaria-layout__hero .totoloto-ticket__num {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: clamp(0.95rem, 2.6vw, 1.35rem);
}

.totoloto-lotaria-layout__hero .totoloto-chave__boletim {
	margin: 0;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	overflow: hidden;
}

.totoloto-lotaria-layout__hero .totoloto-chave__boletim img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	object-fit: contain;
}

.totoloto-lotaria-hero-pager {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin-top: 0.85rem;
	padding: 0.4rem 0.55rem;
	border: 1px solid var(--geo-line, #ddd);
	border-radius: 4px;
	background: #f6f7f7;
}

.totoloto-lotaria-hero-pager__label {
	flex: 1 1 auto;
	text-align: center;
	font-size: 0.85rem;
	font-weight: 700;
	color: #163044;
}

.totoloto-lotaria-hero-pager__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.1rem;
	height: 2.1rem;
	padding: 0 0.45rem;
	border: 1px solid var(--geo-line, #c3c4c7);
	border-radius: 3px;
	background: #fff;
	color: #163044;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	box-sizing: border-box;
}

.totoloto-lotaria-hero-pager__btn:hover {
	background: #fff;
	border-color: #163044;
	color: #163044;
}

.totoloto-lotaria-hero-pager__btn.is-disabled {
	opacity: 0.35;
	cursor: default;
	pointer-events: none;
}

.totoloto-lotaria-archive {
	min-width: 0;
}

.totoloto-lotaria-archive__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 0.75rem;
	margin: 0 0 0.65rem;
}

.totoloto-lotaria-archive__title {
	margin: 0;
	font-size: 1rem;
	font-weight: 800;
	color: #163044;
}

.totoloto-lotaria-archive__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.totoloto-lotaria-archive__btn {
	margin: 0;
	padding: 0.32rem 0.65rem;
	border: 1px solid var(--geo-line, #c3c4c7);
	border-radius: 3px;
	background: #fff;
	color: #163044;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
}

.totoloto-lotaria-archive__btn:hover {
	background: #f6f7f7;
}

.totoloto-lotaria-archive__btn.is-active[data-lotaria-hl="seq"],
.totoloto-lotaria-archive__btn[aria-pressed="true"][data-lotaria-hl="seq"] {
	background: #15803d;
	border-color: #166534;
	color: #fff;
}

.totoloto-lotaria-archive__btn.is-active[data-lotaria-hl="rep"],
.totoloto-lotaria-archive__btn[aria-pressed="true"][data-lotaria-hl="rep"] {
	background: #c53030;
	border-color: #9b2c2c;
	color: #fff;
}

.totoloto-lotaria-archive__btn.is-active[data-lotaria-hl="primo"],
.totoloto-lotaria-archive__btn[aria-pressed="true"][data-lotaria-hl="primo"] {
	background: #1d4ed8;
	border-color: #1e40af;
	color: #fff;
}

.totoloto-lotaria-archive.is-hl-seq .totoloto-lotaria-d[data-seq="1"] {
	background: #15803d;
	color: #fff;
	border-radius: 2px;
}

.totoloto-lotaria-archive.is-hl-rep .totoloto-lotaria-d[data-rep="1"] {
	background: #c53030;
	color: #fff;
	border-radius: 2px;
}

.totoloto-lotaria-archive.is-hl-primo .totoloto-lotaria-d[data-primo="1"] {
	background: #1d4ed8;
	color: #fff;
	border-radius: 2px;
}

.totoloto-lotaria-archive__scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.totoloto-lotaria-archive__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.85rem;
}

.totoloto-lotaria-archive__table th,
.totoloto-lotaria-archive__table td {
	padding: 0.5rem 0.55rem;
	border-bottom: 1px solid var(--geo-line, #ddd);
	text-align: left;
	vertical-align: middle;
	white-space: nowrap;
}

.totoloto-lotaria-archive__table tbody td {
	font-size: 1.12rem;
	font-weight: 600;
}

.totoloto-lotaria-archive__table thead th {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #555;
	background: #f6f7f7;
}

.totoloto-lotaria-archive__table tbody tr:hover {
	background: #fafafa;
}

.totoloto-lotaria-archive__table tbody tr.is-current {
	background: #eef6ff;
}

.totoloto-lotaria-archive__thumb-link.is-current {
	border-color: #163044;
	box-shadow: 0 0 0 1px #163044;
}

.totoloto-lotaria-archive__thumb,
.totoloto-lotaria-archive__thumb-h {
	width: 4.6rem;
	padding-top: 0.3rem;
	padding-bottom: 0.3rem;
}

.totoloto-lotaria-archive__thumb-link {
	display: block;
	width: 4.5rem;
	height: 2.5rem;
	border: 1px solid var(--geo-line, #ddd);
	border-radius: 2px;
	overflow: hidden;
	background: #fff;
	line-height: 0;
}

.totoloto-lotaria-archive__thumb-link img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
}

.totoloto-lotaria-archive__thumb-empty {
	color: #999;
}

.totoloto-lotaria-archive__num {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.06em;
	font-weight: 700;
	font-size: 1.65rem;
	color: #163044;
}

.totoloto-lotaria-d {
	display: inline-block;
	padding: 0.08em 0.08em;
	line-height: 1.15;
}

.totoloto-lotaria-archive__pager {
	margin: 0.75rem 0 0;
}

.totoloto-lotaria-archive__pager .page-numbers {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.totoloto-lotaria-archive__pager .page-numbers li {
	margin: 0;
}

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

.totoloto-lotaria-archive__pager .page-numbers a:hover {
	background: #f6f7f7;
}

.totoloto-lotaria-archive__pager .page-numbers .current {
	background: #163044;
	border-color: #163044;
	color: #fff;
	font-weight: 700;
}

@media (max-width: 900px) {
	.totoloto-lotaria-layout {
		grid-template-columns: 1fr;
		width: 100%;
		max-width: 100%;
		min-width: 0;
	}

	.totoloto-lotaria-layout__left,
	.totoloto-lotaria-layout__hero {
		width: 100%;
		max-width: 100%;
		min-width: 0;
	}

	.totoloto-chave--lotaria .totoloto-chave__boletim,
	.totoloto-lotaria-layout__hero .totoloto-chave__boletim {
		width: 100%;
		max-width: 100%;
	}

	.totoloto-chave--lotaria .totoloto-chave__boletim img,
	.totoloto-lotaria-layout__hero .totoloto-chave__boletim img,
	.totoloto-prize-page__banner img {
		width: 100%;
		max-width: 100%;
		height: auto;
	}
}

/* Só encolher quando o bloco da chave fica estreito (evita wrap). Desktop mantém tamanho grande. */
@container chave-balls (max-width: 480px) {
	.totoloto-chave-balls {
		flex-wrap: nowrap;
		gap: 0.35rem;
	}

	.totoloto-chave-ball__face {
		width: 2.85rem;
		height: 2.85rem;
		font-size: 1.05rem;
	}

	.totoloto-chave-balls-plus {
		font-size: 1.2rem;
		padding: 0 0.15rem;
	}
}

@container chave-balls (max-width: 420px) {
	.totoloto-chave-balls {
		flex-wrap: nowrap;
		gap: 0.28rem;
	}

	.totoloto-chave-ball__face {
		width: 2.1rem;
		height: 2.1rem;
		font-size: 0.88rem;
	}

	.totoloto-chave-balls-plus {
		font-size: 1.05rem;
		padding: 0 0.1rem;
	}
}

@container chave-balls (max-width: 340px) {
	.totoloto-chave-balls {
		gap: 0.16rem;
	}

	.totoloto-chave-ball__face {
		width: 1.55rem;
		height: 1.55rem;
		font-size: 0.68rem;
		box-shadow:
			inset -2px -2px 4px rgba(0, 0, 0, 0.25),
			inset 1px 1px 2px rgba(255, 255, 255, 0.2),
			0 1px 1px rgba(0, 0, 0, 0.1);
	}

	.totoloto-chave-ball--extra .totoloto-chave-ball__face {
		box-shadow:
			inset -2px -2px 4px rgba(120, 70, 0, 0.25),
			inset 1px 1px 2px rgba(255, 255, 255, 0.3),
			0 1px 1px rgba(0, 0, 0, 0.1);
	}

	.totoloto-chave-balls-plus {
		font-size: 0.9rem;
		padding: 0 0.05rem;
	}
}

@container chave-balls (max-width: 280px) {
	.totoloto-chave-ball__face {
		width: 1.35rem;
		height: 1.35rem;
		font-size: 0.6rem;
	}

	.totoloto-chave-balls-plus {
		font-size: 0.8rem;
	}
}

.totoloto-chave-head .totoloto-chave-balls {
	width: 100%;
	flex-wrap: nowrap;
	gap: clamp(0.2rem, 1.6cqi, 0.65rem);
}

.totoloto-chave-head .totoloto-chave-ball {
	flex: 1 1 0;
	min-width: 0;
}

.totoloto-chave-head .totoloto-chave-ball__face {
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	font-size: clamp(0.8rem, 7.2cqi, 1.7rem);
}

.totoloto-chave-head .totoloto-chave-balls-plus {
	flex: 0 0 auto;
	padding: 0;
	font-size: clamp(1rem, 6cqi, 1.7rem);
}

.totoloto-chave__title {
	margin: 0 0 0.5rem;
	font-size: 1.15rem;
	font-weight: 800;
}

.totoloto-chave__lead {
	margin: 0 0 1rem;
	max-width: 52rem;
	line-height: 1.45;
	color: #444;
}

.totoloto-chaves-analysis {
	margin-top: 0.35rem;
	padding-top: 0.15rem;
	border-top: 1px solid var(--geo-line, #eee);
}

.totoloto-chaves-split {
	margin: 1rem 0 0;
}

.totoloto-chaves-table-wrap {
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	margin: 1rem 0 0;
	-webkit-overflow-scrolling: touch;
}

.totoloto-chaves-split .totoloto-chaves-table-wrap {
	margin-top: 0;
	overflow: visible;
	max-width: none;
}

.totoloto-chaves-split .totoloto-chaves-table-wrap--main {
	width: max-content;
	min-width: max-content;
	max-width: none;
	flex-shrink: 0;
}

.totoloto-chaves-split .totoloto-chaves-table-wrap--occ {
	width: max-content;
	min-width: max-content;
	max-width: none;
	flex-shrink: 0;
}

.totoloto-chaves-split .totoloto-chaves-table {
	width: max-content;
	max-width: none;
}

.totoloto-chaves-split .totoloto-chaves-table--main {
	width: max-content;
	min-width: max-content;
	max-width: none;
	table-layout: auto;
}

.totoloto-chaves-table--main .totoloto-chaves-table__n,
.totoloto-chaves-table--main tbody th[scope="row"] {
	width: 3.6ch;
	min-width: 3.6ch;
	max-width: 3.6ch;
	padding-left: 0.18rem;
	padding-right: 0.18rem;
	text-align: center;
	box-sizing: content-box;
}

.totoloto-chaves-table--main .totoloto-chaves-table__date {
	width: 10ch;
	min-width: 10ch;
	max-width: 10ch;
	padding-left: 0.18rem;
	padding-right: 0.12rem;
	text-align: center;
	box-sizing: content-box;
}

.totoloto-chaves-table--main .totoloto-chaves-table__key,
.totoloto-chaves-table--main thead th.totoloto-chaves-table__key,
.totoloto-chaves-table--main tbody td.totoloto-chaves-table__key {
	width: 1%;
	min-width: 0;
	max-width: none;
	text-align: left;
	padding: 0 0.12rem;
	box-sizing: border-box;
	white-space: nowrap;
	overflow: visible;
	position: relative;
	z-index: 2;
}

.totoloto-chaves-key {
	display: inline-flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: flex-start;
	width: max-content;
	min-width: max-content;
	max-width: none;
	vertical-align: middle;
}

.totoloto-chaves-table--main .totoloto-chaves-table__gap,
.totoloto-chaves-table--main thead th.totoloto-chaves-table__gap,
.totoloto-chaves-table--main tbody td.totoloto-chaves-table__gap {
	width: 0.25rem;
	min-width: 0.25rem;
	max-width: 0.25rem;
	padding: 0;
}

.totoloto-chaves-table--main thead th.totoloto-chaves-table__z,
.totoloto-chaves-table--main tbody td.totoloto-chaves-table__z {
	width: 1.4rem;
	min-width: 1.4rem;
	max-width: 1.4rem;
	padding-left: 0.08rem;
	padding-right: 0.08rem;
	font-family: inherit;
	font-size: inherit;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0;
	line-height: inherit;
	overflow: hidden;
	box-sizing: border-box;
	position: relative;
	z-index: 0;
}

.totoloto-chaves-table--main thead tr:first-child th.totoloto-chaves-table__z {
	font-weight: 700;
	text-transform: uppercase;
}

.totoloto-chaves-table--main thead tr.totoloto-chaves-table__idx th.totoloto-chaves-table__z {
	font-weight: 400;
	color: transparent;
	line-height: 0.5;
	padding-top: 0;
	padding-bottom: 0;
}

.totoloto-chaves-table--main tbody td.totoloto-chaves-table__z {
	padding: 0.12rem 0.05rem;
	font-weight: 400;
}

.totoloto-chaves-table--main tbody td.totoloto-chaves-table__key {
	text-align: left;
	height: 1.7rem;
}

.totoloto-chaves-table--main tbody td.totoloto-chaves-table__key .totoloto-chaves-n {
	display: inline-block;
	flex: 0 0 auto;
	box-sizing: border-box;
	margin-right: 0.12em;
	min-width: 1.55em;
	padding: 0.04em 0.2em;
	line-height: 1.25;
	text-align: center;
	vertical-align: middle;
}

.totoloto-chaves-table--main tbody td.totoloto-chaves-table__key .totoloto-chaves-n:last-child {
	margin-right: 0;
}

.totoloto-chave--game-euromilhoes .totoloto-chaves-table--main tbody td.totoloto-chaves-table__key .totoloto-chaves-n {
	min-width: 1.45em;
	padding: 0.04em 0.16em;
	margin-right: 0.08em;
}

.totoloto-chave--game-eurojackpot .totoloto-chaves-table--main tbody td.totoloto-chaves-table__key .totoloto-chaves-n {
	min-width: 1.45em;
	padding: 0.04em 0.16em;
	margin-right: 0.08em;
}

.totoloto-chaves-table--main tbody td.totoloto-chaves-table__key .totoloto-chaves-n-plus {
	margin: 0 0.06em;
	padding: 0.04em 0.1em;
	line-height: 1.25;
	vertical-align: middle;
}

.totoloto-chaves-row--late-ext {
	display: none;
}

.totoloto-chave--chaves.is-hl-late .totoloto-chaves-row--late-ext {
	display: table-row;
}

.totoloto-chaves-row--next {
	display: table-row;
}

.totoloto-chaves-row--upcoming {
	display: table-row;
}

.totoloto-chaves-table tbody tr.totoloto-chaves-row--next th,
.totoloto-chaves-table tbody tr.totoloto-chaves-row--next td {
	background: #f6f6f7;
	color: #6a6a6a;
}

.totoloto-chaves-table tbody tr.totoloto-chaves-row--next td.totoloto-chaves-table__gap {
	background: transparent;
}

.totoloto-chaves-n--pending {
	background: #cfd0d2;
	color: #cfd0d2;
	-webkit-text-fill-color: #cfd0d2;
	min-height: 1.15em;
	vertical-align: middle;
}

.totoloto-chave--chaves.is-hl-last .totoloto-chaves-table tbody tr.totoloto-chaves-row--next td.totoloto-chaves-table__key .totoloto-chaves-n,
.totoloto-chave--chaves.is-hl-hot .totoloto-chaves-table tbody tr.totoloto-chaves-row--next td.totoloto-chaves-table__key .totoloto-chaves-n,
.totoloto-chave--chaves.is-hl-cold .totoloto-chaves-table tbody tr.totoloto-chaves-row--next td.totoloto-chaves-table__key .totoloto-chaves-n,
.totoloto-chave--chaves.is-hl-late .totoloto-chaves-table tbody tr.totoloto-chaves-row--next td.totoloto-chaves-table__key .totoloto-chaves-n {
	background: #cfd0d2;
	color: #cfd0d2;
	-webkit-text-fill-color: #cfd0d2;
}

.totoloto-chaves-table {
	width: 100%;
	border-collapse: collapse;
	table-layout: auto;
	font-size: 0.95rem;
	line-height: 1.15;
}

.totoloto-chaves-table th,
.totoloto-chaves-table td {
	padding: 0.38rem 0.4rem;
	border: 1px solid var(--geo-line, #ddd);
	text-align: center;
	white-space: nowrap;
}

.totoloto-chaves-split .totoloto-chaves-table tbody th,
.totoloto-chaves-split .totoloto-chaves-table tbody td {
	height: 1.7rem;
	padding-top: 0;
	padding-bottom: 0;
	vertical-align: middle;
	line-height: 1.25;
	box-sizing: border-box;
}

.totoloto-chaves-split .totoloto-chaves-table thead tr:first-child th {
	height: 1.65rem;
	box-sizing: border-box;
	vertical-align: middle;
}

.totoloto-chaves-split .totoloto-chaves-table thead tr.totoloto-chaves-table__idx th {
	height: 0.55rem;
	top: 1.65rem;
	box-sizing: border-box;
	vertical-align: middle;
	padding-top: 0;
	padding-bottom: 0;
	line-height: 0.4;
	color: transparent;
	overflow: hidden;
}

.totoloto-chaves-table thead th.totoloto-chaves-table__group,
.totoloto-chaves-table thead tr.totoloto-chaves-table__idx th {
	padding-left: 0.08rem;
	padding-right: 0.08rem;
}

.totoloto-chaves-table tbody td.totoloto-chaves-table__c {
	padding: 0.12rem 0.05rem;
}

@media (max-width: 800px) {
	.totoloto-chaves-split {
		gap: 0.65rem 1rem;
	}

	.totoloto-chaves-split .totoloto-chaves-table-wrap--main,
	.totoloto-chaves-split .totoloto-chaves-table-wrap--occ {
		width: max-content;
		min-width: max-content;
		max-width: none;
	}

	.totoloto-chaves-split .totoloto-chaves-table {
		font-size: 0.82rem;
	}

	.totoloto-chaves-split .totoloto-chaves-table--main {
		width: max-content;
		min-width: max-content;
		max-width: none;
		table-layout: auto;
	}

	.totoloto-chaves-table--main .totoloto-chaves-table__n,
	.totoloto-chaves-table--main tbody th[scope="row"] {
		width: 3.6ch;
		min-width: 3.6ch;
		max-width: 3.6ch;
		padding-left: 0.18rem;
		padding-right: 0.18rem;
	}

	.totoloto-chaves-table--main .totoloto-chaves-table__date {
		width: 10ch;
		min-width: 10ch;
		max-width: 10ch;
		padding-left: 0.18rem;
		padding-right: 0.12rem;
	}

	.totoloto-chaves-table--main .totoloto-chaves-table__key,
	.totoloto-chaves-table--main thead th.totoloto-chaves-table__key,
	.totoloto-chaves-table--main tbody td.totoloto-chaves-table__key {
		width: 1%;
		min-width: 0;
		max-width: none;
		padding: 0 0.12rem;
		white-space: nowrap;
	}

	.totoloto-chaves-table--main tbody td.totoloto-chaves-table__key .totoloto-chaves-n {
		min-width: 1.45em;
		padding: 0.04em 0.16em;
		margin-right: 0.08em;
		flex-shrink: 0;
	}

	.totoloto-chave--game-euromilhoes .totoloto-chaves-table--main tbody td.totoloto-chaves-table__key .totoloto-chaves-n {
		min-width: 1.35em;
		padding: 0.04em 0.14em;
		margin-right: 0.06em;
	}

	.totoloto-chaves-table--main .totoloto-chaves-table__gap,
	.totoloto-chaves-table--main thead th.totoloto-chaves-table__gap,
	.totoloto-chaves-table--main tbody td.totoloto-chaves-table__gap {
		width: 0.25rem;
		min-width: 0.25rem;
		max-width: 0.25rem;
		padding: 0;
	}

	.totoloto-chaves-table--main thead th.totoloto-chaves-table__z,
	.totoloto-chaves-table--main tbody td.totoloto-chaves-table__z {
		width: 1.4rem;
		min-width: 1.4rem;
		max-width: 1.4rem;
		padding-left: 0.08rem;
		padding-right: 0.08rem;
	}

	.totoloto-chaves-table--occ tbody td.totoloto-chaves-table__c {
		width: 1.1rem;
		min-width: 1.1rem;
		max-width: 1.1rem;
		padding-left: 0.05rem;
		padding-right: 0.05rem;
	}
}

.totoloto-chaves-table thead th {
	position: sticky;
	top: 0;
	z-index: 2;
	background: #f6f7f7;
	font-weight: 700;
	text-transform: lowercase;
}

.totoloto-chaves-table--main thead th.totoloto-chaves-table__key {
	z-index: 3;
}

.totoloto-chaves-table--main thead th.totoloto-chaves-table__z {
	z-index: 1;
	text-transform: uppercase;
}

.totoloto-chaves-table thead tr:first-child th {
	top: 0;
}

.totoloto-chaves-table thead tr:first-child th.totoloto-chaves-table__idx-lab {
	text-transform: none;
	font-variant-numeric: tabular-nums;
}

.totoloto-chaves-table thead tr.totoloto-chaves-table__idx th {
	top: 1.65rem;
	font-weight: 400;
	color: transparent;
	background: #f6f7f7;
	line-height: 0.4;
	padding-top: 0;
	padding-bottom: 0;
	height: 0.55rem;
	overflow: hidden;
}

.totoloto-chaves-table__n,
.totoloto-chaves-table tbody th[scope="row"] {
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.totoloto-chaves-table__date {
	text-align: left;
	font-variant-numeric: tabular-nums;
}

.totoloto-chaves-table__key {
	text-align: left;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0;
}

.totoloto-chaves-table__c {
	font-variant-numeric: tabular-nums;
	width: 1.2rem;
	min-width: 1.1rem;
}

.totoloto-chaves-table__rest {
	text-align: left;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.02em;
	min-width: 7.5rem;
}

.totoloto-chaves-table thead th.totoloto-chaves-table__rest {
	text-transform: none;
}

.totoloto-chaves-table thead th.totoloto-chaves-table__z--last,
.totoloto-chaves-table tbody td.totoloto-chaves-table__z--last {
	background: #f5d0cc;
	color: #6b2a25;
}

.totoloto-chaves-table thead th.totoloto-chaves-table__z--hot,
.totoloto-chaves-table tbody td.totoloto-chaves-table__z--hot {
	background: #ebc84e;
	color: #3d3208;
}

.totoloto-chaves-table thead th.totoloto-chaves-table__z--cold,
.totoloto-chaves-table tbody td.totoloto-chaves-table__z--cold {
	background: #cfe4f3;
	color: #1b4566;
}

.totoloto-chaves-table thead th.totoloto-chaves-table__z--late,
.totoloto-chaves-table tbody td.totoloto-chaves-table__z--late {
	background: #ddd8eb;
	color: #3a3154;
}

.totoloto-chaves-table tbody tr.totoloto-chaves-row--current th,
.totoloto-chaves-table tbody tr.totoloto-chaves-row--current td {
	background: #d8f0d4;
	color: #1a3d28;
}

.totoloto-chaves-table tbody tr.totoloto-chaves-row--current td.totoloto-chaves-table__gap {
	background: transparent;
}

.totoloto-chaves-table tbody tr.totoloto-chaves-row--next td.totoloto-chaves-table__c--forecast,
.totoloto-chaves-table tbody tr.totoloto-chaves-row--upcoming td.totoloto-chaves-table__c--forecast {
	color: transparent;
	-webkit-text-fill-color: transparent;
	font-weight: 400;
}

.totoloto-chaves-table tbody tr.totoloto-chaves-row--future {
	opacity: 0.48;
}

.totoloto-chaves-table tbody tr.totoloto-chaves-row--future th,
.totoloto-chaves-table tbody tr.totoloto-chaves-row--future td {
	background: #f4f4f4;
	color: #777;
}

.totoloto-chaves-table tbody tr.totoloto-chaves-row--future td.totoloto-chaves-table__gap {
	background: transparent;
}

.totoloto-chaves-table__gap,
.totoloto-chaves-table thead th.totoloto-chaves-table__gap,
.totoloto-chaves-table tbody td.totoloto-chaves-table__gap {
	width: 0.85rem;
	min-width: 0.7rem;
	max-width: 1rem;
	padding: 0;
	border-left: none;
	border-right: none;
	background: transparent;
}

.totoloto-chaves-table--main .totoloto-chaves-table__gap,
.totoloto-chaves-table--main thead th.totoloto-chaves-table__gap,
.totoloto-chaves-table--main tbody td.totoloto-chaves-table__gap {
	width: 0.25rem;
	min-width: 0.25rem;
	max-width: 0.25rem;
	padding: 0;
}

.totoloto-chaves-pager {
	margin: 0.85rem 0 0;
}

.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;
}

.totoloto-chaves-foot .totoloto-chaves-pager {
	margin: 0;
}

.totoloto-chaves-foot .totoloto-chaves-zone-hl {
	margin: 0;
	justify-content: flex-end;
	flex: 1 1 auto;
}

.totoloto-chave-table-wrap {
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
	box-sizing: border-box;
}

.totoloto-chave-matrix {
	margin: 1.5rem 0 1.25rem;
}

.totoloto-chave-matrix__title {
	margin: 0 0 0.65rem;
	font-size: 1.05rem;
	font-weight: 700;
	color: #111;
}

.totoloto-chave-matrix-wrap {
	width: 100%;
	max-width: 100%;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	box-sizing: border-box;
	max-height: 22rem;
	scrollbar-gutter: stable;
	border: 1px solid var(--geo-line, #ddd);
	background: #fff;
}

.totoloto-chave-matrix-table {
	width: max-content;
	min-width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
	font-size: 0.68rem;
	line-height: 1.15;
	font-variant-numeric: tabular-nums;
	color: #111;
	--chave-n-col-w: 1.35rem;
	--chave-key-col-w: 1.55rem;
	--chave-date-w: 6.75rem;
}

.totoloto-chave-matrix-table th,
.totoloto-chave-matrix-table td {
	border: 1px solid #ccc;
	padding: 0.12rem 0.04rem;
	text-align: center;
	vertical-align: middle;
	white-space: nowrap;
	box-sizing: border-box;
}

.totoloto-chave-matrix__date-h,
.totoloto-chave-matrix__date {
	width: var(--chave-date-w);
	min-width: var(--chave-date-w);
	max-width: var(--chave-date-w);
	text-align: left;
	padding-left: 0.2rem;
	padding-right: 0.15rem;
	position: sticky;
	left: 0;
	z-index: 2;
	background: #fff;
	font-weight: 600;
}

.totoloto-chave-matrix__date-h {
	top: 0;
	z-index: 4;
	background: #f4f4f4;
}

.totoloto-chave-matrix__key-h,
.totoloto-chave-matrix__key {
	width: var(--chave-key-col-w);
	min-width: var(--chave-key-col-w);
	max-width: var(--chave-key-col-w);
	text-align: center;
	font-variant-numeric: tabular-nums;
	font-weight: 700;
	padding: 0.1rem 0.02rem;
	box-sizing: border-box;
	position: sticky;
	z-index: 2;
	background: #fff;
}

.totoloto-chave-matrix__keys-h {
	text-align: center;
	font-weight: 700;
	font-size: 0.72rem;
	position: sticky;
	top: 0;
	left: var(--chave-date-w);
	z-index: 4;
	background: #f4f4f4;
	box-shadow: 2px 0 0 #ddd;
	padding: 0.15rem 0.06rem;
}

.totoloto-chave-matrix__key-h:nth-child(2),
.totoloto-chave-matrix__key:nth-child(2) { left: var(--chave-date-w); }
.totoloto-chave-matrix__key-h:nth-child(3),
.totoloto-chave-matrix__key:nth-child(3) { left: calc(var(--chave-date-w) + var(--chave-key-col-w)); }
.totoloto-chave-matrix__key-h:nth-child(4),
.totoloto-chave-matrix__key:nth-child(4) { left: calc(var(--chave-date-w) + (2 * var(--chave-key-col-w))); }
.totoloto-chave-matrix__key-h:nth-child(5),
.totoloto-chave-matrix__key:nth-child(5) { left: calc(var(--chave-date-w) + (3 * var(--chave-key-col-w))); }
.totoloto-chave-matrix__key-h:nth-child(6),
.totoloto-chave-matrix__key:nth-child(6) { left: calc(var(--chave-date-w) + (4 * var(--chave-key-col-w))); }
.totoloto-chave-matrix__key-h:nth-child(7),
.totoloto-chave-matrix__key:nth-child(7) { left: calc(var(--chave-date-w) + (5 * var(--chave-key-col-w))); }

.totoloto-chave-matrix__key-h.is-last-key,
.totoloto-chave-matrix__key.is-last-key {
	box-shadow: 2px 0 0 #ddd;
}

.totoloto-chave-matrix__n-h {
	width: var(--chave-n-col-w);
	min-width: var(--chave-n-col-w);
	max-width: var(--chave-n-col-w);
	position: sticky;
	top: 0;
	z-index: 1;
	background: #f4f4f4;
	font-weight: 700;
	font-size: 0.62rem;
	padding: 0.15rem 0.02rem;
}

.totoloto-chave-matrix__n {
	width: var(--chave-n-col-w);
	min-width: var(--chave-n-col-w);
	max-width: var(--chave-n-col-w);
	height: 1.45rem;
	font-size: 0.62rem;
	padding: 0.08rem 0.02rem;
	color: transparent;
}

.totoloto-chave-matrix__n.is-hit {
	color: #111;
	font-weight: 700;
	background: #e8f5e9;
}

.totoloto-chave-table {
	width: max-content;
	min-width: 0;
	border-collapse: collapse;
	font-size: 0.72rem;
	table-layout: auto;
}

.totoloto-chave-table th,
.totoloto-chave-table td {
	border: 1px solid #ccc;
	padding: 0.05rem 0.06rem;
	text-align: center;
	white-space: nowrap;
	box-sizing: border-box;
}

.totoloto-chave-table thead th {
	background: #f3f3f3;
	font-weight: 700;
	padding: 0.06rem 0.05rem;
}

.totoloto-chave-table thead > tr > th:first-child,
.totoloto-chave-table tbody > tr > th[scope="row"] {
	padding: 0.05rem 0.1rem 0.05rem 0.08rem;
	width: 1%;
	white-space: nowrap;
	line-height: 1.15;
	text-align: left;
}

.totoloto-chave-table tbody th[scope="row"] {
	font-weight: 600;
	background: #fafafa;
}

.totoloto-chave-summary {
	margin-top: 1.5rem;
}

.totoloto-chave-table thead > tr > th:nth-child(2),
.totoloto-chave-table tbody > tr > td.totoloto-chave-table__fig {
	padding: 0.05rem 0.06rem;
	width: 1%;
	white-space: nowrap;
}

.totoloto-chave-table__fig {
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.01em;
}

.totoloto-chave-table .totoloto-oe-table__hist,
.totoloto-chave-table .totoloto-oe-table__hist-h,
.totoloto-chave-table .totoloto-oe-table__hist.is-first,
.totoloto-chave-table .totoloto-oe-table__hist.is-last,
.totoloto-chave-table thead th.totoloto-oe-table__hist-h {
	min-width: 0;
	max-width: 1.35em;
	width: 1.35em;
	padding: 0.04rem 0.14rem !important;
	box-sizing: border-box;
}

.totoloto-chave-table__delay-sum th,
.totoloto-oe-table tfoot .totoloto-chave-table__delay-sum th {
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1.25;
	text-align: left;
	vertical-align: middle;
	padding: 0.35rem 0.4rem;
	background: #fff5f5;
	border-top: 1px solid #ef9a9a;
	color: #111;
	white-space: normal;
	max-width: 14rem;
}

.totoloto-chave-table__delay-sum td,
.totoloto-oe-table tfoot .totoloto-chave-table__delay-sum td {
	font-weight: 700;
	border-top: 1px solid #ef9a9a;
	vertical-align: middle;
}

.totoloto-chave-table__delay-sum .totoloto-chave-table__delay-heat,
.totoloto-oe-table tfoot .totoloto-chave-table__delay-heat {
	background: #00bcd4;
	color: #111;
}

.totoloto-oe-theory-link {
	font-weight: 700;
	color: #1565c0;
	text-decoration: underline;
	white-space: nowrap;
}

.totoloto-oe-theory-link:hover,
.totoloto-oe-theory-link:focus {
	color: #0d47a1;
}

.totoloto-teoria {
	max-width: 46rem;
	padding: 0.25rem 0 1.5rem;
}

.totoloto-teoria__title {
	margin: 0 0 0.65rem;
	font-size: 1.35rem;
	font-weight: 800;
	color: #111;
}

.totoloto-teoria__lead {
	margin: 0 0 1.15rem;
	font-size: 0.95rem;
	line-height: 1.55;
	color: #333;
}

.totoloto-teoria-faq {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	margin: 0;
	padding: 0;
}

.totoloto-teoria-faq__item {
	margin: 0;
	border: 1px solid var(--geo-line, #ddd);
	background: #fff;
	scroll-margin-top: 5rem;
}

.totoloto-teoria-faq__item[open] {
	border-color: #c5c5c5;
	background: #fafafa;
}

.totoloto-teoria-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.85rem;
	margin: 0;
	padding: 0.85rem 1rem;
	cursor: pointer;
	list-style: none;
	font-size: 0.98rem;
	font-weight: 700;
	line-height: 1.35;
	color: #111;
	user-select: none;
}

.totoloto-teoria-faq__q::-webkit-details-marker {
	display: none;
}

.totoloto-teoria-faq__q::marker {
	content: '';
}

.totoloto-teoria-faq__q:hover .totoloto-teoria-faq__q-text,
.totoloto-teoria-faq__q:focus .totoloto-teoria-faq__q-text {
	color: #1565c0;
}

.totoloto-teoria-faq__q-text {
	flex: 1;
	min-width: 0;
}

.totoloto-teoria-faq__icon {
	flex: 0 0 auto;
	width: 0.65rem;
	height: 0.65rem;
	border-right: 2px solid #666;
	border-bottom: 2px solid #666;
	transform: rotate(45deg);
	transition: transform 0.18s ease;
	margin-top: -0.2rem;
}

.totoloto-teoria-faq__item[open] .totoloto-teoria-faq__icon {
	transform: rotate(225deg);
	margin-top: 0.15rem;
}

.totoloto-teoria-faq__a {
	padding: 0 1rem 1rem;
	border-top: 1px solid var(--geo-line, #eee);
}

.totoloto-teoria-faq__a p,
.totoloto-teoria__list {
	margin: 0.85rem 0 0;
	font-size: 0.92rem;
	line-height: 1.55;
	color: #333;
	font-weight: 400;
}

.totoloto-teoria__list {
	padding-left: 1.2rem;
}

.totoloto-teoria__note {
	margin-top: 1rem;
	padding: 0.75rem 0.9rem;
	border-left: 3px solid #ef9a9a;
	background: #fff5f5;
	font-weight: 600;
}

.totoloto-chave-table tbody td:not(.totoloto-chave-table__fig):not(.totoloto-oe-table__hist) {
	padding: 0.05rem 0.05rem;
	width: 1%;
}

.totoloto-oddeven__title {
	margin: 0 0 0.65rem;
	font-size: 1.2rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #1a1a1a;
}

.totoloto-oddeven__text,
.totoloto-oddeven__note {
	margin: 0 0 0.65rem;
	max-width: none;
	color: var(--geo-muted, #555);
	font-size: 0.9rem;
	line-height: 1.5;
}

.totoloto-oddeven__note {
	margin-bottom: 0;
}

.totoloto-oe-table-wrap {
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
	box-sizing: border-box;
}

.totoloto-oe-table [data-oe-hist-col][hidden] {
	display: none !important;
}

.totoloto-oe-table {
	width: max-content;
	min-width: 100%;
	border-collapse: collapse;
	table-layout: auto;
	font-size: 0.7rem;
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
	color: #111;
	background: #fff;
}

.totoloto-oe-table th,
.totoloto-oe-table td {
	border: 1px solid #111;
	padding: 0.12rem 0.14rem;
	text-align: center;
	vertical-align: middle;
	font-weight: 400;
	white-space: nowrap;
}

.totoloto-oe-table thead th {
	font-weight: 700;
	background: #fff;
	line-height: 1.15;
	padding-top: 0.14rem;
	padding-bottom: 0.14rem;
}

.totoloto-oe-table__hist,
.totoloto-oe-table__hist-h {
	min-width: 1.05rem;
	padding: 0.1rem 0.14rem;
	box-sizing: border-box;
	border-left: 0 none;
	border-right: 0 none;
	background: #fff;
	text-align: center;
}

.totoloto-oe-table__hist.is-first {
	border-left: 1px solid #111;
	padding-left: 0.22rem;
}

.totoloto-oe-table__hist.is-last {
	border-right: 1px solid #111;
	padding-right: 0.22rem;
}

.totoloto-oe-table__hist.is-delay,
.totoloto-chave-table .totoloto-oe-table__hist.is-delay {
	font-weight: inherit;
	color: inherit;
	background: #ffcdd2;
}

.totoloto-oe-table thead th.totoloto-oe-table__hist-h {
	border-left: 1px solid #111;
	border-right: 1px solid #111;
	text-align: center;
}

.totoloto-oe-table__figura {
	font-weight: 700;
	text-align: center;
}

.totoloto-oe-table__poss {
	min-width: 3.6rem;
	width: 3.8rem;
	max-width: 4.2rem;
	padding-left: 0.1rem;
	padding-right: 0.1rem;
	font-size: 0.65rem;
	line-height: 1.1;
	white-space: normal;
	overflow-wrap: break-word;
	word-break: normal;
	hyphens: auto;
	box-sizing: border-box;
	overflow: hidden;
}

.totoloto-oe-table__signed.is-excess,
.totoloto-oe-table__signed.is-excess span,
.totoloto-chave-table .totoloto-oe-table__signed.is-excess,
.totoloto-chave-table .totoloto-oe-table__signed.is-excess span {
	font-weight: 700;
	color: #1565c0;
}

.totoloto-oe-table__signed.is-delay,
.totoloto-oe-table__signed.is-delay span,
.totoloto-chave-table .totoloto-oe-table__signed.is-delay,
.totoloto-chave-table .totoloto-oe-table__signed.is-delay span {
	font-weight: 700;
	color: #c62828;
}

.totoloto-oddeven__empty {
	margin: 0;
	color: var(--geo-muted, #555);
}

.totoloto-oe-timeline-wrap {
	width: 100%;
	max-width: 100%;
	margin-top: 0;
	overflow-x: auto;
	overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	box-sizing: border-box;
	/* Fallback until JS sizes to 10 draw rows. */
	max-height: 22rem;
	scrollbar-gutter: stable;
}

.totoloto-oe-timeline [data-oe-draw-col][hidden],
.totoloto-oe-timeline [data-oe-draw-row][hidden],
.totoloto-oe-timeline [data-oe-fig-col][hidden] {
	display: none !important;
}

.totoloto-oe-timeline {
	width: max-content;
	min-width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
	font-size: 0.78rem;
	line-height: 1.2;
	font-variant-numeric: tabular-nums;
	color: #111;
	background: #fff;
	--oe-fig-col-w: 3.5rem; /* ~56px — equal width for all figure columns */
}

.totoloto-oe-timeline th,
.totoloto-oe-timeline td {
	border: 1px solid #111;
	padding: 0.28rem 0.18rem;
	text-align: center;
	vertical-align: middle;
	white-space: nowrap;
	font-weight: 400;
}

.totoloto-oe-timeline__brand {
	min-width: 8.5rem;
	width: 8.5rem;
	box-sizing: border-box;
	font-weight: 700;
	line-height: 1.25;
	padding: 0.45rem 0.5rem;
	vertical-align: bottom;
	position: sticky;
	left: 0;
	top: 0;
	z-index: 4;
	background: #fff;
}

.totoloto-oe-timeline__brand-name {
	display: block;
	font-size: 0.95rem;
	font-weight: 800;
	letter-spacing: 0.03em;
}

.totoloto-oe-timeline__brand .totoloto-oe-timeline__figura-h,
.totoloto-oe-timeline__brand .totoloto-oe-timeline__date-h {
	display: block;
	width: 100%;
	margin-top: 0.35rem;
	padding-top: 0.35rem;
	border-top: 1px solid #111;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0;
}

.totoloto-oe-timeline__figura {
	font-weight: 700;
	width: var(--oe-fig-col-w);
	min-width: var(--oe-fig-col-w);
	max-width: var(--oe-fig-col-w);
	box-sizing: border-box;
	overflow: hidden;
	text-overflow: ellipsis;
	padding-left: 0.12rem;
	padding-right: 0.12rem;
	position: sticky;
	top: 0;
	z-index: 2;
	background: #fff;
}

.totoloto-oe-timeline__date {
	min-width: 8.5rem;
	width: 8.5rem;
	max-width: 8.5rem;
	text-align: left;
	padding: 0.28rem 0.5rem;
	font-size: 0.72rem;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	position: sticky;
	left: 0;
	z-index: 1;
	background: #fff;
	box-sizing: border-box;
}

.totoloto-oe-timeline__date span {
	display: inline;
	writing-mode: horizontal-tb;
	transform: none;
	white-space: nowrap;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
}

.totoloto-oe-timeline__legend {
	min-width: 8.5rem;
	max-width: 10rem;
	text-align: left;
	white-space: normal;
	font-size: 0.68rem;
	font-weight: 600;
	line-height: 1.3;
	padding: 0.35rem 0.5rem;
	vertical-align: top;
	position: sticky;
	left: 0;
	z-index: 2;
	background: #f7f7f7;
}

.totoloto-oe-timeline__notes .totoloto-oe-timeline__note {
	white-space: normal;
	font-size: 0.65rem;
	line-height: 1.25;
	width: var(--oe-fig-col-w);
	min-width: var(--oe-fig-col-w);
	max-width: var(--oe-fig-col-w);
	box-sizing: border-box;
	vertical-align: top;
	background: #fafafa;
	padding: 0.28rem 0.12rem;
	overflow-wrap: anywhere;
}

.totoloto-oe-timeline__notes .totoloto-oe-timeline__legend {
	position: sticky;
	left: 0;
	bottom: 0;
	z-index: 2;
	background: #f7f7f7;
}

.totoloto-oe-timeline tbody .totoloto-oe-timeline__notes td,
.totoloto-oe-timeline tbody .totoloto-oe-timeline__notes th {
	position: sticky;
	bottom: 0;
	z-index: 2;
	background: #fafafa;
	box-shadow: 0 -1px 0 #111;
}

.totoloto-oe-timeline tbody .totoloto-oe-timeline__notes th {
	background: #f7f7f7;
	z-index: 3;
}

.totoloto-oe-timeline__cell {
	width: var(--oe-fig-col-w);
	min-width: var(--oe-fig-col-w);
	max-width: var(--oe-fig-col-w);
	box-sizing: border-box;
	height: 1.7rem;
	overflow: hidden;
	text-overflow: ellipsis;
	padding-left: 0.12rem;
	padding-right: 0.12rem;
}

.totoloto-oe-timeline__cell.is-hit {
	font-weight: 700;
	background: #e8f5e9;
}

.totoloto-oe-timeline__note {
	width: var(--oe-fig-col-w);
	min-width: var(--oe-fig-col-w);
	max-width: var(--oe-fig-col-w);
	box-sizing: border-box;
	text-align: left;
	white-space: normal;
	font-size: 0.72rem;
	padding: 0.28rem 0.12rem;
	overflow-wrap: anywhere;
}

.totoloto-oe-timeline__note.is-delay {
	font-weight: 700;
	color: #c62828;
}

@media (max-width: 900px) {
	.totoloto-oddeven,
	.totoloto-oddeven--euromilhoes {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}

	.totoloto-oddeven__visual,
	.totoloto-oddeven--euromilhoes .totoloto-oddeven__visual,
	.totoloto-oddeven__copy,
	.totoloto-oddeven--euromilhoes .totoloto-oddeven__copy,
	.totoloto-oe-summary {
		grid-column: auto;
		width: auto;
		max-width: none;
		min-width: 0;
	}

	.totoloto-chave-table-wrap,
	.totoloto-oe-table-wrap,
	.totoloto-oe-timeline-wrap {
		display: block;
		width: 100%;
		max-width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior-x: contain;
	}

	.totoloto-chave-table,
	.totoloto-oe-table,
	.totoloto-oe-timeline {
		width: max-content;
		max-width: none;
	}

	.totoloto-chave-balls-stack {
		gap: 0.85rem 1.1rem;
		margin-bottom: 0.95rem;
	}

	.totoloto-oe-summary__list {
		grid-template-columns: 1fr;
	}

	.totoloto-resumo__eras {
		grid-template-columns: 1fr;
	}
}

@media (min-width: 901px) and (max-width: 1100px) {
	.totoloto-oe-summary__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.totoloto-resumo__eras {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Grelha estatística estilo boletim Totoloto (época) */
.totoloto-boletim {
	--boletim-ink: #c2185b;
	--boletim-paper: #f7f0e8;
	max-width: 28rem;
	margin: 0 0 1.75rem;
	padding: 0.65rem;
	background: var(--boletim-paper);
	border: 2px solid var(--boletim-ink);
	color: var(--boletim-ink);
}

.totoloto-boletim__head {
	text-align: center;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 0.35rem 0.5rem 0.55rem;
	border-bottom: 1px solid var(--boletim-ink);
	margin-bottom: 0.55rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.totoloto-boletim__grid {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0.28rem;
	table-layout: fixed;
}

.totoloto-boletim__bet {
	width: 2.1rem;
	text-align: center;
	vertical-align: middle;
	font-size: 1.55rem;
	font-weight: 800;
	line-height: 1;
	color: var(--boletim-ink);
	border: 0;
	padding: 0;
}

.totoloto-boletim__empty {
	border: 0;
	padding: 0;
}

.totoloto-boletim__cell {
	border: 1.5px solid var(--boletim-ink);
	background: transparent;
	text-align: center;
	vertical-align: middle;
	padding: 0.28rem 0.15rem;
	aspect-ratio: 1 / 1;
}

.totoloto-boletim__n {
	display: block;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
}

.totoloto-boletim__stat {
	display: block;
	font-size: 0.58rem;
	font-weight: 600;
	line-height: 1.15;
	opacity: 0.85;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.totoloto-boletim__legend {
	margin: 0.55rem 0 0;
	font-size: 0.72rem;
	opacity: 0.8;
}

.totoloto-boletim--7x7 {
	max-width: 26rem;
}

.totoloto-boletim--extra {
	max-width: 26rem;
}

@media (max-width: 480px) {
	.totoloto-boletim {
		max-width: 100%;
		padding: 0.45rem;
	}

	.totoloto-boletim__grid {
		border-spacing: 0.18rem;
	}

	.totoloto-boletim__n {
		font-size: 0.82rem;
	}

	.totoloto-boletim__stat {
		font-size: 0.52rem;
	}

	.totoloto-boletim__head {
		white-space: normal;
	}
}

/* LotWin hub — abas estilo SportsPress / WP nav-tab */
.totoloto-lotwin__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	width: 100%;
	min-width: 90%;
	max-width: 100%;
	margin: 0 0 0;
	padding: 9px 0 0;
	border-bottom: 1px solid #c3c4c7;
	background: transparent;
	line-height: inherit;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}

.totoloto-lotwin__tab {
	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;
}

.totoloto-lotwin__tab:first-child {
	margin-left: 0;
}

.totoloto-lotwin__tab:hover {
	background: #fff;
	color: #3c434a;
}

.totoloto-lotwin__tab.is-active {
	margin-bottom: -1px;
	padding-bottom: 6px;
	border-bottom: 1px solid #fff;
	background: #fff;
	color: #000;
}

.totoloto-lotwin__workspace {
	display: grid;
	grid-template-columns: minmax(260px, 1.1fr) minmax(220px, 0.9fr);
	gap: 1.25rem 1.75rem;
	align-items: start;
}

@media (max-width: 800px) {
	.totoloto-lotwin__workspace {
		grid-template-columns: 1fr;
	}
}

.totoloto-lotwin__hint {
	margin: 0 0 0.65rem;
	font-size: 0.85rem;
	color: var(--geo-muted, #555);
}

.totoloto-boletim--lotwin .totoloto-lotwin__cell {
	cursor: pointer;
	user-select: none;
	transition: background 0.12s ease, color 0.12s ease;
}

.totoloto-boletim--lotwin .totoloto-lotwin__cell.is-pool {
	background: #d7e3f4;
	color: #163044;
}

.totoloto-boletim--lotwin .totoloto-lotwin__cell.is-bank {
	background: #163044;
	color: #fff;
	border-color: #163044;
}

.totoloto-boletim--lotwin .totoloto-lotwin__cell.is-excl {
	background: #f3d6d6;
	color: #8a2b2b;
	text-decoration: line-through;
}

.totoloto-lotwin__ns {
	display: flex;
	flex-wrap: wrap;
	gap: 0.28rem;
	padding: 0.35rem 0 0.15rem;
}

.totoloto-lotwin__ns-btn {
	min-width: 2.2rem;
	height: 2.2rem;
	border: 1.5px solid var(--boletim-ink, #c2185b);
	background: transparent;
	color: var(--boletim-ink, #c2185b);
	font-weight: 700;
	cursor: pointer;
}

.totoloto-lotwin__ns-btn.is-active {
	background: var(--boletim-ink, #c2185b);
	color: #fff;
}

.totoloto-lotwin__side label {
	display: block;
	margin-bottom: 0.75rem;
	font-size: 0.9rem;
}

.totoloto-lotwin__input,
.totoloto-lotwin__preset select {
	display: block;
	width: 100%;
	margin-top: 0.3rem;
	font: inherit;
	padding: 0.5rem 0.65rem;
	border: 1px solid var(--geo-line, #d0d0d0);
}

.totoloto-lotwin__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0.75rem 0;
}

.totoloto-lotwin__counts {
	font-size: 0.85rem;
	color: var(--geo-muted, #555);
}

.totoloto-lotwin__out {
	margin-top: 0.75rem;
	padding: 0.75rem;
	background: #0c1a24;
	color: #e8dcc8;
	font-family: ui-monospace, Consolas, monospace;
	font-size: 0.8rem;
	line-height: 1.4;
	max-height: 22rem;
	overflow: auto;
	white-space: pre-wrap;
}

.totoloto-lotwin__meta {
	margin: 0.75rem 0;
}

#totoloto-lotwin-msg.is-error {
	border-left-color: #b33;
	background: #fdecec;
}

.totoloto-msg {
	padding: 0.75rem 1rem;
	background: var(--geo-accent-soft);
	border-left: 3px solid var(--geo-accent);
	margin-bottom: 1rem;
}

/* Sorteios — abas estilo SportsPress / WP admin nav-tab */
.totoloto-game-tabs,
.totoloto-era-tabs,
.totoloto-year-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	width: 100%;
	min-width: 90%;
	max-width: 100%;
	margin: 0 0 1.25rem;
	padding: 9px 0 0;
	border-bottom: 1px solid #c3c4c7;
	background: transparent;
	line-height: inherit;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}

.totoloto-game-tabs__item,
.totoloto-era-tabs__item,
.totoloto-year-tabs__item {
	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;
}

.totoloto-game-tabs__item:first-child,
.totoloto-era-tabs__item:first-child,
.totoloto-year-tabs__item:first-child {
	margin-left: 0;
}

.totoloto-game-tabs__item:hover,
.totoloto-era-tabs__item:hover,
.totoloto-year-tabs__item:hover {
	background: #fff;
	color: #3c434a;
	border-color: #c3c4c7;
}

.totoloto-game-tabs__item.is-active,
.totoloto-era-tabs__item.is-active,
.totoloto-year-tabs__item.is-active {
	margin-bottom: -1px;
	padding-bottom: 6px;
	border: 1px solid #c3c4c7;
	border-bottom: 1px solid #fff;
	background: #fff;
	color: #000;
}

.totoloto-game-tabs__dropdown {
	position: relative;
	display: inline-flex;
	flex: 0 0 auto;
	margin: 0 0 0 0.5em;
}

.totoloto-game-tabs__dropdown .totoloto-game-tabs__toggle {
	margin-left: 0;
	cursor: pointer;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.71428571;
}

.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);
}

.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;
}

.totoloto-game-tabs__subitem:hover,
.totoloto-game-tabs__subitem.is-active {
	color: #000;
	background: #f0f0f1;
}

.totoloto-game-tabs__dropdown.is-open .totoloto-game-tabs__submenu {
	display: block;
}

.totoloto-game-tabs__submenu[hidden] {
	display: none !important;
}

/* Sub-aba: épocas (nav-tab-small) */
.totoloto-era-tabs {
	margin-top: -0.35rem;
	margin-bottom: 1.15rem;
	padding-top: 6px;
}

.totoloto-era-tabs__item {
	padding: 5px 10px;
	font-size: 12px;
	line-height: 1.33;
}

.totoloto-era-tabs__item.is-active {
	padding-bottom: 6px;
}

/* Sub-sub-aba: anos */
.totoloto-year-tabs {
	margin: 0 0 0.85rem;
	padding-top: 6px;
}

.totoloto-year-tabs__item {
	padding: 4px 8px;
	font-size: 12px;
	line-height: 1.33;
	font-variant-numeric: tabular-nums;
}

.totoloto-year-tabs__item.is-active {
	padding-bottom: 5px;
}

@media (min-width: 901px) {
	.totoloto-game-tabs__item {
		padding: 6px 14px;
		font-size: 14px;
	}

	.totoloto-game-tabs__item.is-active {
		padding-bottom: 7px;
	}

	.totoloto-table--sheet {
		font-size: 0.88rem;
	}
}

.totoloto-era-panel__title {
	margin: 0 0 0.35rem;
	font-size: 1.35rem;
}

.totoloto-era-panel__dates {
	margin: 0 0 1.25rem;
	color: var(--geo-muted, #666);
	font-size: 0.9rem;
}

.totoloto-era-block {
	margin-bottom: 1.5rem;
}

.totoloto-era-block h3 {
	margin: 0 0 0.5rem;
	font-size: 1.05rem;
}

.totoloto-era-block ul {
	margin: 0;
	padding-left: 1.2rem;
}

.totoloto-era-block li {
	margin-bottom: 0.25rem;
}

/* Sorteios — duas colunas (desktop primeiro) */
.totoloto-draws-grid {
	display: grid;
	grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.25fr);
	gap: 1.75rem 2.25rem;
	align-items: start;
}

@media (min-width: 1280px) {
	.totoloto-draws-grid {
		grid-template-columns: minmax(320px, 0.85fr) minmax(420px, 1.35fr);
		gap: 2rem 2.75rem;
	}
}

@media (max-width: 900px) {
	.totoloto-draws-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
}

.totoloto-sheet-title {
	margin: 0 0 0.65rem;
	font-size: 1.05rem;
}

.totoloto-sheet {
	overflow: visible;
	border: 1px solid #b7b7b7;
	background: #fff;
}

.totoloto-table--sheet {
	width: 100%;
	border-collapse: collapse;
	font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	font-size: 0.82rem;
	table-layout: auto;
}

.totoloto-table--sheet thead th {
	position: sticky;
	top: 0;
	z-index: 1;
	background: #d9d9d9;
	color: #1a1a1a;
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0;
	border: 1px solid #a6a6a6;
	padding: 0.5rem 0.55rem;
	text-align: center;
	white-space: nowrap;
}

.totoloto-table--sheet tbody td {
	border: 1px solid #c8c8c8;
	padding: 0.4rem 0.55rem;
	vertical-align: middle;
	background: #ffffff;
}

.totoloto-table--sheet tbody tr:nth-child(odd) td {
	background: #ffffff;
}

.totoloto-table--sheet tbody tr:nth-child(even) td {
	background: #eef3f8;
}

.totoloto-table--sheet tbody tr:hover td {
	background: #fff3cd;
}

.totoloto-table--sheet th:nth-child(1),
.totoloto-sheet__concurso {
	width: 4ch;
	max-width: 4.5ch;
	text-align: center;
	font-variant-numeric: tabular-nums;
	font-weight: 650;
	white-space: nowrap;
}

.totoloto-table--sheet th:nth-child(2),
.totoloto-sheet__date {
	width: 10ch;
	text-align: center;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.totoloto-sheet__row--pending {
	background: #fff8e6;
}

.totoloto-sheet__pending {
	display: inline-block;
	margin-left: 0.35rem;
	padding: 0.05rem 0.35rem;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: lowercase;
	color: #8a5a00;
	background: #ffe8a3;
	border-radius: 2px;
	vertical-align: middle;
	white-space: nowrap;
}

.totoloto-sheet__chave-head {
	text-align: center;
}

.totoloto-n {
	width: 2.75ch;
	min-width: 2.75ch;
	max-width: 3.25ch;
	padding-left: 0.2rem !important;
	padding-right: 0.2rem !important;
	text-align: right;
	font-family: ui-monospace, "Cascadia Mono", "Consolas", monospace;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	font-weight: 650;
}

.totoloto-n--plus {
	text-align: center;
	color: #888;
	font-weight: 700;
	width: 1.5ch;
	max-width: 2ch;
}

.totoloto-n--extra {
	color: inherit;
	font-weight: 650;
}

.totoloto-sheet__premios {
	width: 5.5rem;
	text-align: center;
	white-space: nowrap;
}

.totoloto-premios-link {
	font-size: 0.8rem;
	font-weight: 650;
	text-decoration: none;
	color: var(--geo-accent, #c45c26);
}

.totoloto-premios-link.has-data {
	color: #1a1a1a;
	font-weight: 700;
}

.totoloto-premios-link:hover {
	text-decoration: underline;
}

.totoloto-prize-page__back {
	margin: 0 0 1rem;
}

.totoloto-prize-page__head {
	margin-bottom: 1.5rem;
}

.totoloto-prize-page__banner {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.65rem 1rem;
	margin: 0;
	padding: 0.85rem 1rem;
	background: #163044;
	color: #fff;
	font-size: 1.05rem;
	font-weight: 600;
	letter-spacing: 0.01em;
}

.totoloto-prize-page__banner-sep {
	opacity: 0.45;
	font-weight: 400;
}

.totoloto-prize-page__banner-item {
	white-space: nowrap;
}

.totoloto-prize-page__meta {
	margin: 0.5rem 0 0;
	color: var(--geo-muted, #666);
	font-size: 0.9rem;
}

.totoloto-prize-page__chave {
	margin-bottom: 1.75rem;
}

.totoloto-prize-page__chave-title {
	margin: 0 0 0.75rem;
	font-size: 1rem;
	font-weight: 600;
}

.totoloto-prize-page__raffle {
	margin: 0 0 1.5rem;
}

.totoloto-prize-page__raffle-codes {
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem 0.65rem;
	align-items: center;
}

.totoloto-prize-page__raffle-code,
.totoloto-chave__raffle-code {
	display: inline-block;
	padding: 0.35rem 0.65rem;
	border: 1px solid var(--geo-line, #ddd);
	background: #f7f7f7;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: #111;
}

.totoloto-prize-page__raffle-sep {
	color: #888;
}

.totoloto-chave__raffle {
	margin: 0 0 0.85rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 0.75rem;
	align-items: center;
}

.totoloto-chave__raffle-lab {
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #555;
}

.totoloto-balls--prize {
	gap: 0.5rem;
	align-items: center;
}

.totoloto-balls--prize .totoloto-ball {
	min-width: 2.4rem;
	height: 2.4rem;
	font-size: 0.95rem;
}

.totoloto-balls__plus {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--geo-muted, #666);
	padding: 0 0.15rem;
}

.totoloto-table--prizes thead th {
	text-transform: uppercase;
	font-size: 0.78rem;
	letter-spacing: 0.04em;
	white-space: nowrap;
}

.totoloto-table--prizes th,
.totoloto-table--prizes td {
	white-space: nowrap;
}

.totoloto-table--prizes th:nth-child(3),
.totoloto-table--prizes th:nth-child(4),
.totoloto-table--prizes .totoloto-prize-page__winners,
.totoloto-table--prizes .totoloto-prize-page__amount {
	text-align: right;
}

.totoloto-prize-page__hits {
	color: var(--geo-muted, #555);
}

.totoloto-prize-page__tier {
	font-weight: 600;
}

.totoloto-table--chave-only {
	width: auto;
}

.totoloto-prize-page__tiers {
	margin-top: 0.25rem;
}

.totoloto-prize-page__media {
	margin: 1rem 0 1.25rem;
}

.totoloto-prize-page__banner {
	margin: 0 0 0.75rem;
	max-width: 28rem;
}

.totoloto-prize-page__banner img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 2px;
}

.totoloto-prize-page__docs {
	margin: 0;
	font-size: 0.95rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.65rem;
	align-items: center;
}

.totoloto-prize-page__docs-sep {
	opacity: 0.45;
}

.totoloto-prize-page__lista,
.totoloto-prize-page__official {
	font-weight: 600;
}

.totoloto-prize-page__regs,
.totoloto-prize-page__notes {
	margin-top: 0.85rem;
	font-size: 0.9rem;
	color: var(--geo-muted, #666);
}

.totoloto-prize-page__notes--pending {
	padding: 0.55rem 0.75rem;
	color: #8a5a00;
	background: #fff8e6;
	border-left: 3px solid #e6a800;
}

.totoloto-prize-page__taxrow td {
	white-space: normal;
	font-size: 0.82rem;
	line-height: 1.45;
	color: var(--geo-muted, #555);
	font-weight: 400;
	padding-top: 0.85rem;
}

.totoloto-system-block {
	margin-bottom: 1.75rem;
	padding-bottom: 1.5rem;
	border-bottom: 2px solid var(--geo-line, #d0d0d0);
}

.totoloto-system-block:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: 0;
}

.totoloto-system-block__head {
	margin: 0 0 0.65rem;
	padding: 0.65rem 0.75rem;
	background: #e8eef5;
	border: 1px solid #b7c4d4;
	border-left: 4px solid var(--geo-accent, #c45c26);
}

.totoloto-system-block__title {
	margin: 0 0 0.2rem;
	font-size: 1rem;
}

.totoloto-system-block__period,
.totoloto-system-block__format {
	margin: 0;
	font-size: 0.82rem;
	color: var(--geo-muted, #555);
}



/* Newspaper-child — lotarias dentro do tema tagDiv */
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 .td-page-header .entry-title {
	display: none;
}

body.mftn-lotarias-page .geo-entry-content .totoloto-hub {
	margin-top: 0;
}
