/*!
 * Soicau — lo-top.css
 * © 2026 pickles.soicau
 */

.home-lo-top {
	margin: 0 -16px;
}

@media (max-width: 480px) {
	.home-lo-top {
		margin-left: -12px;
		margin-right: -12px;
	}
}
.home-lo-top .container-wrapper {
	padding: 0;
}
.home-lo-top .section-bar {
	margin: 0;
}

.lo-top-box {
	background: #fff;
	border: 0;
	padding: 0;
}

.lo-top-tabs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 0;
	padding: 12px 16px 4px;
}
.lo-top-tab {
	background: transparent;
	border: 0;
	padding: 0;
	font-family: inherit;
	font-size: 15px;
	font-weight: 400;
	color: #333;
	cursor: pointer;
	transition: color .15s;
}
.lo-top-tab + .lo-top-tab::before {
	content: "|";
	display: inline-block;
	margin: 0 10px;
	color: #bbb;
	font-weight: 400;
}
.lo-top-tab:hover,
.lo-top-tab:focus,
.lo-top-tab.is-active {
	color: var(--soicau-accent, #d92121);
}
.lo-top-sep {
	display: none;
}

/* ===== Panel chứa lưới số ===== */
.lo-top-panel {
	padding: 8px 16px 14px;
}
.lo-top-panel[hidden] {
	display: none;
}

.lo-top-numbers {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
}
.lo-top-n {
	display: inline-block;
	padding: 0;
	background: transparent;
	border: 0;
	font-family: arial, sans-serif;
	font-size: 22px;
	font-weight: 400;
	color: #1f1f23;
	line-height: 1.1;
	transition: color .15s;
}

.lo-top-n:nth-child(1)                              { font-size: 34px; }
.lo-top-n:nth-child(2)                              { font-size: 32px; }
.lo-top-n:nth-child(3)                              { font-size: 28px; }
.lo-top-n:nth-child(n+4):nth-child(-n+7)            { font-size: 27px; }
.lo-top-n:nth-child(8)                              { font-size: 25px; }
.lo-top-n:nth-child(n+9):nth-child(-n+12)           { font-size: 25px; }
.lo-top-n:nth-child(n+13):nth-child(-n+18)          { font-size: 23px; }
.lo-top-n.is-hit {
	color: var(--soicau-accent, #d92121);
	font-weight: 700;
}
.lo-top-n sup {
	font-size: .5em;
	font-weight: 400;
	line-height: 1;
	color: var(--soicau-accent, #d92121);
	margin-left: 1px;
	vertical-align: super;
}
.lo-top-n.is-hidden {
	display: none;
}

.lo-top-toggle {
	display: inline-block;
	margin: 12px 0 0;
	padding: 7px 16px;
	background: var(--color-primary, #d92121);
	border: 0;
	color: #fff;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color .15s;
}
.lo-top-toggle:hover,
.lo-top-toggle:focus {
	background: var(--color-primary-dark, #a31818);
}

.lo-top-empty {
	margin: 6px 0 0;
	color: var(--soicau-muted, #6b7280);
	font-style: italic;
	font-size: 14px;
}

.lo-top-note {
	margin: 0;
}

.home-lo-top + .home-du-doan {
	margin-top: 0;
}
