.now-news-wrap {
	--now-news-accent: #e7492e;
	background: #181b22;
	border-radius: 14px;
	border: 1px solid #2c3040;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	font-family: inherit;
	overflow: hidden;
	direction: rtl;
	box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.5);
	transition: box-shadow 0.25s, border-color 0.25s;
}

.now-news-wrap:hover {
	box-shadow: 0 0 0 1px rgba(231, 73, 46, 0.25), 0 20px 50px -20px rgba(0, 0, 0, 0.6);
	border-color: #3a2e2c;
}

.now-news-header {
	padding: 14px 18px 10px;
	border-bottom: 1px solid #2c3040;
}

.now-news-header-top {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
}

.now-news-live-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--now-news-accent);
	display: inline-block;
	box-shadow: 0 0 0 3px rgba(231, 73, 46, 0.18);
	flex-shrink: 0;
}

.now-news-title-text {
	color: #f5f6f8;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.2px;
}

.now-news-live-badge {
	margin-right: auto;
	color: var(--now-news-accent);
	font-size: 10.5px;
	border: 1px solid #4a2b25;
	background: #241a17;
	padding: 2px 8px;
	border-radius: 20px;
}

.now-news-tabs {
	display: flex;
	gap: 6px;
	overflow-x: auto;
	scrollbar-width: none;
}
.now-news-tabs::-webkit-scrollbar {
	display: none;
}

.now-news-tab {
	flex-shrink: 0;
	font-size: 11.5px;
	padding: 5px 12px;
	border-radius: 20px;
	cursor: pointer;
	transition: background 0.15s, color 0.15s;
	background: #22262f;
	color: #a4a8b3;
	white-space: nowrap;
}

.now-news-tab.is-active {
	background: var(--now-news-accent);
	color: #1b0805;
	font-weight: 600;
}

/* ===== روزشمار بازی بعدی (استیکی، بالای تیترها) ===== */
.now-news-countdown {
	position: sticky;
	top: 0;
	z-index: 3;
	background: #181b22;
	border-bottom: 1px solid #2c3040;
	padding: 12px 18px;
	box-shadow: 0 8px 12px -8px rgba(0, 0, 0, 0.45);
}
.now-news-countdown-match {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 8px;
}
.now-news-countdown-team {
	color: #f5f6f8;
	font-size: 13px;
	font-weight: 600;
}
.now-news-swords-icon {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	color: var(--now-news-accent);
}
.now-news-countdown-league {
	color: #a4a8b3;
	font-size: 10.5px;
	border: 1px solid #2c3040;
	background: #20232c;
	padding: 2px 8px;
	border-radius: 20px;
	margin-right: 2px;
}
.now-news-countdown-timer {
	text-align: center;
	color: var(--now-news-accent);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.2px;
}
.now-news-countdown-timer span {
	font-variant-numeric: tabular-nums;
}

.now-news-scroll {
	max-height: 560px;
	overflow-y: auto;
	/* اجازه می‌دهد وقتی اسکرول به انتهای باکس رسید، اسکرول به‌طور طبیعی به صفحه‌ی اصلی منتقل شود */
	overscroll-behavior: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: rgba(231, 73, 46, 0.35) transparent;
}
.now-news-scroll::-webkit-scrollbar {
	width: 5px;
}
.now-news-scroll::-webkit-scrollbar-thumb {
	background: rgba(231, 73, 46, 0.35);
	border-radius: 10px;
}
.now-news-scroll::-webkit-scrollbar-track {
	background: transparent;
}
@media (max-width: 767px) {
	/* ارتفاع کمتر در موبایل تا کاربر راحت‌تر به انتهای باکس برسد و اسکرول صفحه ادامه پیدا کند */
	.now-news-scroll {
		max-height: 60vh;
	}
}

.now-news-list {
	list-style: none;
	margin: 0;
	padding: 6px 0;
}

.now-news-item {
	padding: 11px 18px;
	display: flex;
	gap: 10px;
	align-items: flex-start;
	cursor: pointer;
	transition: background 0.15s;
}
.now-news-item:hover {
	background: #20232c;
}

