/* Portal de Notícias PRO — Loterias
 * Visual inspirado em cards de portais de notícias (estilo G1), livre para
 * ser personalizado via CSS pelo tema do site.
 */

.pnp-lot-widget {
	--pnp-lot-accent: #c00000;
	--pnp-lot-border: #e2e2e2;
	--pnp-lot-text: #1a1a1a;
	--pnp-lot-muted: #6b6b6b;
	--pnp-lot-bg: #ffffff;

	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	background: var(--pnp-lot-bg);
	border: 1px solid var(--pnp-lot-border);
	border-radius: 6px;
	padding: 16px 18px;
	max-width: 320px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
	box-sizing: border-box;
}

.pnp-lot-widget * {
	box-sizing: border-box;
}

.pnp-lot-title {
	margin: 0 0 12px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--pnp-lot-border);
	font-size: 15px;
	font-weight: 700;
	color: var(--pnp-lot-text);
}

.pnp-lot-loading-text,
.pnp-lot-error-text {
	font-size: 13px;
	color: var(--pnp-lot-muted);
	margin: 0;
}

.pnp-lot-error-text {
	color: var(--pnp-lot-accent);
}

.pnp-lot-concurso {
	font-size: 13px;
	font-weight: 700;
	color: var(--pnp-lot-text);
	margin-bottom: 12px;
}

.pnp-lot-concurso span {
	color: var(--pnp-lot-muted);
	font-weight: 400;
}

/* Grid de 6 colunas iguais — sempre numa linha só, encolhendo
   proporcionalmente conforme a largura da coluna lateral (em vez de
   "flex-wrap", que quebrava pra uma segunda linha em colunas mais
   estreitas). */
.pnp-lot-dezenas {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 4px;
	margin-bottom: 12px;
}

.pnp-lot-bola {
	width: 100%;
	aspect-ratio: 1;
	border-radius: 50%;
	border: 2px solid var(--pnp-lot-accent);
	color: var(--pnp-lot-accent);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 700;
	max-width: 44px;
	margin: 0 auto;
}

.pnp-lot-proximo {
	font-size: 12px;
	color: var(--pnp-lot-muted);
	margin-bottom: 14px;
	line-height: 1.4;
}

.pnp-lot-proximo strong {
	color: var(--pnp-lot-text);
}

.pnp-lot-acumulou {
	display: inline-block;
	background: #fff3e0;
	color: #b8860b;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	padding: 2px 8px;
	border-radius: 3px;
	margin-bottom: 8px;
}

.pnp-lot-botoes {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.pnp-lot-btn {
	flex: 1;
	min-width: 120px;
	text-align: center;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
	padding: 9px 10px;
	border-radius: 4px;
	border: 1px solid var(--pnp-lot-accent);
	color: var(--pnp-lot-accent);
	background: transparent;
	transition: background 0.15s ease, color 0.15s ease;
}

.pnp-lot-btn:hover {
	background: var(--pnp-lot-accent);
	color: #fff;
}

.pnp-lot-btn-primario {
	background: var(--pnp-lot-accent);
	color: #fff;
}

.pnp-lot-btn-primario:hover {
	background: #8c0d17;
	border-color: #8c0d17;
}

.pnp-lot-updated {
	margin-top: 10px;
	font-size: 11px;
	color: var(--pnp-lot-muted);
}

.pnp-lot-credit {
	margin-top: 6px;
	padding-top: 8px;
	border-top: 1px solid var(--pnp-lot-border);
	font-size: 11px;
}

.pnp-lot-credit a {
	color: var(--pnp-lot-accent);
	text-decoration: none;
	font-weight: 600;
}

.pnp-lot-credit a:hover {
	text-decoration: underline;
}
