/**
 * Resultados da Loteria - GuiaWP
 * @author Dante Testa <https://dantetesta.com.br>
 * @since 1.0.0 - 2026-08-22 08:11:37 -03
 * @modified 1.0.4 - 2026-08-22 15:11:41 -03 - Contraste branco fixo nos CTAs preenchidos.
 */

.rlgw-home,
.rlgw-page {
	--rlgw-ink: #10231c;
	--rlgw-muted: #65746d;
	--rlgw-paper: #ffffff;
	--rlgw-line: #dfe8e3;
	--rlgw-soft: #f3f8f5;
	--rlgw-green: #126b4b;
	color: var(--rlgw-ink);
}

.rlgw-shell {
	width: min(100% - 2rem, 80rem);
	margin-inline: auto;
}

.rlgw-home {
	padding: 3.5rem 0;
	background:
		radial-gradient(circle at 92% 8%, rgba(244, 183, 64, .16), transparent 20rem),
		linear-gradient(180deg, #f8fbf9 0%, #eef6f1 100%);
	border-block: 1px solid #e4ece7;
}

.rlgw-section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: 1.5rem;
}

.rlgw-section-head h2 {
	margin: .25rem 0 .35rem;
	font-size: clamp(1.75rem, 4vw, 3rem);
	line-height: 1.02;
	font-weight: 900;
	letter-spacing: -.045em;
	color: var(--rlgw-ink);
}

.rlgw-section-head > div > p:last-child {
	margin: 0;
	max-width: 48rem;
	color: var(--rlgw-muted);
	font-size: .98rem;
	line-height: 1.65;
}

.rlgw-eyebrow {
	display: flex;
	align-items: center;
	gap: .45rem;
	margin: 0;
	font-size: .72rem;
	font-weight: 850;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--rlgw-green);
}

.rlgw-eyebrow .material-symbols-outlined {
	width: 1em;
	overflow: hidden;
	font-size: 1.15rem;
}

.rlgw-clover-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 1em;
	height: 1em;
	font-size: 1.05rem;
	line-height: 1;
}

.rlgw-carousel-actions {
	display: flex;
	gap: .55rem;
	flex: 0 0 auto;
}

.rlgw-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.8rem;
	height: 2.8rem;
	padding: 0;
	border: 1px solid #cad8d0;
	border-radius: 50%;
	background: #fff;
	color: var(--rlgw-ink);
	cursor: pointer;
	transition: transform .18s ease, border-color .18s ease, color .18s ease;
}

.rlgw-arrow:hover:not(:disabled) {
	transform: translateY(-2px);
	border-color: var(--rlgw-green);
	color: var(--rlgw-green);
}

.rlgw-arrow:disabled {
	opacity: .35;
	cursor: default;
}

.rlgw-arrow .material-symbols-outlined {
	width: 1em;
	overflow: hidden;
}

.rlgw-carousel {
	display: flex;
	gap: 1.25rem;
	overflow-x: auto;
	padding: .35rem .1rem 1rem;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
}

.rlgw-carousel::-webkit-scrollbar {
	display: none;
}