.now-news-bullet {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--now-news-accent);
	display: inline-block;
	margin-top: 7px;
	flex-shrink: 0;
}

.now-news-item-inner {
	flex: 1;
	min-width: 0;
}

.now-news-item:not(:last-child) .now-news-item-inner {
	padding-bottom: 12px;
	background: linear-gradient(90deg, transparent, #2c3040 15%, #2c3040 85%, transparent) bottom / 100% 1px no-repeat;
}

.now-news-title {
	color: #e9eaee;
	font-size: 13.5px;
	line-height: 1.8;
}

.now-news-title a {
	color: inherit;
	text-decoration: none;
}
.now-news-title a:hover {
	color: var(--now-news-accent);
}

.now-news-badge {
	color: #ff6b4a;
	font-size: 10px;
	font-weight: 600;
	border: 1px solid #5a2a20;
	background: #251712;
	padding: 2px 8px;
	border-radius: 8px;
	display: inline-block;
	margin-left: 6px;
}

.now-news-time {
	color: #767b87;
	font-size: 11.5px;
	margin-top: 5px;
}

.now-news-empty {
	padding: 24px 18px;
	text-align: center;
	color: #767b87;
	font-size: 12.5px;
}

/* ===== ردیف پین‌شده (استیکی) ===== */
.now-news-item--sticky {
	padding: 0;
	display: block;
	background: linear-gradient(90deg, rgba(231, 73, 46, 0.10), rgba(231, 73, 46, 0.02));
	border-bottom: 1px solid #2c3040;
}
.now-news-item--sticky:hover {
	background: linear-gradient(90deg, rgba(231, 73, 46, 0.16), rgba(231, 73, 46, 0.04));
}
.now-news-item-link--sticky {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 12px 18px;
	text-decoration: none;
	border-right: 3px solid var(--now-news-accent);
}
.now-news-item--sticky .now-news-item-inner {
	background: none !important;
	padding-bottom: 0 !important;
}
.now-news-pin-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--now-news-accent);
	font-size: 10px;
	font-weight: 700;
	border: 1px solid #4a2b25;
	background: #241a17;
	padding: 2px 8px;
	border-radius: 6px;
	margin-bottom: 5px;
}
.now-news-title--sticky {
	color: #f5f6f8;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.7;
}
.now-news-item--sticky .now-news-time {
	color: #8a7069;
}

.now-news-footer {
	padding: 16px 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-top: 1px solid #21242c;
}

.now-news-load-more {
	flex-shrink: 0;
	display: inline-block;
	color: #f0d9d4;
	font-size: 12px;
	cursor: pointer;
	font-weight: 500;
	padding: 8px 22px;
	border-radius: 20px;
	background: rgba(231, 73, 46, 0.13);
	border: 1px solid rgba(231, 73, 46, 0.32);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	transition: background 0.15s, transform 0.15s, opacity 0.15s;
}
.now-news-load-more:hover {
	background: rgba(231, 73, 46, 0.24);
	transform: translateY(-1px);
}
.now-news-load-more.is-disabled {
	cursor: default;
	opacity: 0.6;
	transform: none;
}

/* انیمیشن ورود خبر تازه (مطالب بیشتر) */
@keyframes now-news-fadein {
	from {
		opacity: 0;
		transform: translateY(-6px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
@keyframes now-news-glow {
	0% {
		background: rgba(231, 73, 46, 0.16);
	}
	100% {
		background: transparent;
	}
}
.now-news-item.is-new {
	animation: now-news-fadein 0.4s ease, now-news-glow 1.6s ease;
}

/* اسکلتون لودینگ هنگام تعویض دسته‌بندی */
@keyframes now-news-shimmer {
	0% {
		background-position: -200px 0;
	}
	100% {
		background-position: 200px 0;
	}
}
.now-news-skel-bar {
	background: linear-gradient(90deg, #20232c 25%, #282c37 37%, #20232c 63%);
	background-size: 400px 100%;
	animation: now-news-shimmer 1.2s infinite;
	border-radius: 4px;
}