.rlgw-summary-card,
.rlgw-detail-card {
	--rlgw-accent: #147d5a;
	--rlgw-accent-soft: #eaf8f1;
	position: relative;
	background: var(--rlgw-paper);
	border: 1px solid #d8e3dd;
	border: 1px solid color-mix(in srgb, var(--rlgw-accent) 25%, #d8e3dd);
	box-shadow: 0 12px 32px rgba(22, 54, 42, .07);
	overflow: hidden;
}

.rlgw-summary-card {
	display: flex;
	flex: 0 0 clamp(21.625rem, 32vw, 24.625rem);
	flex-direction: column;
	min-height: 20.5rem;
	padding: 1.35rem;
	border-radius: 1.1rem;
	scroll-snap-align: start;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.rlgw-summary-card:hover {
	transform: translateY(-3px);
	border-color: color-mix(in srgb, var(--rlgw-accent) 45%, #d8e3dd);
	box-shadow: 0 18px 38px color-mix(in srgb, var(--rlgw-accent) 13%, transparent);
}

.rlgw-summary-card .rlgw-balls {
	display: flex;
	justify-content: center;
	gap: .5rem;
	margin: 1rem 0;
}

.rlgw-summary-card .rlgw-balls > span {
	flex: 0 0 3.2rem;
	width: 3.2rem;
	min-width: 3.2rem;
	height: 3.2rem;
	padding: 0;
	font-size: 1.08rem;
}

.rlgw-summary-card.rlgw-game--timemania .rlgw-balls,
.rlgw-summary-card.rlgw-game--diadesorte .rlgw-balls,
.rlgw-summary-card.rlgw-game--supersete .rlgw-balls {
	width: calc(12.8rem + 1.5rem);
	max-width: 100%;
	margin-inline: auto;
}

.rlgw-summary-card.rlgw-game--maismilionaria .rlgw-extras {
	margin: .95rem 0;
	font-size: .92rem;
}

.rlgw-summary-card.rlgw-game--maismilionaria .rlgw-extras > span {
	height: 2.4rem;
	padding-inline: .72rem;
	font-size: 1rem;
}

.rlgw-summary-card .rlgw-balls.is-tickets {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .5rem;
}

.rlgw-summary-card .rlgw-balls.is-tickets > span {
	flex: none;
	width: 100%;
	min-width: 0;
	height: 3rem;
	aspect-ratio: auto;
	font-size: 1rem;
	letter-spacing: .025em;
}

.rlgw-summary-card .rlgw-balls.is-tickets > span:last-child:nth-child(odd) {
	grid-column: 1 / -1;
	justify-self: center;
	width: calc(50% - .25rem);
}

.rlgw-summary-card .rlgw-draw-label {
	margin: .65rem 0 -.6rem;
	font-size: .68rem;
}

.rlgw-ticket-edge {
	position: absolute;
	inset: 0 0 auto;
	height: .32rem;
	background: linear-gradient(90deg, var(--rlgw-accent), color-mix(in srgb, var(--rlgw-accent) 55%, #fff));
	pointer-events: none;
}

.rlgw-summary-card > header,
.rlgw-detail-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
}

.rlgw-summary-card > header {
	padding-bottom: .9rem;
	border-bottom: 1px solid color-mix(in srgb, var(--rlgw-accent) 12%, #e8eeeb);
}

.rlgw-game-name {
	margin: 0;
	font-size: 1.35rem;
	font-weight: 900;
	letter-spacing: -.025em;
	color: var(--rlgw-accent);
}

.rlgw-contest {
	margin: .2rem 0 0;
	font-size: .82rem;
	font-weight: 700;
	color: var(--rlgw-muted);
}

.rlgw-status {
	display: inline-flex;
	align-items: center;
	min-height: 1.65rem;
	padding: .25rem .6rem;
	border-radius: 999px;
	font-size: .65rem;
	font-weight: 850;
	letter-spacing: .04em;
	text-transform: uppercase;
	white-space: nowrap;
}

.rlgw-status.is-accumulated {
	border: 1px solid #f1c453;
	background: linear-gradient(135deg, #fff4c7, #ffe59a);
	box-shadow: 0 0 0 0 rgba(222, 158, 20, .38);
	color: #754b00;
	animation: rlgw-accumulated-pulse 1.8s ease-in-out infinite;
}

.rlgw-status.is-winner {
	border: 1px solid #8bd2ae;
	background: #e6f7ee;
	color: #075c3b;
}

@keyframes rlgw-accumulated-pulse {
	0%, 100% {
		transform: scale(1);
		box-shadow: 0 0 0 0 rgba(222, 158, 20, .32);
	}
	50% {
		transform: scale(1.045);
		box-shadow: 0 0 0 .42rem rgba(222, 158, 20, 0);
	}
}

.rlgw-status.is-special {
	background: #eee9ff;
	color: #6042a5;
}

.rlgw-balls {
	display: flex;
	flex-wrap: wrap;
	gap: .46rem;
	margin: 1.35rem 0;
}

.rlgw-balls > span,
.rlgw-extras > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.2rem;
	height: 2.2rem;
	padding: 0 .42rem;
	border-radius: 999px;
	background: var(--rlgw-accent);
	box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .14), 0 4px 10px color-mix(in srgb, var(--rlgw-accent) 22%, transparent);
	color: #fff;
	font-size: .88rem;
	font-weight: 900;
	font-variant-numeric: tabular-nums;
}

.rlgw-balls > span {
	color: #fff;
}

.rlgw-balls > em {
	display: inline-flex;
	align-items: center;
	font-size: .72rem;
	font-style: normal;
	font-weight: 800;
	color: var(--rlgw-muted);
}

.rlgw-balls.is-tickets > span {
	min-width: 4.4rem;
	border-radius: .55rem;
	letter-spacing: .06em;
}

.rlgw-extras {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: .4rem;
	margin-top: -.65rem;
	font-size: .72rem;
}

.rlgw-extras > strong {
	color: var(--rlgw-muted);
}

.rlgw-extras > span {
	min-width: auto;
	height: 1.7rem;
	background: #ffc928;
	box-shadow: none;
	color: #573d00;
	font-size: .7rem;
}

.rlgw-special-result {
	display: inline-flex;
	align-items: center;
	gap: .75rem;
	max-width: 100%;
	margin: .35rem .55rem .55rem 0;
	padding: .8rem 1rem;
	border: 1px solid color-mix(in srgb, var(--rlgw-accent) 25%, #dfe8e3);
	border-radius: .9rem;
	background: var(--rlgw-accent-soft);
	color: var(--rlgw-accent);
}

.rlgw-special-result > .material-symbols-outlined {
	width: 1em;
	overflow: hidden;
	font-size: 1.5rem;
}

.rlgw-special-result > span:last-child {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: .1rem;
}

.rlgw-special-result small {
	font-size: .82rem;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--rlgw-muted);
}

.rlgw-special-result strong {
	font-size: 1.08rem;
	line-height: 1.25;
	color: var(--rlgw-ink);
}

.rlgw-special-result.is-summary {
	margin-top: -.2rem;
	padding: .5rem .65rem;
}

.rlgw-special-result.is-summary > .material-symbols-outlined {
	font-size: 1.1rem;
}

.rlgw-special-result.is-summary small {
	font-size: .64rem;
}

.rlgw-special-result.is-summary strong {
	font-size: .78rem;
}

.rlgw-summary-prize {
	display: flex;
	flex-direction: column;
	gap: .2rem;
	margin-top: auto;
	padding: .85rem .95rem;
	border: 1px solid color-mix(in srgb, var(--rlgw-accent) 12%, transparent);
	border-radius: .85rem;
	background: var(--rlgw-accent-soft);
}

.rlgw-summary-prize span,
.rlgw-prize-panel span {
	font-size: .68rem;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--rlgw-muted);
}

.rlgw-detail-card .rlgw-prize-panel > span {
	font-size: .88rem;
}

.rlgw-summary-prize strong,
.rlgw-prize-panel > strong {
	font-size: 1.42rem;
	font-weight: 950;
	letter-spacing: -.035em;
	color: var(--rlgw-accent);
	font-variant-numeric: tabular-nums;
}

.rlgw-more {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: .5rem;
	margin-top: .75rem;
	padding: .72rem .85rem;
	border: 0;
	border-radius: .75rem;
	background: var(--rlgw-accent);
	color: #fff;
	font-size: .82rem;
	font-weight: 850;
	text-decoration: none;
}

.rlgw-more .material-symbols-outlined {
	width: 1em;
	overflow: hidden;
	font-size: 1.05rem;
	transition: transform .18s ease;
}

.rlgw-more:hover .material-symbols-outlined {
	transform: translateX(4px);
}

.rlgw-more:hover {
	color: #fff;
	filter: brightness(.94);
}

.rlgw-home-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: .6rem;
}

.rlgw-home-footer p {
	margin: 0;
	font-size: .72rem;
	color: var(--rlgw-muted);
}

.rlgw-home-footer a {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	color: var(--rlgw-green);
	font-size: .8rem;
	font-weight: 850;
	white-space: nowrap;
	text-decoration: none;
}

.rlgw-home-footer .material-symbols-outlined {
	width: 1em;
	overflow: hidden;
	font-size: 1rem;
}

.rlgw-page {
	min-height: 70vh;
	background: #f5f8f6;
}

.rlgw-page-head {
	padding: 2rem 0 2.75rem;
	background: #f8fafc;
	border-bottom: 1px solid #e2e8f0;
}

.rlgw-breadcrumb {
	display: flex;
	align-items: center;
	gap: .5rem;
	margin-bottom: 1rem;
	color: #64748b;
	font-size: .8rem;
}

.rlgw-breadcrumb a {
	color: #94a3b8;
	text-decoration: none;
}

.rlgw-breadcrumb a:hover {
	color: #475569;
}

.rlgw-breadcrumb .material-symbols-outlined {
	width: 1em;
	overflow: hidden;
	font-size: .9rem;
}

.rlgw-page-head h1 {
	display: flex;
	align-items: center;
	gap: .65rem;
	margin: 0 0 .35rem;
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	line-height: 1.15;
	font-weight: 900;
	letter-spacing: -.035em;
	color: #0f172a;
}

.rlgw-page-head h1 .rlgw-clover-icon {
	font-size: .9em;
}

.rlgw-page-head .rlgw-page-intro {
	margin: .55rem 0 0;
	max-width: 54rem;
	color: #475569;
	font-size: 1rem;
	line-height: 1.6;
}

.rlgw-results-section {
	padding: clamp(2rem, 5vw, 4.5rem) 0;
}

.rlgw-detail-grid {
	display: grid;
	grid-template-columns: 1fr;
	align-items: start;
	gap: 1.6rem;
}

.rlgw-detail-card {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 1.1rem;
	padding: 1.25rem;
	border-radius: 1.35rem;
	scroll-margin-top: 7rem;
}

.rlgw-detail-head,
.rlgw-financial-grid,
.rlgw-observation,
.rlgw-card-footer {
	grid-column: 1 / -1;
}

.rlgw-numbers-block {
	grid-column: 1;
	grid-row: 2 / span 2;
	padding-right: .35rem;
}

.rlgw-prize-panel,
.rlgw-next-draw {
	grid-column: 2;
}

.rlgw-detail-head h2 {
	grid-area: contest;
	margin: .15rem 0 0;
	font-size: 1rem;
	font-weight: 750;
	color: var(--rlgw-muted);
	white-space: nowrap;
}

.rlgw-detail-head {
	display: grid;
	grid-template-columns: auto auto minmax(14rem, 1fr) auto;
	grid-template-areas:
		"name date location badges"
		"contest . . .";
	align-items: center;
	gap: .1rem 1.35rem;
	padding: .25rem 0 1rem;
	border-bottom: 1px dashed var(--rlgw-line);
}

.rlgw-detail-identity {
	display: contents;
}

.rlgw-detail-identity .rlgw-game-name {
	grid-area: name;
	min-width: 0;
}

.rlgw-meta-item {
	display: flex;
	align-items: center;
	gap: .45rem;
	min-width: 0;
	margin: 0;
	font-size: 1rem;
	line-height: 1.35;
	color: var(--rlgw-muted);
}

.rlgw-meta-item--date {
	grid-area: date;
	white-space: nowrap;
}

.rlgw-meta-item--location {
	grid-area: location;
}

.rlgw-meta-item--location > span:last-child {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rlgw-meta-item .material-symbols-outlined {
	width: 1em;
	overflow: hidden;
	font-size: 1.2rem;
	color: var(--rlgw-accent);
}

.rlgw-badges {
	display: flex;
	grid-area: badges;
	align-items: flex-end;
	flex-direction: column;
	gap: .35rem;
}

.rlgw-mini-label,
.rlgw-draw-label {
	margin: 1rem 0 -.7rem;
	font-size: .95rem;
	font-weight: 850;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--rlgw-muted);
}

.rlgw-draw-label {
	margin-bottom: -.85rem;
}

.rlgw-order {
	margin: -.65rem 0 1rem;
	font-size: 1.05rem;
	line-height: 1.55;
	color: var(--rlgw-muted);
}

.rlgw-detail-card .rlgw-extras {
	margin-top: 0;
}

.rlgw-detail-card .rlgw-order {
	margin: .55rem 0 1rem;
}

.rlgw-detail-card .rlgw-game-name {
	font-size: clamp(1.9rem, 3vw, 2.35rem);
}

.rlgw-detail-card .rlgw-status {
	min-height: 2rem;
	padding: .35rem .75rem;
	font-size: .78rem;
}

.rlgw-detail-card .rlgw-balls {
	gap: .65rem;
	margin: 1rem 0;
}

.rlgw-detail-card .rlgw-balls > span {
	min-width: 3rem;
	height: 3rem;
	padding-inline: .6rem;
	font-size: 1.1rem;
}

.rlgw-detail-card .rlgw-extras {
	font-size: .95rem;
}

.rlgw-detail-card .rlgw-extras > span {
	height: 2.15rem;
	padding-inline: .7rem;
	font-size: .9rem;
}

.rlgw-detail-card .rlgw-prize-panel > strong {
	font-size: clamp(1.45rem, 2.1vw, 1.9rem);
	white-space: nowrap;
}

.rlgw-prize-panel {
	display: flex;
	flex-direction: column;
	gap: .2rem;
	padding: 1.25rem 1.35rem;
	border-radius: 1rem 1rem .35rem 1rem;
	background: var(--rlgw-accent-soft);
}

.rlgw-prize-panel small {
	font-size: .95rem;
	color: var(--rlgw-muted);
}

.rlgw-next-draw {
	display: flex;
	align-items: center;
	gap: .75rem;
	margin: .7rem 0 0;
	padding: 1.05rem 1.2rem;
	border: 1px solid var(--rlgw-line);
	border-radius: .8rem;
	background: #fff;
}

.rlgw-next-draw > .material-symbols-outlined {
	width: 1em;
	overflow: hidden;
	color: var(--rlgw-accent);
	font-size: 1.6rem;
}

.rlgw-next-draw > div {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: baseline;
	gap: .05rem .5rem;
	width: 100%;
}

.rlgw-next-draw small {
	grid-column: 1 / -1;
	font-size: .88rem;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--rlgw-muted);
}

.rlgw-next-draw strong {
	font-size: 1.15rem;
}

.rlgw-next-draw span:last-child {
	font-size: 1rem;
	font-weight: 800;
	color: var(--rlgw-muted);
}

.rlgw-card-toggle {
	display: none;
	grid-column: 1 / -1;
}

html.rlgw-js .rlgw-card-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .45rem;
	width: 100%;
	margin: .6rem 0 0;
	padding: .7rem 1rem;
	border: 1px solid color-mix(in srgb, var(--rlgw-accent) 32%, #d8e3dd);
	border-radius: .8rem;
	background: #fff;
	color: var(--rlgw-accent);
	font-size: .95rem;
	font-weight: 850;
	cursor: pointer;
}

.rlgw-detail-card.rlgw-game--duplasena .rlgw-balls {
	margin: .7rem 0;
}

html.rlgw-js .rlgw-card-toggle .material-symbols-outlined {
	font-size: 1.2rem;
	transition: transform .18s ease;
}

html.rlgw-js .rlgw-detail-card.is-expanded .rlgw-card-toggle .material-symbols-outlined {
	transform: rotate(180deg);
}

html.rlgw-js .rlgw-detail-card:not(.is-expanded) > .rlgw-financial-grid,
html.rlgw-js .rlgw-detail-card:not(.is-expanded) > .rlgw-details,
html.rlgw-js .rlgw-detail-card:not(.is-expanded) > .rlgw-observation,
html.rlgw-js .rlgw-detail-card:not(.is-expanded) > .rlgw-card-footer {
	display: none;
}

.rlgw-financial-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: .75rem;
	margin: 1rem 0 0;
}

.rlgw-financial-grid > div {
	min-width: 0;
	padding: 1rem 1.15rem;
	border-radius: .9rem;
	background: var(--rlgw-soft);
}

.rlgw-financial-grid dt {
	font-size: .9rem;
	font-weight: 750;
	line-height: 1.3;
	color: var(--rlgw-muted);
}

.rlgw-financial-grid dd {
	margin: .25rem 0 0;
	font-size: 1.08rem;
	font-weight: 850;
	font-variant-numeric: tabular-nums;
	color: var(--rlgw-ink);
	white-space: nowrap;
}

.rlgw-details {
	grid-column: auto;
	margin-top: .75rem;
	border: 1px solid var(--rlgw-line);
	border-radius: .8rem;
	background: #fff;
}

.rlgw-detail-card > .rlgw-details:only-of-type {
	grid-column: 1 / -1;
}

.rlgw-details summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .75rem;
	padding: 1rem 1.15rem;
	font-size: 1rem;
	font-weight: 850;
	color: var(--rlgw-ink);
	cursor: pointer;
	list-style: none;
}

.rlgw-details summary::-webkit-details-marker {
	display: none;
}

.rlgw-details summary .material-symbols-outlined {
	width: 1em;
	overflow: hidden;
	font-size: 1rem;
	transition: transform .18s ease;
}

.rlgw-details[open] summary .material-symbols-outlined {
	transform: rotate(180deg);
}

.rlgw-awards,
.rlgw-winners {
	padding: 0 .9rem .9rem;
}

.rlgw-awards > div,
.rlgw-winners > p {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .6rem;
	margin: 0;
	padding: .58rem .1rem;
	border-top: 1px solid #edf2ef;
	font-size: .95rem;
}

.rlgw-awards span,
.rlgw-winners p {
	min-width: 0;
}

.rlgw-awards span strong,
.rlgw-awards span small,
.rlgw-winners p strong,
.rlgw-winners p span,
.rlgw-winners p small {
	display: block;
}

.rlgw-awards span small,
.rlgw-winners p span,
.rlgw-winners p small {
	margin-top: .12rem;
	color: var(--rlgw-muted);
}

.rlgw-awards b {
	flex: 0 0 auto;
	font-variant-numeric: tabular-nums;
}

.rlgw-observation {
	margin: .75rem 0 0;
	padding: .75rem;
	border-left: 3px solid var(--rlgw-accent);
	background: var(--rlgw-soft);
	font-size: .95rem;
	line-height: 1.55;
	color: var(--rlgw-muted);
}

.rlgw-card-footer {
	margin-top: .9rem;
	padding-top: .75rem;
	border-top: 1px dashed var(--rlgw-line);
	font-size: .85rem;
	color: #84918b;
}

.rlgw-source-note {
	display: flex;
	align-items: flex-start;
	gap: .7rem;
	margin-top: 2rem;
	padding: 1rem 1.15rem;
	border: 1px solid #d8e5dd;
	border-radius: 1rem;
	background: #fff;
	color: var(--rlgw-muted);
}

.rlgw-source-note .material-symbols-outlined {
	width: 1em;
	overflow: hidden;
	font-size: 1.1rem;
	color: var(--rlgw-green);
}

.rlgw-source-note p {
	margin: 0;
	font-size: .84rem;
	line-height: 1.55;
}

.rlgw-source-note a {
	color: var(--rlgw-green);
	font-weight: 800;
}

.rlgw-empty {
	padding: 4rem 1rem;
	text-align: center;
	border: 1px dashed #cbd8d0;
	border-radius: 1.25rem;
	background: #fff;
}

.rlgw-empty .material-symbols-outlined {
	width: 1em;
	overflow: hidden;
	font-size: 3rem;
	color: #aab9b0;
}

.rlgw-empty h2 {
	margin: .75rem 0 .35rem;
	font-size: 1.2rem;
}

.rlgw-empty p {
	margin: 0;
	color: var(--rlgw-muted);
}

.rlgw-game--maismilionaria { --rlgw-accent: #2d9b77; --rlgw-accent-soft: #e7f8f1; }
.rlgw-game--megasena { --rlgw-accent: #168a55; --rlgw-accent-soft: #e7f6ed; }
.rlgw-game--lotofacil { --rlgw-accent: #8c3e9d; --rlgw-accent-soft: #f6ebf8; }
.rlgw-game--quina { --rlgw-accent: #4d3d9f; --rlgw-accent-soft: #eeecfa; }
.rlgw-game--lotomania { --rlgw-accent: #e06b25; --rlgw-accent-soft: #fff0e6; }
.rlgw-game--timemania { --rlgw-accent: #1f8a4d; --rlgw-accent-soft: #e8f6ed; }
.rlgw-game--duplasena { --rlgw-accent: #b43c42; --rlgw-accent-soft: #fae9ea; }
.rlgw-game--federal { --rlgw-accent: #175f9d; --rlgw-accent-soft: #e8f1fa; }
.rlgw-game--diadesorte { --rlgw-accent: #9b7414; --rlgw-accent-soft: #fff7dc; }
.rlgw-game--supersete { --rlgw-accent: #5f9434; --rlgw-accent-soft: #edf7e6; }

.rlgw-summary-card:focus-within,
.rlgw-detail-card:target,
.rlgw-arrow:focus-visible,
.rlgw-more:focus-visible,
.rlgw-details summary:focus-visible,
.rlgw-source-note a:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--rlgw-accent, #147d5a) 35%, transparent);
	outline-offset: 3px;
}

@media (max-width: 1050px) {
	.rlgw-detail-card {
		display: block;
	}
	.rlgw-detail-head {
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas:
			"name badges"
			"contest badges"
			"date date"
			"location location";
		row-gap: .45rem;
	}
	.rlgw-meta-item--location > span:last-child {
		overflow: visible;
		white-space: normal;
	}
	.rlgw-numbers-block {
		padding-right: 0;
	}
	.rlgw-financial-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.rlgw-shell {
		width: min(100% - 1.25rem, 80rem);
	}
	.rlgw-home {
		padding: 2.5rem 0;
	}
	.rlgw-section-head {
		align-items: center;
	}
	.rlgw-section-head > div {
		min-width: 0;
	}
	.rlgw-section-head > div > p:last-child {
		display: none;
	}
	.rlgw-carousel-actions {
		display: none;
	}
	.rlgw-summary-card {
		flex-basis: 86%;
		min-height: 23rem;
	}
	.rlgw-home-footer {
		align-items: flex-start;
		flex-direction: column;
	}
	.rlgw-detail-grid {
		grid-template-columns: 1fr;
	}
	.rlgw-detail-card {
		padding: 1.35rem;
	}
	.rlgw-detail-card .rlgw-balls {
		display: grid;
		grid-template-columns: repeat(6, minmax(0, 1fr));
		gap: .35rem;
	}
	.rlgw-detail-card .rlgw-balls > span {
		width: 100%;
		min-width: 0;
		height: auto;
		padding: 0;
		aspect-ratio: 1;
		font-size: .92rem;
	}
	.rlgw-detail-card.rlgw-game--quina .rlgw-balls,
	.rlgw-detail-card.rlgw-game--lotofacil .rlgw-balls,
	.rlgw-detail-card.rlgw-game--lotomania .rlgw-balls {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
	.rlgw-detail-card.rlgw-game--timemania .rlgw-balls,
	.rlgw-detail-card.rlgw-game--diadesorte .rlgw-balls,
	.rlgw-detail-card.rlgw-game--supersete .rlgw-balls {
		grid-template-columns: repeat(7, minmax(0, 1fr));
		gap: .25rem;
	}
	.rlgw-detail-card.rlgw-game--timemania .rlgw-balls > span,
	.rlgw-detail-card.rlgw-game--diadesorte .rlgw-balls > span,
	.rlgw-detail-card.rlgw-game--supersete .rlgw-balls > span {
		font-size: .82rem;
	}
	.rlgw-detail-card .rlgw-balls.is-tickets {
		grid-template-columns: 1fr;
	}
	.rlgw-detail-card .rlgw-balls.is-tickets > span {
		width: auto;
		min-width: 0;
		height: 2.65rem;
		aspect-ratio: auto;
	}
	.rlgw-financial-grid {
		grid-template-columns: 1fr;
	}
	.rlgw-page-head {
		padding: 1.5rem 0 2rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rlgw-status.is-accumulated {
		animation: none;
	}
	.rlgw-carousel {
		scroll-behavior: auto;
	}
	.rlgw-arrow,
	.rlgw-more .material-symbols-outlined,
	.rlgw-details summary .material-symbols-outlined {
		transition: none;
	}
}

/* Slim: cartões de altura natural, grade densa de dezenas e decoração reduzida. */
.rlgw-home--slim {
	padding: 2rem 0;
	background: #f7faf8;
}

.rlgw-home--slim .rlgw-section-head {
	align-items: center;
	margin-bottom: 1rem;
}

.rlgw-home--slim .rlgw-section-head h2 {
	margin-top: .15rem;
	font-size: clamp(1.45rem, 3vw, 2.1rem);
	letter-spacing: -.035em;
}

.rlgw-home--slim .rlgw-section-head > div > p:last-child {
	font-size: .9rem;
	line-height: 1.5;
}

.rlgw-home--slim .rlgw-eyebrow {
	font-size: .66rem;
	letter-spacing: .11em;
}

.rlgw-home--slim .rlgw-arrow {
	width: 2.35rem;
	height: 2.35rem;
}

.rlgw-home--slim .rlgw-carousel {
	align-items: flex-start;
	gap: .85rem;
	padding-bottom: .65rem;
}

.rlgw-home--slim .rlgw-summary-card {
	flex-basis: clamp(18rem, 25vw, 20rem);
	min-height: 16rem;
	padding: 1rem;
	border-radius: .85rem;
	box-shadow: 0 5px 16px rgba(22, 54, 42, .055);
}

.rlgw-home--slim .rlgw-summary-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 9px 22px color-mix(in srgb, var(--rlgw-accent) 10%, transparent);
}

.rlgw-home--slim .rlgw-ticket-edge {
	height: .2rem;
}

.rlgw-home--slim .rlgw-summary-card > header {
	align-items: center;
	gap: .65rem;
	padding-bottom: .65rem;
}

.rlgw-home--slim .rlgw-game-name {
	font-size: 1.08rem;
}

.rlgw-home--slim .rlgw-contest {
	font-size: .74rem;
}

.rlgw-home--slim .rlgw-status {
	min-height: 1.45rem;
	padding: .18rem .48rem;
	font-size: .59rem;
}

.rlgw-home--slim .rlgw-summary-card .rlgw-balls {
	display: grid;
	grid-template-columns: repeat(6, 2.25rem);
	justify-content: start;
	width: auto;
	max-width: 100%;
	gap: .35rem;
	margin: .75rem 0;
}

.rlgw-home--slim .rlgw-summary-card .rlgw-balls > span {
	width: 2.25rem;
	min-width: 2.25rem;
	height: 2.25rem;
	font-size: .82rem;
	box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .13), 0 2px 6px color-mix(in srgb, var(--rlgw-accent) 18%, transparent);
}

.rlgw-home--slim .rlgw-summary-card.rlgw-game--lotofacil .rlgw-balls,
.rlgw-home--slim .rlgw-summary-card.rlgw-game--lotomania .rlgw-balls,
.rlgw-home--slim .rlgw-summary-card.rlgw-game--quina .rlgw-balls {
	grid-template-columns: repeat(5, 2.25rem);
}

.rlgw-home--slim .rlgw-summary-card.rlgw-game--timemania .rlgw-balls,
.rlgw-home--slim .rlgw-summary-card.rlgw-game--diadesorte .rlgw-balls,
.rlgw-home--slim .rlgw-summary-card.rlgw-game--supersete .rlgw-balls {
	grid-template-columns: repeat(4, 2.25rem);
}

.rlgw-home--slim .rlgw-summary-card .rlgw-balls.is-tickets {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	width: 100%;
}

.rlgw-home--slim .rlgw-summary-card .rlgw-balls.is-tickets > span {
	width: 100%;
	min-width: 0;
	height: 2.35rem;
	font-size: .86rem;
}

.rlgw-home--slim .rlgw-summary-card .rlgw-balls.is-tickets > span:last-child:nth-child(odd) {
	width: calc(50% - .175rem);
}

.rlgw-home--slim .rlgw-summary-card .rlgw-draw-label {
	margin: .45rem 0 -.4rem;
	font-size: .62rem;
}

.rlgw-home--slim .rlgw-summary-card.rlgw-game--maismilionaria .rlgw-extras {
	margin: .95rem 0;
	font-size: .78rem;
}

.rlgw-home--slim .rlgw-summary-card.rlgw-game--maismilionaria .rlgw-extras > span {
	height: 1.85rem;
	padding-inline: .55rem;
	font-size: .78rem;
}

.rlgw-home--slim .rlgw-special-result.is-summary {
	gap: .5rem;
	margin: 0 0 .55rem;
	padding: .45rem .55rem;
	border-radius: .65rem;
}

.rlgw-home--slim .rlgw-special-result.is-summary strong {
	font-size: .75rem;
}

.rlgw-home--slim .rlgw-summary-prize {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: .25rem .65rem;
	padding: .65rem .75rem;
	border-radius: .65rem;
}

.rlgw-home--slim .rlgw-summary-prize span {
	font-size: .6rem;
	line-height: 1.25;
}

.rlgw-home--slim .rlgw-summary-prize strong {
	font-size: 1.05rem;
	white-space: nowrap;
}

.rlgw-home--slim .rlgw-more {
	justify-content: flex-end;
	gap: .3rem;
	margin-top: .55rem;
	padding: .25rem 0;
	background: transparent;
	color: var(--rlgw-accent);
	font-size: .76rem;
}

.rlgw-home--slim .rlgw-more:hover {
	color: var(--rlgw-accent);
	filter: brightness(.78);
}

.rlgw-home--slim .rlgw-home-footer {
	margin-top: .25rem;
}

.rlgw-page--slim .rlgw-page-head {
	padding: 1.25rem 0 1.6rem;
}

.rlgw-page--slim .rlgw-breadcrumb {
	margin-bottom: .65rem;
	font-size: .75rem;
}

.rlgw-page--slim .rlgw-page-head h1 {
	font-size: clamp(1.5rem, 3vw, 2rem);
}

.rlgw-page--slim .rlgw-page-head .rlgw-page-intro {
	margin-top: .35rem;
	font-size: .92rem;
	line-height: 1.5;
}

.rlgw-page--slim .rlgw-results-section {
	padding: clamp(1.25rem, 3vw, 2.5rem) 0;
}

.rlgw-page--slim .rlgw-detail-grid {
	gap: 1rem;
}

.rlgw-page--slim .rlgw-detail-card {
	gap: 0 .8rem;
	padding: .9rem 1rem;
	border-radius: .9rem;
	box-shadow: 0 5px 18px rgba(22, 54, 42, .05);
}

.rlgw-page--slim .rlgw-detail-head {
	gap: .05rem 1rem;
	padding: .15rem 0 .7rem;
}

.rlgw-page--slim .rlgw-detail-card .rlgw-game-name {
	font-size: clamp(1.45rem, 2.4vw, 1.85rem);
}

.rlgw-page--slim .rlgw-detail-head h2,
.rlgw-page--slim .rlgw-meta-item {
	font-size: .88rem;
}

.rlgw-page--slim .rlgw-detail-card .rlgw-status {
	min-height: 1.65rem;
	padding: .24rem .58rem;
	font-size: .67rem;
}

.rlgw-page--slim .rlgw-mini-label,
.rlgw-page--slim .rlgw-draw-label {
	margin-top: .7rem;
	font-size: .76rem;
}

.rlgw-page--slim .rlgw-detail-card .rlgw-balls {
	gap: .42rem;
	margin: .75rem 0;
}

.rlgw-page--slim .rlgw-detail-card .rlgw-balls > span {
	min-width: 2.4rem;
	height: 2.4rem;
	padding-inline: .45rem;
	font-size: .9rem;
	box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .13), 0 2px 7px color-mix(in srgb, var(--rlgw-accent) 18%, transparent);
}

.rlgw-page--slim .rlgw-detail-card .rlgw-order {
	margin: .35rem 0 .7rem;
	font-size: .88rem;
}

.rlgw-page--slim .rlgw-prize-panel {
	gap: .1rem;
	padding: .85rem 1rem;
	border-radius: .75rem;
}

.rlgw-page--slim .rlgw-detail-card .rlgw-prize-panel > span {
	font-size: .7rem;
}

.rlgw-page--slim .rlgw-detail-card .rlgw-prize-panel > strong {
	font-size: clamp(1.25rem, 2vw, 1.6rem);
}

.rlgw-page--slim .rlgw-prize-panel small {
	font-size: .78rem;
}

.rlgw-page--slim .rlgw-next-draw {
	gap: .55rem;
	margin-top: .5rem;
	padding: .75rem .9rem;
	border-radius: .7rem;
}

.rlgw-page--slim .rlgw-next-draw > .material-symbols-outlined {
	font-size: 1.3rem;
}

.rlgw-page--slim .rlgw-next-draw small {
	font-size: .7rem;
}

.rlgw-page--slim .rlgw-next-draw strong,
.rlgw-page--slim .rlgw-next-draw span:last-child {
	font-size: .9rem;
}

html.rlgw-js .rlgw-page--slim .rlgw-card-toggle {
	margin-top: .45rem;
	padding: .55rem .8rem;
	border-radius: .65rem;
	font-size: .82rem;
}

.rlgw-page--slim .rlgw-financial-grid {
	gap: .5rem;
	margin-top: .65rem;
}

.rlgw-page--slim .rlgw-financial-grid > div {
	padding: .7rem .8rem;
	border-radius: .65rem;
}

.rlgw-page--slim .rlgw-financial-grid dt {
	font-size: .76rem;
}

.rlgw-page--slim .rlgw-financial-grid dd {
	font-size: .9rem;
}

.rlgw-page--slim .rlgw-details {
	margin-top: .5rem;
	border-radius: .65rem;
}

.rlgw-page--slim .rlgw-details summary {
	padding: .7rem .85rem;
	font-size: .86rem;
}

.rlgw-page--slim .rlgw-awards,
.rlgw-page--slim .rlgw-winners {
	padding: 0 .7rem .65rem;
}

.rlgw-page--slim .rlgw-awards > div,
.rlgw-page--slim .rlgw-winners > p {
	padding: .45rem .1rem;
	font-size: .82rem;
}

.rlgw-page--slim .rlgw-observation {
	margin-top: .5rem;
	padding: .6rem;
	font-size: .82rem;
}

.rlgw-page--slim .rlgw-card-footer {
	margin-top: .6rem;
	padding-top: .55rem;
	font-size: .74rem;
}

.rlgw-page--slim .rlgw-source-note {
	margin-top: 1rem;
	padding: .75rem .9rem;
	border-radius: .7rem;
}

@media (max-width: 760px) {
	.rlgw-home--slim {
		padding: 1.5rem 0;
	}
	.rlgw-home--slim .rlgw-summary-card {
		flex-basis: min(90%, 19rem);
		min-height: 15.5rem;
	}
	.rlgw-home--slim .rlgw-summary-card .rlgw-balls {
		grid-template-columns: repeat(6, 2.75rem);
		justify-content: center;
		width: 100%;
	}
	.rlgw-home--slim .rlgw-summary-card.rlgw-game--lotofacil .rlgw-balls,
	.rlgw-home--slim .rlgw-summary-card.rlgw-game--lotomania .rlgw-balls,
	.rlgw-home--slim .rlgw-summary-card.rlgw-game--quina .rlgw-balls {
		grid-template-columns: repeat(5, 2.75rem);
	}
	.rlgw-home--slim .rlgw-summary-card.rlgw-game--timemania .rlgw-balls,
	.rlgw-home--slim .rlgw-summary-card.rlgw-game--diadesorte .rlgw-balls,
	.rlgw-home--slim .rlgw-summary-card.rlgw-game--supersete .rlgw-balls {
		grid-template-columns: repeat(4, 2.75rem);
	}
	.rlgw-home--slim .rlgw-summary-card .rlgw-balls > span {
		width: 2.75rem;
		min-width: 2.75rem;
		height: 2.75rem;
		font-size: 1rem;
	}
	.rlgw-home--slim .rlgw-summary-card .rlgw-balls.is-tickets {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.rlgw-home--slim .rlgw-summary-card .rlgw-balls.is-tickets > span {
		height: 2.25rem;
		aspect-ratio: auto;
	}
	.rlgw-page--slim .rlgw-detail-card {
		padding: .8rem;
	}
	.rlgw-page--slim .rlgw-detail-card .rlgw-balls > span {
		font-size: .8rem;
	}
	.rlgw-page--slim .rlgw-detail-card .rlgw-balls:not(.is-tickets) > span {
		width: 2.75rem;
		min-width: 2.75rem;
		height: 2.75rem;
		font-size: 1rem;
	}
}
