:root {
	--qnp-primary: #0b5fff;
	--qnp-dark: #111827;
	--qnp-text: #1f2937;
	--qnp-muted: #6b7280;
	--qnp-border: #e5e7eb;
	--qnp-bg: #ffffff;
	--qnp-soft: #f8fafc;
	--qnp-danger: #d71920;
	--qnp-gold: #d6a21f;
	--qnp-radius: 8px;
	letter-spacing: 0;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--qnp-bg);
	color: var(--qnp-text);
	line-height: 1.8;
	font-size: 16px;
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover {
	color: var(--qnp-primary);
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.qnp-container {
	width: min(1180px, calc(100% - 32px));
	margin-inline: auto;
}

.qnp-site-main {
	min-height: 58vh;
}

.qnp-site-header {
	background: #ffffff;
	border-bottom: 1px solid var(--qnp-border);
	z-index: 50;
}

.qnp-site-header.is-sticky {
	position: sticky;
	top: 0;
}

.qnp-header-inner {
	min-height: 72px;
	display: flex;
	align-items: center;
	gap: 24px;
}

.qnp-brand {
	flex: 0 0 auto;
}

.qnp-logo {
	display: inline-flex;
	align-items: center;
	font-weight: 800;
	color: var(--qnp-dark);
	font-size: 24px;
}

.qnp-logo img {
	max-height: 54px;
	width: auto;
	display: block;
}

.qnp-primary-nav {
	flex: 1 1 auto;
	min-width: 0;
}

.qnp-menu,
.qnp-footer-menu,
.qnp-mobile-menu-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.qnp-menu {
	display: flex;
	align-items: center;
	gap: 22px;
	white-space: nowrap;
	overflow-x: auto;
}

.qnp-menu a {
	display: block;
	color: var(--qnp-dark);
	font-weight: 700;
	padding: 24px 0;
}

.qnp-header-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.qnp-icon-button,
.qnp-strip-controls button,
.qnp-tab-list button {
	border: 1px solid var(--qnp-border);
	background: #ffffff;
	color: var(--qnp-dark);
	cursor: pointer;
}

.qnp-icon-button {
	width: 42px;
	height: 42px;
	border-radius: var(--qnp-radius);
	display: inline-grid;
	place-items: center;
	font-size: 21px;
}

.qnp-icon-button:hover,
.qnp-strip-controls button:hover {
	border-color: var(--qnp-primary);
	color: var(--qnp-primary);
}

.qnp-login-link,
.qnp-button,
.search-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	border-radius: var(--qnp-radius);
	padding: 0 16px;
	background: var(--qnp-primary);
	color: #ffffff;
	border: 0;
	font-weight: 800;
	cursor: pointer;
}

.qnp-menu-toggle {
	display: none;
}

.qnp-search-panel,
.qnp-mobile-menu {
	border-top: 1px solid var(--qnp-border);
	background: #ffffff;
}

.qnp-search-panel .qnp-container {
	padding-block: 14px;
}

.search-form {
	display: flex;
	gap: 8px;
}

.search-field {
	flex: 1 1 auto;
	min-width: 0;
	height: 44px;
	border: 1px solid var(--qnp-border);
	border-radius: var(--qnp-radius);
	padding: 0 14px;
	font: inherit;
}

.qnp-mobile-menu {
	padding: 12px 20px;
}

.qnp-mobile-menu-list a {
	display: block;
	padding: 11px 0;
	border-bottom: 1px solid var(--qnp-border);
	font-weight: 700;
}

.qnp-section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.qnp-section-header h1,
.qnp-section-header h2,
.qnp-single-header h1,
.qnp-scoreboard h1 {
	margin: 0;
	color: var(--qnp-heading);
	line-height: 1.35;
}

.qnp-section-header h2 {
	font-size: 24px;
}

.qnp-section-header a {
	color: var(--qnp-primary);
	font-weight: 800;
}

.qnp-section-header-light h2,
.qnp-section-header-light a {
	color: #ffffff;
}

.qnp-home-block,
.qnp-archive-layout,
.qnp-single,
.qnp-single-match,
.qnp-not-found {
	padding-block: 36px;
}

.qnp-content-with-sidebar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 26px;
	align-items: start;
	padding-block: 36px;
}

.qnp-archive-layout .qnp-content-with-sidebar,
.qnp-content-with-sidebar .qnp-single {
	padding-block: 0;
}

.qnp-main-column {
	min-width: 0;
}

.qnp-sidebar {
	position: sticky;
	top: 94px;
	display: grid;
	gap: 16px;
}

.qnp-sidebar .qnp-ad {
	width: 100%;
	margin: 0;
}

.qnp-widget {
	border: 1px solid var(--qnp-border);
	border-radius: var(--qnp-radius);
	background: #ffffff;
	padding: 16px;
}

.qnp-widget-title {
	margin: 0 0 12px;
	font-size: 18px;
	color: var(--qnp-heading);
}

.qnp-sidebar-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.qnp-sidebar-list a {
	display: block;
	font-weight: 800;
	line-height: 1.55;
}

.qnp-post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.qnp-post-grid-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.qnp-post-card {
	border: 1px solid var(--qnp-border);
	border-radius: var(--qnp-radius);
	background: #ffffff;
	overflow: hidden;
	min-width: 0;
}

.qnp-card-image {
	display: block;
	aspect-ratio: 5 / 3;
	background: var(--qnp-soft);
	overflow: hidden;
}

.qnp-card-image img,
.qnp-hero-image img,
.qnp-worldcup-main img,
.qnp-featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.qnp-card-body {
	padding: 14px;
}

.qnp-post-card h3,
.qnp-worldcup-main h3,
.qnp-ranked-item h3 {
	margin: 6px 0;
	line-height: 1.45;
	font-size: 19px;
	color: var(--qnp-dark);
}

.qnp-post-card p,
.qnp-worldcup-main p,
.qnp-archive-description {
	margin: 0 0 10px;
	color: var(--qnp-muted);
}

.qnp-post-card-compact {
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);
	gap: 12px;
	padding: 10px;
}

.qnp-post-card-compact .qnp-card-image {
	aspect-ratio: 16 / 11;
	border-radius: 6px;
}

.qnp-post-card-compact .qnp-card-body {
	padding: 0;
}

.qnp-post-card-compact h3 {
	font-size: 15px;
	margin: 4px 0;
}

.qnp-category,
.qnp-wc-badge {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	border-radius: 999px;
	background: rgba(11, 95, 255, 0.08);
	color: var(--qnp-primary);
	font-size: 12px;
	font-weight: 800;
	padding: 0 10px;
}

.qnp-wc-badge {
	background: rgba(214, 162, 31, 0.16);
	color: #8a5d00;
}

.qnp-meta,
.qnp-single-meta,
.qnp-match-details,
.qnp-score-details {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	color: var(--qnp-muted);
	font-size: 13px;
}

.qnp-dot {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--qnp-border);
}

.qnp-image-placeholder {
	width: 100%;
	height: 100%;
	background:
		linear-gradient(135deg, rgba(11, 95, 255, 0.15), rgba(214, 162, 31, 0.18)),
		var(--qnp-soft);
}

.qnp-ad {
	width: min(1180px, calc(100% - 32px));
	margin: 18px auto;
	text-align: center;
	background: var(--qnp-soft);
	border: 1px dashed var(--qnp-border);
	border-radius: var(--qnp-radius);
	padding: 12px;
}

.qnp-ad-label {
	display: block;
	color: var(--qnp-muted);
	font-size: 12px;
	margin-bottom: 6px;
}

.qnp-ad-code {
	overflow: hidden;
}

.qnp-hero-news {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.85fr);
	gap: 18px;
	padding-block: 28px;
}

.qnp-hero-main {
	border-radius: var(--qnp-radius);
	overflow: hidden;
	background: var(--qnp-dark);
	position: relative;
	min-height: 450px;
}

.qnp-hero-image {
	position: absolute;
	inset: 0;
}

.qnp-hero-image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(17, 24, 39, 0.05), rgba(17, 24, 39, 0.82));
}

.qnp-hero-content {
	position: absolute;
	inset-inline: 24px;
	bottom: 24px;
	color: #ffffff;
	max-width: 720px;
}

.qnp-hero-content h1 {
	margin: 10px 0;
	font-size: 34px;
	line-height: 1.35;
}

.qnp-hero-content p,
.qnp-hero-content .qnp-meta {
	color: rgba(255, 255, 255, 0.86);
}

.qnp-hero-side {
	display: grid;
	gap: 12px;
}

.qnp-matches-strip {
	background: var(--qnp-soft);
	border-bottom: 1px solid var(--qnp-border);
	padding-block: 20px;
}

.qnp-strip-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
}

.qnp-strip-header h2 {
	margin: 0;
	font-size: 20px;
}

.qnp-strip-controls {
	display: flex;
	gap: 6px;
}

.qnp-strip-controls button {
	width: 36px;
	height: 36px;
	border-radius: var(--qnp-radius);
	font-size: 24px;
	line-height: 1;
}

.qnp-matches-scroll {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(260px, 310px);
	gap: 12px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: 4px;
}

.qnp-match-card {
	scroll-snap-align: start;
	display: block;
	background: #ffffff;
	border: 1px solid var(--qnp-border);
	border-radius: var(--qnp-radius);
	padding: 14px;
	min-height: 178px;
}

.qnp-match-card.qnp-status-live,
.qnp-scoreboard.qnp-status-live {
	border-color: rgba(215, 25, 32, 0.42);
}

.qnp-status-live .qnp-match-top strong,
.qnp-scoreboard.qnp-status-live .qnp-score-meta strong {
	background: var(--qnp-danger);
	color: #ffffff;
}

.qnp-status-finished .qnp-match-top strong,
.qnp-scoreboard.qnp-status-finished .qnp-score-meta strong {
	background: #334155;
	color: #ffffff;
}

.qnp-status-postponed .qnp-match-top strong,
.qnp-scoreboard.qnp-status-postponed .qnp-score-meta strong,
.qnp-status-cancelled .qnp-match-top strong,
.qnp-scoreboard.qnp-status-cancelled .qnp-score-meta strong {
	background: #6b7280;
	color: #ffffff;
}

.qnp-match-top {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	color: var(--qnp-muted);
	font-size: 12px;
}

.qnp-match-top strong {
	color: var(--qnp-danger);
}

.qnp-match-teams {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 10px;
	margin: 14px 0;
	text-align: center;
}

.qnp-match-teams span {
	display: grid;
	justify-items: center;
	gap: 6px;
	font-weight: 800;
	min-width: 0;
}

.qnp-match-teams b,
.qnp-match-teams strong {
	min-width: 56px;
	background: var(--qnp-soft);
	border: 1px solid var(--qnp-border);
	border-radius: 6px;
	padding: 4px 8px;
	color: var(--qnp-dark);
}

.qnp-team-flag {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	object-fit: cover;
	border: 1px solid var(--qnp-border);
	background: #ffffff;
}

.qnp-flag-placeholder {
	display: inline-block;
	background: linear-gradient(135deg, var(--qnp-primary), var(--qnp-gold));
}

.qnp-match-details {
	justify-content: center;
	font-size: 12px;
}

.qnp-match-card em {
	display: block;
	margin-top: 10px;
	color: var(--qnp-primary);
	font-style: normal;
	font-weight: 800;
	text-align: center;
}

.qnp-worldcup-block {
	position: relative;
	background: var(--qnp-dark);
	background-size: cover;
	background-position: center;
	padding-block: 44px;
	margin-block: 18px;
	overflow: hidden;
}

.qnp-worldcup-overlay {
	position: absolute;
	inset: 0;
	background: var(--qnp-worldcup-overlay, #0b1b3f);
	opacity: 0.82;
}

.qnp-worldcup-inner {
	position: relative;
	z-index: 1;
}

.qnp-worldcup-card {
	background: #ffffff;
	border-radius: var(--qnp-radius);
	padding: 18px;
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
	gap: 18px;
}

.qnp-worldcup-main {
	display: grid;
	grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1fr);
	gap: 16px;
	align-items: center;
}

.qnp-worldcup-main a:first-child {
	display: block;
	aspect-ratio: 5 / 3;
	overflow: hidden;
	border-radius: 6px;
}

.qnp-worldcup-side {
	display: grid;
	gap: 10px;
}

.qnp-worldcup-side article {
	border-bottom: 1px solid var(--qnp-border);
	padding-bottom: 10px;
}

.qnp-worldcup-side article:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.qnp-worldcup-side h4 {
	margin: 6px 0;
	font-size: 16px;
	line-height: 1.45;
}

.qnp-ranked-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.qnp-ranked-item {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	gap: 12px;
	align-items: start;
	border: 1px solid var(--qnp-border);
	border-radius: var(--qnp-radius);
	padding: 14px;
	background: #ffffff;
}

.qnp-ranked-item > span {
	width: 36px;
	height: 36px;
	display: inline-grid;
	place-items: center;
	background: var(--qnp-primary);
	color: #ffffff;
	border-radius: 50%;
	font-weight: 900;
}

.qnp-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	color: var(--qnp-muted);
	font-size: 14px;
	margin-bottom: 18px;
}

.qnp-breadcrumbs a::after {
	content: "/";
	margin-inline-start: 8px;
	color: var(--qnp-border);
}

.qnp-single {
	max-width: 930px;
}

.qnp-single-header {
	margin-bottom: 22px;
}

.qnp-single-header h1 {
	font-size: 38px;
	margin: 10px 0;
}

.qnp-share-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
}

.qnp-share-buttons a {
	border: 1px solid var(--qnp-border);
	border-radius: var(--qnp-radius);
	padding: 7px 12px;
	font-weight: 800;
	color: var(--qnp-dark);
}

.qnp-featured-image {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: var(--qnp-radius);
	margin: 0 0 24px;
	background: var(--qnp-soft);
}

.qnp-toc {
	border: 1px solid var(--qnp-border);
	border-radius: var(--qnp-radius);
	background: var(--qnp-soft);
	padding: 14px 16px;
	margin-bottom: 22px;
}

.qnp-toc[hidden] {
	display: none;
}

.qnp-toc ol {
	margin: 8px 20px 0 0;
	padding: 0;
}

.qnp-entry-content {
	font-size: 18px;
	color: var(--qnp-text);
}

.qnp-entry-content h2,
.qnp-entry-content h3 {
	color: var(--qnp-heading);
	line-height: 1.45;
	margin-top: 30px;
}

.qnp-entry-content p {
	margin: 0 0 18px;
}

.qnp-entry-content img {
	border-radius: var(--qnp-radius);
}

.qnp-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 24px;
}

.qnp-tags a {
	background: var(--qnp-soft);
	border: 1px solid var(--qnp-border);
	border-radius: 999px;
	padding: 5px 10px;
	font-size: 13px;
}

.qnp-related-posts {
	margin-top: 34px;
}

.qnp-scoreboard {
	background: linear-gradient(135deg, var(--qnp-dark), #23324d);
	color: #ffffff;
	border-radius: var(--qnp-radius);
	padding: 26px;
	margin-block: 24px;
}

.qnp-scoreboard h1 {
	color: #ffffff;
	text-align: center;
	margin: 10px 0 24px;
	font-size: 30px;
}

.qnp-score-meta,
.qnp-score-details {
	justify-content: center;
	color: rgba(255, 255, 255, 0.82);
}

.qnp-score-meta {
	display: flex;
	gap: 10px;
	align-items: center;
}

.qnp-score-meta strong {
	background: var(--qnp-danger);
	border-radius: 999px;
	padding: 2px 10px;
}

.qnp-score-teams {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	gap: 20px;
	align-items: center;
}

.qnp-score-team {
	display: grid;
	justify-items: center;
	gap: 10px;
	text-align: center;
	font-size: 20px;
}

.qnp-score-team .qnp-team-flag {
	width: 70px;
	height: 70px;
}

.qnp-score-center span {
	display: inline-grid;
	place-items: center;
	min-width: 110px;
	min-height: 64px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: var(--qnp-radius);
	font-size: 28px;
	font-weight: 900;
}

.qnp-match-tabs {
	border: 1px solid var(--qnp-border);
	border-radius: var(--qnp-radius);
	overflow: hidden;
	background: #ffffff;
}

.qnp-tab-list {
	display: flex;
	gap: 0;
	overflow-x: auto;
	background: var(--qnp-soft);
	border-bottom: 1px solid var(--qnp-border);
}

.qnp-tab-list button {
	min-height: 48px;
	padding: 0 18px;
	border: 0;
	border-inline-end: 1px solid var(--qnp-border);
	background: transparent;
	font-weight: 800;
	white-space: nowrap;
}

.qnp-tab-list button.is-active {
	background: #ffffff;
	color: var(--qnp-primary);
}

.qnp-tab-panel {
	display: none;
	padding: 18px;
}

.qnp-tab-panel.is-active {
	display: block;
}

.qnp-live-events {
	display: grid;
	gap: 10px;
}

.qnp-event-card {
	display: grid;
	grid-template-columns: 56px 42px minmax(0, 1fr);
	gap: 10px;
	align-items: start;
	border: 1px solid var(--qnp-border);
	border-radius: var(--qnp-radius);
	padding: 12px;
}

.qnp-event-minute {
	font-weight: 900;
	color: var(--qnp-primary);
}

.qnp-event-icon {
	width: 34px;
	height: 34px;
	display: inline-grid;
	place-items: center;
	border-radius: 50%;
	background: var(--qnp-soft);
	font-weight: 900;
}

.qnp-event-goal .qnp-event-icon {
	background: rgba(11, 95, 255, 0.12);
	color: var(--qnp-primary);
}

.qnp-event-red_card .qnp-event-icon {
	background: rgba(215, 25, 32, 0.12);
	color: var(--qnp-danger);
}

.qnp-event-yellow_card .qnp-event-icon {
	background: rgba(214, 162, 31, 0.18);
	color: #8a5d00;
}

.qnp-match-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.qnp-match-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 18px;
}

.qnp-match-filters a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	border: 1px solid var(--qnp-border);
	border-radius: var(--qnp-radius);
	padding: 0 12px;
	background: #ffffff;
	font-weight: 800;
	color: var(--qnp-dark);
}

.qnp-match-filters a.is-active {
	background: var(--qnp-primary);
	border-color: var(--qnp-primary);
	color: #ffffff;
}

.qnp-match-card-archive {
	min-height: auto;
}

.qnp-site-footer {
	background: var(--qnp-dark);
	color: #ffffff;
	margin-top: 36px;
	padding-block: 34px 18px;
}

.qnp-footer-inner {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
	gap: 24px;
}

.qnp-footer-brand p,
.qnp-footer-copy {
	color: rgba(255, 255, 255, 0.68);
}

.qnp-footer-menu a,
.qnp-social-links a {
	display: inline-flex;
	margin: 0 0 8px 12px;
	color: rgba(255, 255, 255, 0.86);
}

.qnp-footer-copy {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	margin-top: 22px;
	padding-top: 16px;
	font-size: 13px;
}

.qnp-empty {
	color: var(--qnp-muted);
	background: var(--qnp-soft);
	border: 1px solid var(--qnp-border);
	border-radius: var(--qnp-radius);
	padding: 14px;
}

.navigation.pagination {
	margin-top: 24px;
}

.nav-links {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
}

.page-numbers {
	border: 1px solid var(--qnp-border);
	border-radius: var(--qnp-radius);
	padding: 6px 12px;
}

.page-numbers.current {
	background: var(--qnp-primary);
	color: #ffffff;
	border-color: var(--qnp-primary);
}

.qnp-dark-mode {
	--qnp-bg: #0f172a;
	--qnp-text: #dbe4f0;
	--qnp-heading: #ffffff;
	--qnp-border: #263244;
	--qnp-soft: #172033;
	background: var(--qnp-bg);
}

.qnp-dark-mode .qnp-site-header,
.qnp-dark-mode .qnp-post-card,
.qnp-dark-mode .qnp-search-panel,
.qnp-dark-mode .qnp-mobile-menu,
.qnp-dark-mode .qnp-match-card,
.qnp-dark-mode .qnp-worldcup-card,
.qnp-dark-mode .qnp-widget,
.qnp-dark-mode .qnp-match-filters a,
.qnp-dark-mode .qnp-match-tabs,
.qnp-dark-mode .qnp-tab-list button.is-active {
	background: #111827;
}

.qnp-dark-mode .qnp-menu a,
.qnp-dark-mode .qnp-logo,
.qnp-dark-mode .qnp-post-card h3,
.qnp-dark-mode .qnp-share-buttons a,
.qnp-dark-mode .qnp-match-teams b,
.qnp-dark-mode .qnp-match-teams strong {
	color: #ffffff;
}

@media (max-width: 980px) {
	.qnp-primary-nav {
		display: none;
	}

	.qnp-menu-toggle {
		display: inline-grid;
	}

	.qnp-hero-news,
	.qnp-worldcup-card,
	.qnp-worldcup-main,
	.qnp-content-with-sidebar,
	.qnp-footer-inner {
		grid-template-columns: 1fr;
	}

	.qnp-sidebar {
		position: static;
	}

	.qnp-hero-main {
		min-height: 390px;
	}

	.qnp-post-grid,
	.qnp-ranked-list,
	.qnp-match-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 680px) {
	.qnp-container {
		width: min(100% - 22px, 1180px);
	}

	.qnp-header-inner {
		min-height: 62px;
		gap: 10px;
	}

	.qnp-logo {
		font-size: 20px;
	}

	.qnp-login-link {
		display: none;
	}

	.qnp-post-grid,
	.qnp-ranked-list,
	.qnp-match-grid {
		grid-template-columns: 1fr;
	}

	.qnp-hero-main {
		min-height: 360px;
	}

	.qnp-hero-content {
		inset-inline: 16px;
		bottom: 16px;
	}

	.qnp-hero-content h1,
	.qnp-single-header h1 {
		font-size: 28px;
	}

	.qnp-score-teams {
		grid-template-columns: 1fr;
	}

	.qnp-score-center {
		order: -1;
		text-align: center;
	}

	.qnp-match-teams {
		grid-template-columns: 1fr;
	}

	.qnp-match-teams b,
	.qnp-match-teams strong {
		margin: 4px auto;
	}

	.qnp-post-card-compact {
		grid-template-columns: 96px minmax(0, 1fr);
	}

	.qnp-entry-content {
		font-size: 17px;
	}
}

/* Enhanced layout pass */
.qnp-mobile-drawer-wrap {
	position: fixed;
	inset: 0;
	z-index: 999;
}

.qnp-mobile-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.45);
}

.qnp-mobile-drawer {
	position: absolute;
	inset-block: 0;
	inset-inline-start: 0;
	width: min(88vw, 380px);
	background: #ffffff;
	box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
	padding: 18px;
	overflow-y: auto;
	transform: translateX(0);
}

.qnp-drawer-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

.qnp-drawer-head strong {
	color: var(--qnp-heading);
	font-size: 20px;
}

.qnp-drawer-section {
	border-top: 1px solid var(--qnp-border);
	padding-top: 14px;
	margin-top: 14px;
}

.qnp-drawer-section h2,
.qnp-footer-nav h2,
.qnp-social-links h2 {
	margin: 0 0 10px;
	font-size: 16px;
	color: inherit;
}

.qnp-drawer-list,
.qnp-drawer-section ul,
.qnp-footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.qnp-mobile-menu-list a,
.qnp-drawer-list a,
.qnp-drawer-section li a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 42px;
	border-bottom: 1px solid var(--qnp-border);
	font-weight: 800;
	color: var(--qnp-dark);
}

.qnp-drawer-social {
	display: flex;
	gap: 8px;
	margin-top: 18px;
}

.qnp-drawer-open body {
	overflow: hidden;
}

body.qnp-drawer-open {
	overflow: hidden;
	touch-action: none;
}

.qnp-social-icon,
.qnp-share-button {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: inline-grid;
	place-items: center;
	font-weight: 900;
	line-height: 1;
}

.qnp-social-icon {
	background: rgba(255, 255, 255, 0.1);
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.18);
}

.qnp-mobile-drawer .qnp-social-icon {
	background: var(--qnp-soft);
	color: var(--qnp-dark);
	border-color: var(--qnp-border);
}

.qnp-site-footer {
	padding-block: 42px 18px;
}

.qnp-footer-inner {
	grid-template-columns: minmax(240px, 1.25fr) repeat(3, minmax(160px, 1fr));
	align-items: start;
}

.qnp-footer-brand strong {
	display: block;
	margin-bottom: 8px;
	font-size: 22px;
}

.qnp-footer-menu li {
	margin-bottom: 8px;
}

.qnp-footer-menu a {
	margin: 0;
}

.qnp-social-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.qnp-social-links h2 {
	flex: 0 0 100%;
}

.qnp-worldcup-block {
	min-height: 560px;
	display: flex;
	align-items: center;
	background-attachment: fixed;
}

.qnp-worldcup-overlay {
	background:
		linear-gradient(90deg, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.18)),
		var(--qnp-worldcup-overlay, #0b1b3f);
	opacity: var(--qnp-worldcup-opacity, 0.55);
}

.qnp-worldcup-kicker {
	display: inline-flex;
	margin-bottom: 6px;
	color: rgba(255, 255, 255, 0.82);
	font-weight: 900;
}

.qnp-worldcup-card {
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(10px);
	box-shadow: 0 28px 80px rgba(15, 23, 42, 0.26);
	border: 1px solid rgba(255, 255, 255, 0.55);
	grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
}

.qnp-worldcup-main {
	grid-template-columns: 1fr;
	align-items: stretch;
}

.qnp-worldcup-image,
.qnp-worldcup-main a:first-child {
	aspect-ratio: 16 / 9;
	border-radius: var(--qnp-radius);
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.14);
}

.qnp-worldcup-main-content {
	padding: 4px 2px;
}

.qnp-worldcup-main h3 {
	font-size: 25px;
	margin-block: 10px;
}

.qnp-worldcup-link {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	border-radius: var(--qnp-radius);
	background: var(--qnp-primary);
	color: #ffffff;
	padding: 0 14px;
	font-weight: 900;
}

.qnp-worldcup-side {
	gap: 12px;
}

.qnp-worldcup-side-card {
	display: grid;
	grid-template-columns: 106px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	border: 1px solid var(--qnp-border);
	border-radius: var(--qnp-radius);
	background: #ffffff;
	padding: 10px;
}

.qnp-worldcup-side-card .qnp-worldcup-thumb {
	display: block;
	aspect-ratio: 4 / 3;
	border-radius: 6px;
	overflow: hidden;
	background: var(--qnp-soft);
}

.qnp-worldcup-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.qnp-worldcup-side-card h4 {
	margin: 6px 0 4px;
}

.qnp-share-buttons {
	align-items: center;
}

.qnp-share-title {
	font-weight: 900;
	color: var(--qnp-muted);
}

.qnp-share-button {
	border: 1px solid var(--qnp-border);
	background: #ffffff;
	color: var(--qnp-dark);
	padding: 0;
}

.qnp-share-facebook {
	color: #1877f2;
}

.qnp-share-x {
	color: #111827;
}

.qnp-share-whatsapp {
	color: #128c7e;
}

.qnp-author-link {
	color: var(--qnp-primary);
	font-weight: 900;
}

.qnp-author-box {
	display: grid;
	grid-template-columns: 84px minmax(0, 1fr);
	gap: 16px;
	align-items: center;
	border: 1px solid var(--qnp-border);
	border-radius: var(--qnp-radius);
	background: var(--qnp-soft);
	padding: 16px;
	margin-top: 28px;
}

.qnp-author-img {
	border-radius: 50%;
	display: block;
}

.qnp-author-content span {
	color: var(--qnp-muted);
	font-size: 13px;
	font-weight: 900;
}

.qnp-author-content h2 {
	margin: 2px 0 6px;
	font-size: 20px;
}

.qnp-author-content p {
	margin: 0;
	color: var(--qnp-muted);
}

.qnp-single {
	max-width: 820px;
}

.qnp-entry-content {
	max-width: 760px;
}

.qnp-entry-content iframe,
.qnp-entry-content video {
	max-width: 100%;
}

.qnp-scoreboard {
	background: #ffffff;
	color: var(--qnp-dark);
	border: 0;
	border-radius: 0;
	border-bottom: 4px solid var(--qnp-primary);
	padding: 22px 0 28px;
	margin: 0 calc(50% - 50vw) 30px;
	width: 100vw;
}

.qnp-scoreboard .qnp-score-teams,
.qnp-scoreboard .qnp-match-headline,
.qnp-scoreboard .qnp-score-details {
	width: min(980px, calc(100% - 32px));
	margin-inline: auto;
}

.qnp-scoreboard h1 {
	color: #000000;
	font-size: 38px;
	margin: 10px 0;
}

.qnp-score-teams {
	grid-template-columns: minmax(0, 1fr) minmax(190px, auto) minmax(0, 1fr);
}

.qnp-score-team {
	font-size: 22px;
	color: #000000;
}

.qnp-score-team .qnp-team-flag {
	width: 62px;
	height: 62px;
	border-radius: 4px;
}

.qnp-score-center {
	display: grid;
	justify-items: center;
	gap: 5px;
	color: var(--qnp-muted);
}

.qnp-score-center span:not(.qnp-live-pulse) {
	background: transparent;
	border: 0;
	min-width: 120px;
	min-height: auto;
	color: #000000;
	font-size: 48px;
	font-weight: 900;
}

.qnp-score-center strong {
	font-size: 15px;
	color: var(--qnp-dark);
}

.qnp-score-center time {
	font-size: 13px;
}

.qnp-match-headline {
	text-align: center;
	margin-top: 26px;
}

.qnp-match-headline p {
	max-width: 760px;
	margin: 10px auto 0;
	color: var(--qnp-text);
	font-size: 18px;
}

.qnp-score-details {
	justify-content: center;
	color: var(--qnp-muted);
	margin-top: 16px;
}

.qnp-live-pulse {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #c5162e;
	font-weight: 900;
}

.qnp-live-pulse::before {
	content: "";
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: 3px solid currentColor;
	animation: qnpPulse 1.25s infinite ease-out;
}

.qnp-live-pulse-title {
	justify-content: center;
}

@keyframes qnpPulse {
	0% {
		transform: scale(0.85);
		opacity: 1;
	}
	70% {
		transform: scale(1.45);
		opacity: 0.15;
	}
	100% {
		transform: scale(0.85);
		opacity: 1;
	}
}

.qnp-match-commentary {
	max-width: 920px;
	margin: 0 auto;
}

.qnp-commentary-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	border-bottom: 1px solid var(--qnp-border);
	padding-bottom: 14px;
	margin-bottom: 18px;
}

.qnp-commentary-header span {
	color: var(--qnp-muted);
	font-weight: 800;
}

.qnp-commentary-header h2 {
	margin: 0;
	font-size: 24px;
	color: var(--qnp-heading);
}

.qnp-refresh-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 900;
}

.qnp-refresh-toggle input {
	width: 46px;
	height: 24px;
	accent-color: var(--qnp-primary);
}

.qnp-event-card {
	grid-template-columns: 72px 40px minmax(0, 1fr);
	border-inline-end: 4px solid var(--qnp-dark);
	border-radius: 0;
	padding: 18px;
}

.qnp-event-card p {
	margin: 4px 0 0;
	font-size: 18px;
	color: #000000;
}

.qnp-event-minute {
	color: var(--qnp-muted);
}

@media (max-width: 980px) {
	.qnp-worldcup-block {
		background-attachment: scroll;
		min-height: auto;
	}

	.qnp-footer-inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 680px) {
	.qnp-mobile-drawer {
		inset-inline-start: auto;
		inset-inline-end: 0;
		width: min(92vw, 370px);
	}

	.qnp-worldcup-block {
		padding-block: 34px;
	}

	.qnp-worldcup-card,
	.qnp-worldcup-side-card {
		grid-template-columns: 1fr;
	}

	.qnp-worldcup-main h3 {
		font-size: 21px;
	}

	.qnp-footer-inner {
		grid-template-columns: 1fr;
	}

	.qnp-content-with-sidebar {
		padding-block: 22px;
	}

	.qnp-single {
		max-width: 100%;
	}

	.qnp-single-header h1 {
		font-size: 25px;
		line-height: 1.45;
	}

	.qnp-single-meta,
	.qnp-score-details {
		align-items: flex-start;
	}

	.qnp-featured-image {
		margin-inline: calc((100vw - 100%) / -2);
		border-radius: 0;
	}

	.qnp-entry-content {
		max-width: 100%;
		font-size: 18px;
		line-height: 1.95;
		overflow-wrap: anywhere;
	}

	.qnp-entry-content p {
		margin-bottom: 20px;
	}

	.qnp-share-buttons {
		gap: 10px;
	}

	.qnp-author-box {
		grid-template-columns: 64px minmax(0, 1fr);
	}

	.qnp-scoreboard {
		padding-top: 12px;
	}

	.qnp-score-teams {
		grid-template-columns: minmax(0, 1fr) minmax(94px, auto) minmax(0, 1fr);
		gap: 8px;
	}

	.qnp-score-team {
		font-size: 15px;
	}

	.qnp-score-team .qnp-team-flag {
		width: 48px;
		height: 48px;
	}

	.qnp-score-center {
		order: initial;
	}

	.qnp-score-center span:not(.qnp-live-pulse) {
		font-size: 34px;
		min-width: 74px;
	}

	.qnp-scoreboard h1 {
		font-size: 28px;
		line-height: 1.45;
	}

	.qnp-match-headline p {
		font-size: 16px;
	}

	.qnp-commentary-header {
		align-items: flex-start;
		flex-direction: column;
	}

	.qnp-event-card {
		grid-template-columns: 54px 34px minmax(0, 1fr);
		padding: 14px;
	}

	.qnp-event-card p {
		font-size: 16px;
	}
}

/* Final polish: compact match ticker, premium match page, responsive article */
html,
body {
	max-width: 100%;
	overflow-x: hidden;
}

.qnp-matches-strip {
	background: #0b1220;
	border: 0;
	padding-block: 10px;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.qnp-matches-strip-inner {
	display: grid;
	grid-template-columns: 180px minmax(0, 1fr);
	gap: 14px;
	align-items: center;
}

.qnp-strip-header {
	margin: 0;
	color: #ffffff;
}

.qnp-strip-header > div:first-child span {
	display: block;
	color: rgba(255, 255, 255, 0.58);
	font-size: 11px;
	font-weight: 900;
	line-height: 1.2;
}

.qnp-strip-header h2 {
	color: #ffffff;
	font-size: 15px;
	line-height: 1.35;
}

.qnp-strip-controls button {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border-color: rgba(255, 255, 255, 0.18);
	background: rgba(255, 255, 255, 0.08);
	color: #ffffff;
	font-size: 18px;
}

.qnp-matches-scroll {
	grid-auto-columns: minmax(210px, 250px);
	gap: 8px;
	padding: 1px 0 2px;
	scrollbar-width: thin;
}

.qnp-match-card-mini {
	min-height: 74px;
	padding: 8px 10px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1fr);
	gap: 8px;
	align-items: center;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(255, 255, 255, 0.07);
	color: #ffffff;
	border-radius: 8px;
	box-shadow: none;
}

.qnp-match-card-mini:hover {
	border-color: rgba(255, 255, 255, 0.34);
	color: #ffffff;
	transform: translateY(-1px);
}

.qnp-mini-team {
	display: grid;
	justify-items: center;
	gap: 4px;
	min-width: 0;
	text-align: center;
}

.qnp-mini-team .qnp-team-flag {
	width: 28px;
	height: 28px;
	border-radius: 4px;
}

.qnp-mini-team strong {
	width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 12px;
	color: #ffffff;
	line-height: 1.3;
}

.qnp-mini-center {
	display: grid;
	justify-items: center;
	gap: 1px;
	text-align: center;
}

.qnp-mini-center b {
	font-size: 17px;
	line-height: 1.2;
	color: #ffffff;
}

.qnp-mini-center small,
.qnp-mini-status {
	max-width: 78px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: rgba(255, 255, 255, 0.62);
	font-size: 10px;
	font-weight: 800;
}

.qnp-mini-live {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: #ff385c;
	font-size: 10px;
	font-weight: 900;
}

.qnp-mini-live::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
	box-shadow: 0 0 0 0 rgba(255, 56, 92, 0.7);
	animation: qnpLiveDot 1.3s infinite;
}

@keyframes qnpLiveDot {
	70% {
		box-shadow: 0 0 0 8px rgba(255, 56, 92, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(255, 56, 92, 0);
	}
}

.qnp-single-match {
	width: min(100%, 100%);
}

.qnp-scoreboard {
	background:
		radial-gradient(circle at 15% 20%, rgba(11, 95, 255, 0.18), transparent 28%),
		linear-gradient(135deg, #07111f, #101827 58%, #07111f);
	color: #ffffff;
	border: 0;
	border-radius: 0;
	padding: 26px 0 34px;
	margin: 0 calc(50% - 50vw) 34px;
	width: 100vw;
}

.qnp-match-hero-card {
	width: min(980px, calc(100% - 32px));
	margin-inline: auto;
	background: rgba(255, 255, 255, 0.96);
	color: #0f172a;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 12px;
	padding: 18px;
	box-shadow: 0 26px 80px rgba(0, 0, 0, 0.25);
}

.qnp-match-hero-top {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 18px;
	color: #64748b;
	font-weight: 900;
}

.qnp-match-hero-top strong {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	border-radius: 999px;
	background: #eff6ff;
	color: var(--qnp-primary);
	padding: 0 12px;
}

.qnp-status-live .qnp-match-hero-top strong {
	background: rgba(197, 22, 46, 0.1);
	color: #c5162e;
}

.qnp-scoreboard .qnp-score-teams {
	width: 100%;
	grid-template-columns: minmax(0, 1fr) minmax(150px, auto) minmax(0, 1fr);
	gap: 18px;
}

.qnp-scoreboard .qnp-score-team {
	color: #0f172a;
	font-size: 20px;
}

.qnp-scoreboard .qnp-score-team .qnp-team-flag {
	width: 64px;
	height: 64px;
	border-radius: 8px;
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}

.qnp-scoreboard .qnp-score-center span:not(.qnp-live-pulse) {
	display: inline-grid;
	place-items: center;
	min-width: 120px;
	min-height: 58px;
	border-radius: 12px;
	background: #0f172a;
	color: #ffffff;
	font-size: 34px;
	font-weight: 950;
}

.qnp-scoreboard .qnp-score-center time {
	font-size: 12px;
	color: #64748b;
	font-weight: 800;
}

.qnp-score-details {
	width: min(980px, calc(100% - 32px));
	margin: 16px auto 0;
	display: flex;
	justify-content: center;
	gap: 8px;
	color: #334155;
}

.qnp-score-details span {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	border-radius: 999px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	padding: 0 10px;
	font-size: 12px;
	font-weight: 800;
}

.qnp-match-headline {
	width: min(860px, calc(100% - 32px));
	margin: 26px auto 0;
	text-align: center;
}

.qnp-match-headline h1 {
	color: #ffffff;
	font-size: 34px;
	line-height: 1.45;
	margin: 8px 0 10px;
}

.qnp-match-headline p {
	color: rgba(255, 255, 255, 0.78);
	font-size: 17px;
}

.qnp-match-headline .qnp-share-buttons {
	justify-content: center;
}

.qnp-match-headline .qnp-share-title {
	color: rgba(255, 255, 255, 0.75);
}

.qnp-match-commentary {
	width: min(920px, calc(100% - 32px));
	margin-inline: auto;
	border: 1px solid var(--qnp-border);
	border-radius: 12px;
	background: #ffffff;
	padding: 18px;
	box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.qnp-commentary-header {
	border: 0;
	border-bottom: 1px solid var(--qnp-border);
	padding-bottom: 14px;
}

.qnp-refresh-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.qnp-refresh-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	user-select: none;
}

.qnp-refresh-toggle input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.qnp-refresh-switch {
	position: relative;
	width: 48px;
	height: 28px;
	border-radius: 999px;
	background: #e2e8f0;
	transition: 0.2s ease;
}

.qnp-refresh-switch::after {
	content: "";
	position: absolute;
	top: 4px;
	inset-inline-start: 4px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.22);
	transition: 0.2s ease;
}

.qnp-refresh-toggle input:checked + .qnp-refresh-switch {
	background: var(--qnp-primary);
}

.qnp-refresh-toggle input:checked + .qnp-refresh-switch::after {
	transform: translateX(-20px);
}

.qnp-refresh-toggle strong {
	font-size: 14px;
	color: var(--qnp-heading);
}

.qnp-refresh-now {
	min-height: 36px;
	border: 1px solid var(--qnp-border);
	border-radius: 999px;
	background: #ffffff;
	color: var(--qnp-primary);
	padding: 0 12px;
	font-weight: 900;
	cursor: pointer;
}

.qnp-event-card {
	border: 1px solid var(--qnp-border);
	border-inline-end: 4px solid var(--qnp-primary);
	border-radius: 10px;
	background: #ffffff;
	box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

.qnp-event-card p {
	color: var(--qnp-text);
}

.qnp-share-button,
.qnp-social-icon {
	padding: 0;
}

.qnp-share-button svg,
.qnp-social-icon svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
	display: block;
}

.qnp-share-button {
	background: #ffffff;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.qnp-share-facebook {
	color: #1877f2;
}

.qnp-share-x {
	color: #111827;
}

.qnp-share-whatsapp {
	color: #25d366;
}

.qnp-post-single {
	width: 100%;
	min-width: 0;
}

.qnp-entry-content {
	width: 100%;
	max-width: 760px;
	overflow-wrap: break-word;
	word-break: normal;
}

.qnp-entry-content table,
.qnp-entry-content pre {
	display: block;
	max-width: 100%;
	overflow-x: auto;
}

.qnp-entry-content figure {
	max-width: 100%;
	margin-inline: 0;
}

@media (max-width: 980px) {
	.qnp-matches-strip-inner {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.qnp-strip-header {
		display: flex;
	}

	.qnp-content-with-sidebar {
		display: block;
		width: min(100% - 24px, 760px);
		margin-inline: auto;
	}

	.qnp-sidebar {
		margin-top: 28px;
	}
}

@media (max-width: 680px) {
	.qnp-container {
		width: min(100% - 20px, 1180px);
	}

	.qnp-matches-strip {
		padding-block: 8px;
	}

	.qnp-matches-scroll {
		grid-auto-columns: minmax(190px, 220px);
	}

	.qnp-match-card-mini {
		grid-template-columns: minmax(0, 1fr) 58px minmax(0, 1fr);
		min-height: 66px;
		padding: 7px 8px;
	}

	.qnp-mini-team .qnp-team-flag {
		width: 24px;
		height: 24px;
	}

	.qnp-mini-team strong {
		font-size: 11px;
	}

	.qnp-mini-center b {
		font-size: 15px;
	}

	.qnp-scoreboard {
		padding: 16px 0 26px;
		margin-bottom: 22px;
	}

	.qnp-match-hero-card {
		width: min(100% - 20px, 560px);
		padding: 12px;
		border-radius: 10px;
	}

	.qnp-match-hero-top {
		margin-bottom: 12px;
		font-size: 12px;
	}

	.qnp-scoreboard .qnp-score-teams {
		grid-template-columns: minmax(0, 1fr) 82px minmax(0, 1fr);
		gap: 6px;
	}

	.qnp-scoreboard .qnp-score-team {
		font-size: 13px;
		gap: 6px;
	}

	.qnp-scoreboard .qnp-score-team .qnp-team-flag {
		width: 42px;
		height: 42px;
	}

	.qnp-scoreboard .qnp-score-team strong {
		max-width: 100%;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.qnp-scoreboard .qnp-score-center span:not(.qnp-live-pulse) {
		min-width: 76px;
		min-height: 42px;
		font-size: 24px;
		border-radius: 8px;
	}

	.qnp-scoreboard .qnp-score-center time {
		font-size: 10px;
		line-height: 1.3;
	}

	.qnp-score-details {
		width: 100%;
		gap: 6px;
	}

	.qnp-score-details span {
		font-size: 11px;
		min-height: 28px;
	}

	.qnp-match-headline {
		width: min(100% - 22px, 560px);
	}

	.qnp-match-headline h1 {
		font-size: 23px;
		line-height: 1.5;
	}

	.qnp-match-headline p {
		font-size: 15px;
		line-height: 1.9;
	}

	.qnp-match-commentary {
		width: min(100% - 20px, 560px);
		padding: 12px;
		border-radius: 10px;
	}

	.qnp-refresh-actions {
		width: 100%;
		justify-content: space-between;
	}

	.qnp-event-card {
		grid-template-columns: 46px 32px minmax(0, 1fr);
		gap: 8px;
	}

	.qnp-content-with-sidebar {
		width: min(100% - 20px, 760px);
		padding-block: 18px;
	}

	.qnp-single-header {
		margin-bottom: 16px;
	}

	.qnp-single-header h1 {
		font-size: 24px;
		line-height: 1.55;
	}

	.qnp-single-meta {
		font-size: 12px;
		line-height: 1.6;
	}

	.qnp-entry-content {
		font-size: 17px;
		line-height: 1.95;
		max-width: 100%;
	}

	.qnp-entry-content h2 {
		font-size: 22px;
	}

	.qnp-entry-content h3 {
		font-size: 19px;
	}

	.qnp-entry-content img,
	.qnp-featured-image img {
		max-width: 100%;
		height: auto;
	}

	.qnp-featured-image {
		aspect-ratio: auto;
		margin-inline: 0;
		border-radius: 10px;
	}

	.qnp-featured-image img {
		width: 100%;
		object-fit: contain;
	}
}

/* Complete templates: search form, author archive, comments */
.qnp-search-form {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
}

.qnp-search-form .search-field {
	height: 46px;
	border-radius: 999px;
	background: #ffffff;
	padding-inline: 16px;
	border-color: var(--qnp-border);
}

.qnp-search-submit {
	width: 46px;
	height: 46px;
	min-height: 46px;
	border-radius: 50%;
	padding: 0;
	flex: 0 0 auto;
}

.qnp-search-submit svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.qnp-author-page {
	padding-block: 34px;
}

.qnp-author-hero {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr);
	gap: 20px;
	align-items: center;
	border: 1px solid var(--qnp-border);
	border-radius: 12px;
	background:
		linear-gradient(135deg, rgba(11, 95, 255, 0.08), rgba(214, 162, 31, 0.08)),
		#ffffff;
	padding: 22px;
	margin-bottom: 28px;
}

.qnp-author-hero-avatar img {
	border-radius: 50%;
	display: block;
	box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
}

.qnp-author-hero-content span {
	display: inline-flex;
	margin-bottom: 6px;
	color: var(--qnp-primary);
	font-size: 13px;
	font-weight: 900;
}

.qnp-author-hero-content h1 {
	margin: 0 0 8px;
	color: var(--qnp-heading);
	font-size: 32px;
	line-height: 1.35;
}

.qnp-author-hero-content p {
	margin: 0;
	color: var(--qnp-muted);
	max-width: 760px;
}

.qnp-comments {
	margin-top: 34px;
	border-top: 1px solid var(--qnp-border);
	padding-top: 24px;
}

.qnp-comments-header h2,
.qnp-comment-reply-title {
	margin: 0 0 16px;
	color: var(--qnp-heading);
	font-size: 24px;
	line-height: 1.35;
}

.qnp-comment-list {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
	display: grid;
	gap: 14px;
}

.qnp-comment-list .children {
	list-style: none;
	margin: 14px 72px 0 0;
	padding: 0;
	display: grid;
	gap: 14px;
}

.qnp-comment-body {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	gap: 12px;
	border: 1px solid var(--qnp-border);
	border-radius: 12px;
	background: #ffffff;
	padding: 14px;
}

.qnp-comment-avatar img {
	border-radius: 50%;
	display: block;
}

.qnp-comment-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 6px;
}

.qnp-comment-meta strong {
	color: var(--qnp-heading);
}

.qnp-comment-meta a,
.qnp-comment-actions a,
.qnp-comment-awaiting {
	color: var(--qnp-muted);
	font-size: 13px;
}

.qnp-comment-text p {
	margin: 0 0 10px;
}

.qnp-comment-text p:last-child {
	margin-bottom: 0;
}

.qnp-comment-actions {
	display: flex;
	gap: 10px;
	margin-top: 10px;
	font-weight: 800;
}

.qnp-comment-form {
	display: grid;
	gap: 12px;
	border: 1px solid var(--qnp-border);
	border-radius: 12px;
	background: var(--qnp-soft);
	padding: 16px;
}

.qnp-comment-form p {
	margin: 0;
}

.qnp-comment-form label {
	display: block;
	margin-bottom: 6px;
	font-weight: 800;
	color: var(--qnp-heading);
}

.qnp-comment-form input[type="text"],
.qnp-comment-form input[type="email"],
.qnp-comment-form input[type="url"],
.qnp-comment-form textarea {
	width: 100%;
	border: 1px solid var(--qnp-border);
	border-radius: 10px;
	background: #ffffff;
	padding: 11px 12px;
	font: inherit;
}

.qnp-comment-form textarea {
	min-height: 150px;
	resize: vertical;
}

.qnp-comment-form .submit {
	min-height: 42px;
	border: 0;
	border-radius: 999px;
	background: var(--qnp-primary);
	color: #ffffff;
	padding: 0 18px;
	font-weight: 900;
	cursor: pointer;
}

.qnp-comments-closed {
	color: var(--qnp-muted);
}

@media (max-width: 680px) {
	.qnp-author-hero {
		grid-template-columns: 1fr;
		text-align: center;
		justify-items: center;
		padding: 18px;
	}

	.qnp-author-hero-content h1 {
		font-size: 26px;
	}

	.qnp-comment-list .children {
		margin-inline-start: 0;
		margin-inline-end: 18px;
	}

	.qnp-comment-body {
		grid-template-columns: 44px minmax(0, 1fr);
		padding: 12px;
	}

	.qnp-comment-avatar img {
		width: 44px;
		height: 44px;
	}

	.qnp-comments-header h2,
	.qnp-comment-reply-title {
		font-size: 21px;
	}

	.qnp-comment-form {
		padding: 14px;
	}
}

/* Hard responsive fixes: mobile drawer left, article flow, match ticker */
.qnp-mobile-drawer-wrap {
	direction: rtl;
}

.qnp-mobile-drawer {
	left: 0 !important;
	right: auto !important;
	inset-inline-start: auto !important;
	inset-inline-end: auto !important;
	transform: translateX(-100%);
	transition: transform 0.24s ease;
}

.qnp-mobile-drawer-wrap:not([hidden]) .qnp-mobile-drawer {
	transform: translateX(0);
}

.qnp-mobile-backdrop {
	cursor: pointer;
}

.qnp-matches-strip {
	position: relative;
	z-index: 3;
	padding-block: 8px !important;
	background: linear-gradient(135deg, #07111f, #111827) !important;
}

.qnp-matches-strip-inner {
	width: min(1180px, calc(100% - 28px));
	display: grid !important;
	grid-template-columns: 150px minmax(0, 1fr);
	gap: 10px;
	align-items: center;
	margin-inline: auto;
}

.qnp-strip-header {
	min-width: 0;
	margin: 0 !important;
}

.qnp-strip-header h2 {
	font-size: 14px !important;
	line-height: 1.3;
	white-space: nowrap;
}

.qnp-strip-controls {
	margin-top: 6px;
}

.qnp-matches-scroll {
	display: grid !important;
	grid-auto-flow: column;
	grid-auto-columns: 214px !important;
	gap: 8px !important;
	overflow-x: auto;
	overflow-y: hidden;
	padding: 0 0 2px !important;
	scroll-snap-type: x mandatory;
}

.qnp-match-card-mini {
	width: 214px;
	min-height: 64px !important;
	max-height: 72px;
	padding: 7px 8px !important;
	grid-template-columns: minmax(0, 1fr) 58px minmax(0, 1fr) !important;
	align-items: center;
	overflow: hidden;
}

.qnp-mini-center b {
	display: block;
	max-width: 58px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.qnp-mini-center small {
	display: none;
}

body.single-post .qnp-content-with-sidebar,
body.page .qnp-single,
body.single-match .qnp-single-match {
	min-width: 0;
}

body.single-post .qnp-post-single,
body.page .qnp-page {
	width: 100%;
	max-width: 820px;
	min-width: 0;
}

body.single-post .qnp-entry-content,
body.page .qnp-entry-content {
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

body.single-post .qnp-entry-content > *,
body.page .qnp-entry-content > * {
	max-width: 100%;
}

body.single-post .qnp-entry-content img,
body.page .qnp-entry-content img {
	max-width: 100%;
	height: auto;
}

@media (max-width: 1180px) {
	body.single-post .qnp-content-with-sidebar,
	body.archive .qnp-content-with-sidebar,
	body.search .qnp-content-with-sidebar,
	body.author .qnp-content-with-sidebar,
	.qnp-matches-archive .qnp-content-with-sidebar {
		display: block !important;
		width: min(100% - 28px, 820px) !important;
		max-width: 820px !important;
		margin-inline: auto !important;
		padding-block: 22px !important;
	}

	body.single-post .qnp-sidebar,
	body.page .qnp-sidebar {
		display: none !important;
	}

	body.single-post .qnp-post-single,
	body.page .qnp-page {
		margin-inline: auto !important;
	}
}

@media (max-width: 760px) {
	.qnp-site-header {
		position: sticky;
		top: 0;
	}

	.qnp-header-inner {
		width: min(100% - 20px, 1180px);
		min-height: 58px;
		justify-content: space-between;
	}

	.qnp-brand {
		min-width: 0;
	}

	.qnp-logo {
		max-width: 190px;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.qnp-mobile-drawer {
		width: min(84vw, 340px) !important;
		max-width: 340px;
		border-radius: 0 14px 14px 0;
		padding: 16px;
	}

	.qnp-matches-strip {
		padding-block: 7px !important;
	}

	.qnp-matches-strip-inner {
		width: 100%;
		grid-template-columns: 1fr !important;
		gap: 7px;
		padding-inline: 10px;
	}

	.qnp-strip-header {
		display: flex !important;
		justify-content: space-between;
		align-items: center;
	}

	.qnp-strip-header > div:first-child span {
		display: none;
	}

	.qnp-strip-header h2 {
		font-size: 13px !important;
	}

	.qnp-strip-controls {
		margin-top: 0;
	}

	.qnp-strip-controls button {
		width: 26px !important;
		height: 26px !important;
	}

	.qnp-matches-scroll {
		grid-auto-columns: 178px !important;
		gap: 7px !important;
		padding-inline: 10px !important;
		scroll-padding-inline: 10px;
	}

	.qnp-match-card-mini {
		width: 178px;
		min-height: 60px !important;
		max-height: 64px;
		grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr) !important;
		gap: 5px;
		border-radius: 7px;
	}

	.qnp-mini-team .qnp-team-flag {
		width: 22px !important;
		height: 22px !important;
	}

	.qnp-mini-team strong {
		font-size: 10px !important;
		line-height: 1.25;
	}

	.qnp-mini-center b {
		max-width: 48px;
		font-size: 13px !important;
	}

	.qnp-mini-live,
	.qnp-mini-status {
		font-size: 9px !important;
	}

	body.single-post .qnp-content-with-sidebar,
	body.page .qnp-single {
		width: min(100% - 20px, 640px) !important;
		max-width: 640px !important;
		padding-block: 16px !important;
	}

	body.single-post .qnp-post-single,
	body.page .qnp-page {
		max-width: 100% !important;
	}

	body.single-post .qnp-single-header h1,
	body.page .qnp-single-header h1 {
		font-size: 23px !important;
		line-height: 1.55 !important;
		margin-block: 8px 10px;
	}

	body.single-post .qnp-single-meta {
		display: flex;
		gap: 7px;
		font-size: 12px !important;
	}

	body.single-post .qnp-share-buttons {
		margin-top: 12px;
	}

	body.single-post .qnp-featured-image {
		width: 100%;
		margin: 0 0 18px !important;
		border-radius: 10px !important;
		overflow: hidden;
	}

	body.single-post .qnp-featured-image img {
		width: 100% !important;
		height: auto !important;
		object-fit: contain !important;
		display: block;
	}

	body.single-post .qnp-entry-content,
	body.page .qnp-entry-content {
		font-size: 17px !important;
		line-height: 1.95 !important;
		overflow: hidden;
	}

	body.single-post .qnp-entry-content p,
	body.page .qnp-entry-content p {
		margin-bottom: 18px;
	}

	body.single-post .qnp-entry-content iframe,
	body.single-post .qnp-entry-content embed,
	body.single-post .qnp-entry-content object,
	body.page .qnp-entry-content iframe,
	body.page .qnp-entry-content embed,
	body.page .qnp-entry-content object {
		width: 100% !important;
		max-width: 100% !important;
	}

	body.single-post .qnp-author-box,
	body.single-post .qnp-related-posts,
	body.single-post .qnp-comments {
		width: 100%;
		max-width: 100%;
	}
}

@media (max-width: 390px) {
	.qnp-matches-scroll {
		grid-auto-columns: 166px !important;
	}

	.qnp-match-card-mini {
		width: 166px;
		grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr) !important;
	}
}

/* QNP final responsive rebuild */
html,
body {
	max-width: 100%;
	overflow-x: hidden;
}

body {
	margin: 0;
}

img,
svg,
video,
iframe,
embed,
object {
	max-width: 100%;
}

.qnp-container,
.qnp-site-main,
.qnp-site-header,
.qnp-site-footer,
.qnp-single,
.qnp-single-match,
.qnp-post-single,
.qnp-entry-content,
.qnp-match-commentary,
.qnp-matches-strip,
.qnp-matches-strip-inner,
.qnp-matches-scroll {
	min-width: 0;
	box-sizing: border-box;
}

.qnp-container {
	width: calc(100% - 32px);
	max-width: 1180px;
	margin-inline: auto;
}

.qnp-icon-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	border-radius: 8px;
}

.qnp-icon-button span[aria-hidden],
.qnp-icon-button svg,
.qnp-strip-controls svg,
.qnp-refresh-now svg,
.qnp-share-button svg,
.qnp-social-icon svg {
	display: block;
	width: 21px;
	height: 21px;
	fill: currentColor;
}

.qnp-search-toggle > span[aria-hidden],
.qnp-menu-toggle > span[aria-hidden],
.qnp-drawer-close > span[aria-hidden] {
	font-size: 0;
	line-height: 0;
}

.qnp-site-header {
	width: 100%;
	max-width: 100%;
	overflow: visible;
}

.qnp-header-inner {
	width: calc(100% - 32px);
	max-width: 1180px;
	margin-inline: auto;
}

.qnp-brand,
.qnp-logo {
	min-width: 0;
}

.qnp-logo {
	max-width: 260px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.qnp-logo img {
	max-width: 100%;
	height: auto;
	object-fit: contain;
}

.qnp-header-actions {
	flex: 0 0 auto;
}

html.qnp-drawer-open,
body.qnp-drawer-open {
	overflow: hidden;
}

.qnp-mobile-drawer-wrap {
	position: fixed;
	inset: 0;
	z-index: 9999;
	direction: rtl;
}

.qnp-mobile-drawer-wrap[hidden] {
	display: none !important;
}

.qnp-mobile-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.48);
	backdrop-filter: blur(3px);
	cursor: pointer;
}

.qnp-mobile-drawer {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0 !important;
	right: auto !important;
	inset-inline-start: auto !important;
	inset-inline-end: auto !important;
	width: min(86vw, 340px) !important;
	max-width: 340px;
	padding: 16px;
	background: #ffffff;
	color: var(--qnp-text);
	border-radius: 0 8px 8px 0;
	box-shadow: 28px 0 70px rgba(15, 23, 42, 0.22);
	overflow-y: auto;
	transform: translateX(-105%);
	transition: transform 0.24s ease;
}

html.qnp-drawer-open .qnp-mobile-drawer,
.qnp-mobile-drawer-wrap:not([hidden]) .qnp-mobile-drawer {
	transform: translateX(0);
}

.qnp-drawer-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--qnp-border);
}

.qnp-drawer-head strong {
	font-size: 18px;
	line-height: 1.4;
	color: var(--qnp-dark);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.qnp-drawer-search {
	margin: 14px 0;
}

.qnp-drawer-section {
	padding: 12px 0;
	border-top: 1px solid #eef2f7;
}

.qnp-drawer-section h2 {
	margin: 0 0 8px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--qnp-muted);
}

.qnp-mobile-drawer ul,
.qnp-mobile-drawer .menu,
.qnp-mobile-menu-list,
.qnp-drawer-list {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.qnp-mobile-drawer li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.qnp-mobile-drawer a {
	display: flex;
	align-items: center;
	min-height: 42px;
	padding: 8px 10px;
	border-radius: 8px;
	color: var(--qnp-dark);
	font-size: 15px;
	font-weight: 800;
	line-height: 1.5;
	background: #f8fafc;
	overflow-wrap: anywhere;
}

.qnp-drawer-social,
.qnp-social-links {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.qnp-site-footer {
	margin-top: 40px;
	background: #0f172a;
	color: #e5e7eb;
	overflow: hidden;
}

.qnp-footer-inner {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) repeat(3, minmax(0, 1fr));
	gap: 28px;
	align-items: start;
	padding-block: 34px;
}

.qnp-footer-brand,
.qnp-footer-nav,
.qnp-social-links {
	min-width: 0;
}

.qnp-footer-brand strong,
.qnp-footer-nav h2,
.qnp-social-links h2 {
	display: block;
	flex-basis: 100%;
	margin: 0 0 12px;
	color: #ffffff;
	font-size: 18px !important;
	line-height: 1.5 !important;
	font-weight: 900;
}

.qnp-footer-brand p {
	margin: 0;
	color: #cbd5e1;
	font-size: 15px;
	line-height: 1.9;
	overflow-wrap: anywhere;
}

.qnp-footer-menu {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.qnp-footer-menu li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.qnp-footer-menu a,
.qnp-footer-menu .cat-item a,
.qnp-footer-menu .page_item a {
	display: inline-flex;
	max-width: 100%;
	color: #cbd5e1;
	font-size: 15px;
	line-height: 1.7;
	overflow-wrap: anywhere;
}

.qnp-social-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.08);
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.12);
}

.qnp-footer-copy {
	padding: 14px 0 22px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	color: #94a3b8;
	font-size: 13px;
	line-height: 1.8;
}

body.single-post .qnp-content-with-sidebar {
	display: grid;
	grid-template-columns: minmax(0, 820px) minmax(260px, 320px);
	gap: 32px;
	align-items: start;
	width: calc(100% - 32px) !important;
	max-width: 1180px !important;
	margin-inline: auto !important;
	padding-block: 28px 44px;
}

body.single-post .qnp-post-single {
	width: 100%;
	max-width: 820px;
	min-width: 0;
	margin: 0;
	overflow: hidden;
}

body.single-post .qnp-sidebar {
	min-width: 0;
}

body.single-post .qnp-breadcrumbs,
body.single-match .qnp-breadcrumbs,
body.page .qnp-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	width: 100%;
	max-width: 100%;
	margin-bottom: 18px;
	font-size: 13px;
	line-height: 1.8;
	overflow: hidden;
}

body.single-post .qnp-breadcrumbs span,
body.single-post .qnp-breadcrumbs a,
body.single-match .qnp-breadcrumbs span,
body.single-match .qnp-breadcrumbs a {
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body.single-post .qnp-single-header {
	width: 100%;
	max-width: 100%;
	margin-bottom: 18px;
	text-align: right;
}

body.single-post .qnp-single-header h1,
body.page .qnp-single-header h1 {
	max-width: 100%;
	margin: 10px 0 12px;
	color: #111827;
	font-size: 34px !important;
	line-height: 1.55 !important;
	font-weight: 950;
	letter-spacing: 0;
	overflow-wrap: break-word;
	word-break: normal;
}

body.single-post .qnp-single-meta {
	display: flex;
	align-items: center;
	gap: 8px 14px;
	flex-wrap: wrap;
	max-width: 100%;
	color: var(--qnp-muted);
	font-size: 14px;
	line-height: 1.8;
}

body.single-post .qnp-single-meta a {
	color: var(--qnp-dark);
	font-weight: 900;
}

.qnp-share-buttons {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	max-width: 100%;
	margin-top: 14px;
}

.qnp-share-title {
	color: var(--qnp-muted);
	font-size: 13px;
	font-weight: 900;
}

.qnp-share-button,
.qnp-share-buttons a {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 40px !important;
	height: 40px !important;
	min-width: 40px;
	padding: 0 !important;
	border-radius: 8px !important;
	border: 1px solid var(--qnp-border) !important;
	background: #ffffff !important;
	color: var(--qnp-dark) !important;
	line-height: 1 !important;
	font-size: 0 !important;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.qnp-share-facebook {
	color: #1877f2 !important;
}

.qnp-share-x {
	color: #111827 !important;
}

.qnp-share-whatsapp {
	color: #16a34a !important;
}

body.single-post .qnp-featured-image,
body.single-post .wp-block-image,
body.single-post .wp-caption,
body.page .qnp-featured-image,
body.page .wp-block-image,
body.page .wp-caption {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 0 20px !important;
	border-radius: 8px;
	overflow: hidden;
}

body.single-post .qnp-featured-image img,
body.single-post .qnp-entry-content img,
body.single-post .wp-block-image img,
body.single-post .wp-caption img,
body.page .qnp-entry-content img,
body.page .wp-block-image img,
body.page .wp-caption img {
	display: block;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	object-fit: contain;
}

body.single-post .qnp-entry-content,
body.page .qnp-entry-content {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	color: #1f2937;
	font-size: 19px !important;
	line-height: 2.05 !important;
	overflow-wrap: break-word;
	word-break: normal;
}

body.single-post .qnp-entry-content > *,
body.page .qnp-entry-content > * {
	max-width: 100% !important;
}

body.single-post .qnp-entry-content p,
body.page .qnp-entry-content p {
	margin: 0 0 20px;
}

body.single-post .qnp-entry-content h2,
body.page .qnp-entry-content h2 {
	font-size: 27px;
	line-height: 1.6;
	margin: 30px 0 12px;
}

body.single-post .qnp-entry-content h3,
body.page .qnp-entry-content h3 {
	font-size: 23px;
	line-height: 1.6;
	margin: 26px 0 10px;
}

body.single-post .qnp-entry-content table,
body.single-post .qnp-entry-content pre,
body.page .qnp-entry-content table,
body.page .qnp-entry-content pre {
	display: block;
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	white-space: pre-wrap;
}

body.single-post .qnp-entry-content iframe,
body.single-post .qnp-entry-content embed,
body.single-post .qnp-entry-content object,
body.page .qnp-entry-content iframe,
body.page .qnp-entry-content embed,
body.page .qnp-entry-content object {
	display: block;
	width: 100% !important;
	max-width: 100% !important;
	aspect-ratio: 16 / 9;
	height: auto !important;
}

body.single-post .alignwide,
body.single-post .alignfull,
body.page .alignwide,
body.page .alignfull {
	width: 100% !important;
	max-width: 100% !important;
	margin-inline: 0 !important;
}

body.single-post .qnp-author-box,
body.single-post .qnp-related-posts,
body.single-post .qnp-comments,
body.single-post .qnp-tags {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	overflow: hidden;
}

body.single-match .qnp-single-match {
	width: calc(100% - 32px) !important;
	max-width: 980px !important;
	margin-inline: auto !important;
	padding-block: 24px 46px;
	overflow: visible;
}

body.single-match .qnp-scoreboard,
.qnp-scoreboard {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 0 22px !important;
	padding: 0 !important;
	background: transparent !important;
	color: var(--qnp-text) !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	overflow: visible !important;
}

.qnp-match-shell {
	width: 100%;
	max-width: 100%;
	padding: 18px;
	border-radius: 8px;
	background:
		radial-gradient(circle at 15% 0%, rgba(14, 165, 233, 0.18), transparent 34%),
		linear-gradient(135deg, #0f172a, #172554);
	color: #ffffff;
	box-shadow: 0 18px 42px rgba(15, 23, 42, 0.18);
	overflow: hidden;
}

.qnp-match-meta-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 16px;
}

.qnp-match-competition {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	min-width: 0;
	color: #cbd5e1;
	font-size: 13px;
	font-weight: 900;
}

.qnp-match-competition span,
.qnp-match-competition small {
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.qnp-match-status-badge,
.qnp-live-label,
.qnp-mini-live {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: fit-content;
	min-height: 28px;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	color: #ffffff;
	font-size: 12px;
	font-weight: 950;
	line-height: 1.4;
	white-space: nowrap;
}

.qnp-match-status-badge i,
.qnp-live-label i,
.qnp-mini-live i {
	display: block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #ef4444;
	box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.42);
	animation: qnpLiveBlink 1.35s infinite;
}

.qnp-match-status-badge.is-live,
.qnp-live-label,
.qnp-mini-live {
	background: rgba(239, 68, 68, 0.13);
	color: #fecaca;
	border: 1px solid rgba(248, 113, 113, 0.22);
}

@keyframes qnpLiveBlink {
	0% {
		box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.42);
	}
	70% {
		box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
	}
}

.qnp-score-line,
.qnp-scoreboard .qnp-score-teams {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(104px, 146px) minmax(0, 1fr) !important;
	gap: 14px !important;
	align-items: center;
	width: 100%;
	max-width: 100%;
}

.qnp-score-team,
.qnp-scoreboard .qnp-score-team {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 0;
	color: #ffffff !important;
	text-align: center;
}

.qnp-score-team .qnp-team-flag,
.qnp-scoreboard .qnp-score-team .qnp-team-flag,
.qnp-mini-team .qnp-team-flag {
	display: block;
	flex: 0 0 auto;
	object-fit: cover;
	background: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.45);
}

.qnp-score-team .qnp-team-flag,
.qnp-scoreboard .qnp-score-team .qnp-team-flag {
	width: 58px !important;
	height: 58px !important;
	border-radius: 50% !important;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.qnp-score-team strong,
.qnp-scoreboard .qnp-score-team strong {
	display: block;
	width: 100%;
	max-width: 100%;
	color: #ffffff;
	font-size: 17px;
	font-weight: 950;
	line-height: 1.45;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.qnp-score-center,
.qnp-scoreboard .qnp-score-center {
	display: grid;
	place-items: center;
	gap: 7px;
	min-width: 0;
	text-align: center;
}

.qnp-score-value,
.qnp-scoreboard .qnp-score-center span:not(.qnp-live-pulse) {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-width: 104px !important;
	min-height: 56px !important;
	padding: 0 12px !important;
	border-radius: 8px !important;
	background: #ffffff !important;
	color: #0f172a !important;
	border: 1px solid rgba(255, 255, 255, 0.65);
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
	font-size: 30px !important;
	font-weight: 950;
	line-height: 1;
	letter-spacing: 0;
}

.qnp-score-center time,
.qnp-scoreboard .qnp-score-center time {
	display: block;
	max-width: 100%;
	color: #cbd5e1 !important;
	font-size: 12px !important;
	font-weight: 800;
	line-height: 1.6;
	white-space: normal;
}

.qnp-score-details {
	display: flex !important;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	width: 100% !important;
	max-width: 100% !important;
	margin: 16px 0 0 !important;
	color: inherit !important;
}

.qnp-score-details span {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	max-width: 100%;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.14);
	color: #dbeafe;
	font-size: 12px;
	font-weight: 900;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

.qnp-match-headline {
	width: 100% !important;
	max-width: 820px !important;
	margin: 18px auto 0 !important;
	text-align: center;
}

.qnp-match-headline h1,
.qnp-scoreboard h1 {
	margin: 10px 0 10px !important;
	color: #111827 !important;
	font-size: 34px !important;
	line-height: 1.5 !important;
	font-weight: 950;
	letter-spacing: 0;
	overflow-wrap: break-word;
	word-break: normal;
}

.qnp-match-headline p {
	max-width: 720px;
	margin: 0 auto 12px;
	color: #475569 !important;
	font-size: 17px;
	line-height: 2;
}

.qnp-match-headline .qnp-share-buttons {
	justify-content: center;
}

.qnp-match-commentary {
	width: 100% !important;
	max-width: 100% !important;
	margin: 22px 0 0 !important;
	padding: 18px !important;
	border: 1px solid var(--qnp-border) !important;
	border-radius: 8px !important;
	background: #ffffff;
	box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
	overflow: hidden;
}

.qnp-commentary-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	margin: 0 0 16px;
	padding: 0 0 14px !important;
	border-bottom: 1px solid var(--qnp-border) !important;
}

.qnp-commentary-title span,
.qnp-commentary-header span {
	display: block;
	color: var(--qnp-primary);
	font-size: 13px;
	font-weight: 900;
	line-height: 1.4;
}

.qnp-commentary-title h2,
.qnp-commentary-header h2 {
	margin: 4px 0 0;
	color: #111827;
	font-size: 24px !important;
	line-height: 1.45 !important;
	font-weight: 950;
}

.qnp-refresh-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.qnp-refresh-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 6px 10px;
	border: 1px solid var(--qnp-border);
	border-radius: 999px;
	background: #f8fafc;
	cursor: pointer;
	user-select: none;
}

.qnp-refresh-toggle input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.qnp-refresh-toggle strong {
	color: #111827;
	font-size: 13px;
	font-weight: 900;
	line-height: 1.4;
	white-space: nowrap;
}

.qnp-refresh-switch {
	position: relative;
	display: inline-block;
	width: 42px;
	height: 24px;
	border-radius: 999px;
	background: #cbd5e1;
	transition: background 0.2s ease;
}

.qnp-refresh-switch::after {
	content: "";
	position: absolute;
	top: 3px;
	right: 3px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2);
	transition: transform 0.2s ease;
}

.qnp-refresh-toggle input:checked + .qnp-refresh-switch {
	background: var(--qnp-primary);
}

.qnp-refresh-toggle input:checked + .qnp-refresh-switch::after {
	transform: translateX(-18px);
}

.qnp-refresh-now {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 40px;
	padding: 7px 12px;
	border: 1px solid rgba(11, 95, 255, 0.16);
	border-radius: 999px;
	background: var(--qnp-primary);
	color: #ffffff;
	cursor: pointer;
	font-size: 13px;
	font-weight: 900;
	line-height: 1.4;
}

.qnp-refresh-now.is-loading svg {
	animation: qnpSpin 0.7s linear infinite;
}

@keyframes qnpSpin {
	to {
		transform: rotate(360deg);
	}
}

.qnp-live-events {
	display: grid;
	gap: 10px;
	width: 100%;
	max-width: 100%;
}

.qnp-event-card {
	display: grid;
	grid-template-columns: 58px 36px minmax(0, 1fr);
	gap: 10px;
	align-items: start;
	width: 100%;
	max-width: 100%;
	padding: 14px;
	border: 1px solid #e2e8f0;
	border-right: 4px solid var(--qnp-primary);
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.qnp-event-minute {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	border-radius: 8px;
	background: #eff6ff;
	color: var(--qnp-primary);
	font-size: 14px;
	font-weight: 950;
	line-height: 1.3;
	text-align: center;
}

.qnp-event-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 8px;
	background: #f8fafc;
	color: #111827;
	font-size: 16px;
	font-weight: 950;
}

.qnp-event-body {
	min-width: 0;
}

.qnp-event-body strong {
	display: block;
	margin-bottom: 3px;
	color: #111827;
	font-size: 14px;
	line-height: 1.6;
}

.qnp-event-body p,
.qnp-event-card p {
	margin: 0;
	color: #334155;
	font-size: 16px;
	line-height: 1.9;
	overflow-wrap: break-word;
	word-break: normal;
}

.qnp-empty {
	margin: 0;
	padding: 18px;
	border: 1px dashed var(--qnp-border);
	border-radius: 8px;
	background: #f8fafc;
	color: var(--qnp-muted);
	text-align: center;
}

.qnp-matches-strip {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 8px 0 !important;
	background: linear-gradient(135deg, #07111f, #0f172a) !important;
	overflow: hidden;
}

.qnp-matches-strip-inner {
	display: grid !important;
	grid-template-columns: 150px minmax(0, 1fr) !important;
	gap: 10px;
	align-items: center;
	width: calc(100% - 32px) !important;
	max-width: 1180px !important;
	margin-inline: auto !important;
	padding: 0 !important;
}

.qnp-strip-header {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	min-width: 0;
	margin: 0 !important;
	color: #ffffff;
}

.qnp-strip-header span {
	display: block;
	color: #93c5fd;
	font-size: 11px;
	font-weight: 900;
	line-height: 1.3;
}

.qnp-strip-header h2 {
	margin: 2px 0 0 !important;
	color: #ffffff;
	font-size: 14px !important;
	line-height: 1.35 !important;
	font-weight: 950;
	white-space: nowrap;
}

.qnp-strip-controls {
	display: flex;
	gap: 5px;
	margin: 0 !important;
}

.qnp-strip-controls button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px !important;
	height: 28px !important;
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(255, 255, 255, 0.09);
	color: #ffffff;
	padding: 0;
	cursor: pointer;
}

.qnp-strip-controls svg {
	width: 18px;
	height: 18px;
}

.qnp-matches-scroll {
	display: grid !important;
	grid-auto-flow: column;
	grid-auto-columns: 218px !important;
	gap: 8px !important;
	width: 100%;
	max-width: 100%;
	overflow-x: auto !important;
	overflow-y: hidden !important;
	padding: 0 0 2px !important;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
}

.qnp-match-card-mini {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) 62px minmax(0, 1fr) !important;
	align-items: center;
	gap: 6px;
	width: 218px !important;
	min-width: 0;
	min-height: 66px !important;
	max-height: 70px !important;
	padding: 8px !important;
	border-radius: 8px !important;
	background: #ffffff !important;
	color: #111827 !important;
	border: 1px solid rgba(255, 255, 255, 0.16) !important;
	box-shadow: none !important;
	overflow: hidden;
	scroll-snap-align: start;
}

.qnp-mini-team {
	display: grid !important;
	justify-items: center;
	gap: 4px;
	min-width: 0;
	text-align: center;
}

.qnp-mini-team .qnp-team-flag {
	width: 22px !important;
	height: 22px !important;
	border-radius: 50% !important;
}

.qnp-mini-team strong {
	display: block;
	width: 100%;
	max-width: 100%;
	color: #111827 !important;
	font-size: 11px !important;
	font-weight: 900;
	line-height: 1.25;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.qnp-mini-center {
	display: grid;
	justify-items: center;
	gap: 2px;
	min-width: 0;
	text-align: center;
}

.qnp-mini-center b {
	display: block;
	max-width: 62px;
	color: #111827;
	font-size: 16px !important;
	font-weight: 950;
	line-height: 1.15;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.qnp-mini-status,
.qnp-mini-live {
	min-height: 18px;
	padding: 2px 6px;
	font-size: 9px !important;
	line-height: 1.2;
}

.qnp-mini-live {
	color: #dc2626;
	background: #fef2f2;
	border: 1px solid #fecaca;
}

.qnp-mini-center small {
	display: block;
	max-width: 62px;
	color: #64748b;
	font-size: 9px;
	line-height: 1.2;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

@media (max-width: 1024px) {
	.qnp-primary-nav {
		display: none;
	}

	.qnp-menu-toggle {
		display: inline-flex !important;
	}

	body.single-post .qnp-content-with-sidebar {
		display: block !important;
		width: calc(100% - 28px) !important;
		max-width: 820px !important;
		padding-block: 22px 34px !important;
	}

	body.single-post .qnp-sidebar {
		display: none !important;
	}

	body.single-post .qnp-post-single {
		max-width: 100% !important;
	}
}

@media (max-width: 760px) {
	.qnp-container {
		width: calc(100% - 24px);
	}

	.qnp-site-header {
		position: sticky;
		top: 0;
	}

	.qnp-header-inner {
		width: 100%;
		min-height: 60px;
		padding-inline: 12px;
		gap: 10px;
	}

	.qnp-brand {
		flex: 1 1 auto;
		overflow: hidden;
	}

	.qnp-logo {
		max-width: 100%;
		font-size: 22px;
	}

	.qnp-header-actions {
		gap: 8px;
	}

	.qnp-icon-button {
		width: 44px;
		height: 44px;
	}

	.qnp-search-panel .qnp-container {
		width: calc(100% - 24px);
	}

	.qnp-mobile-drawer {
		width: min(88vw, 330px) !important;
		padding: 14px;
	}

	.qnp-footer-inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 22px;
		width: calc(100% - 24px);
		padding-block: 28px;
	}

	.qnp-footer-brand strong,
	.qnp-footer-nav h2,
	.qnp-social-links h2 {
		font-size: 18px !important;
	}

	.qnp-footer-brand p,
	.qnp-footer-menu a,
	.qnp-footer-copy {
		font-size: 14px;
	}

	body.single-post .qnp-content-with-sidebar,
	body.page .qnp-single {
		width: calc(100% - 24px) !important;
		max-width: 640px !important;
		margin-inline: auto !important;
		padding-block: 18px 32px !important;
		overflow: visible !important;
	}

	body.single-post .qnp-post-single,
	body.page .qnp-page {
		width: 100% !important;
		max-width: 100% !important;
		overflow: hidden;
	}

	body.single-post .qnp-breadcrumbs,
	body.single-match .qnp-breadcrumbs {
		font-size: 12px;
		margin-bottom: 14px;
	}

	body.single-post .qnp-single-header h1,
	body.page .qnp-single-header h1 {
		font-size: 24px !important;
		line-height: 1.65 !important;
	}

	body.single-post .qnp-single-meta {
		gap: 6px 10px;
		font-size: 12px !important;
	}

	body.single-post .qnp-entry-content,
	body.page .qnp-entry-content {
		font-size: 17px !important;
		line-height: 2 !important;
	}

	body.single-post .qnp-entry-content h2,
	body.page .qnp-entry-content h2 {
		font-size: 22px;
	}

	body.single-post .qnp-entry-content h3,
	body.page .qnp-entry-content h3 {
		font-size: 19px;
	}

	.qnp-share-title {
		width: 100%;
	}

	.qnp-share-button,
	.qnp-share-buttons a {
		width: 38px !important;
		height: 38px !important;
		min-width: 38px;
	}

	body.single-match .qnp-single-match {
		width: calc(100% - 24px) !important;
		max-width: 640px !important;
		padding-block: 18px 34px !important;
	}

	.qnp-match-shell {
		padding: 14px;
	}

	.qnp-match-meta-row {
		margin-bottom: 14px;
	}

	.qnp-score-line,
	.qnp-scoreboard .qnp-score-teams {
		grid-template-columns: minmax(0, 1fr) minmax(78px, 92px) minmax(0, 1fr) !important;
		gap: 7px !important;
	}

	.qnp-score-team .qnp-team-flag,
	.qnp-scoreboard .qnp-score-team .qnp-team-flag {
		width: 44px !important;
		height: 44px !important;
	}

	.qnp-score-team strong,
	.qnp-scoreboard .qnp-score-team strong {
		font-size: 13px;
		line-height: 1.45;
		white-space: normal;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
	}

	.qnp-score-value,
	.qnp-scoreboard .qnp-score-center span:not(.qnp-live-pulse) {
		min-width: 78px !important;
		min-height: 48px !important;
		padding: 0 8px !important;
		font-size: 24px !important;
	}

	.qnp-score-center time,
	.qnp-scoreboard .qnp-score-center time {
		font-size: 10px !important;
		line-height: 1.5;
	}

	.qnp-score-details {
		justify-content: flex-start;
	}

	.qnp-score-details span {
		font-size: 11px;
	}

	.qnp-match-headline {
		text-align: right;
		margin-top: 16px !important;
	}

	.qnp-match-headline h1,
	.qnp-scoreboard h1 {
		font-size: 24px !important;
		line-height: 1.65 !important;
		text-align: right;
	}

	.qnp-match-headline p {
		margin-inline: 0;
		font-size: 15px;
		line-height: 1.9;
		text-align: right;
	}

	.qnp-match-headline .qnp-share-buttons {
		justify-content: flex-start;
	}

	.qnp-match-commentary {
		padding: 14px !important;
	}

	.qnp-commentary-header {
		display: grid;
		grid-template-columns: 1fr;
		align-items: start;
	}

	.qnp-commentary-title h2,
	.qnp-commentary-header h2 {
		font-size: 22px !important;
	}

	.qnp-refresh-actions {
		width: 100%;
		justify-content: space-between;
	}

	.qnp-refresh-toggle,
	.qnp-refresh-now {
		min-height: 38px;
	}

	.qnp-event-card {
		grid-template-columns: 46px 32px minmax(0, 1fr);
		gap: 8px;
		padding: 12px;
	}

	.qnp-event-minute {
		min-height: 32px;
		font-size: 12px;
	}

	.qnp-event-icon {
		width: 32px;
		height: 32px;
	}

	.qnp-event-body p,
	.qnp-event-card p {
		font-size: 15px;
		line-height: 1.9;
	}

	.qnp-matches-strip {
		padding: 7px 0 !important;
	}

	.qnp-matches-strip-inner {
		grid-template-columns: minmax(0, 1fr) !important;
		width: 100% !important;
		gap: 7px;
		padding-inline: 10px !important;
	}

	.qnp-strip-header {
		width: 100%;
	}

	.qnp-strip-header span {
		display: none;
	}

	.qnp-strip-header h2 {
		font-size: 13px !important;
	}

	.qnp-strip-controls button {
		width: 26px !important;
		height: 26px !important;
	}

	.qnp-matches-scroll {
		grid-auto-columns: 176px !important;
		gap: 7px !important;
		padding-inline: 0 !important;
	}

	.qnp-match-card-mini {
		width: 176px !important;
		min-height: 58px !important;
		max-height: 62px !important;
		grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr) !important;
		padding: 7px !important;
	}

	.qnp-mini-team .qnp-team-flag {
		width: 20px !important;
		height: 20px !important;
	}

	.qnp-mini-team strong {
		font-size: 10px !important;
	}

	.qnp-mini-center b {
		max-width: 48px;
		font-size: 13px !important;
	}

	.qnp-mini-status,
	.qnp-mini-live {
		font-size: 8px !important;
		padding: 2px 5px;
	}
}

@media (max-width: 390px) {
	body.single-post .qnp-content-with-sidebar,
	body.page .qnp-single,
	body.single-match .qnp-single-match {
		width: calc(100% - 20px) !important;
	}

	body.single-post .qnp-single-header h1,
	body.page .qnp-single-header h1,
	.qnp-match-headline h1,
	.qnp-scoreboard h1 {
		font-size: 22px !important;
	}

	.qnp-score-line,
	.qnp-scoreboard .qnp-score-teams {
		grid-template-columns: minmax(0, 1fr) 74px minmax(0, 1fr) !important;
		gap: 6px !important;
	}

	.qnp-score-value,
	.qnp-scoreboard .qnp-score-center span:not(.qnp-live-pulse) {
		min-width: 74px !important;
		font-size: 22px !important;
	}

	.qnp-matches-scroll {
		grid-auto-columns: 166px !important;
	}

	.qnp-match-card-mini {
		width: 166px !important;
		grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr) !important;
	}
}

/* QNP home and World Cup stability pass */
.qnp-home {
	width: 100%;
	max-width: 100%;
	overflow: hidden;
}

.qnp-home-block,
.qnp-hero-news,
.qnp-editors-picks,
.qnp-worldcup-inner,
.qnp-post-grid,
.qnp-post-card,
.qnp-hero-main,
.qnp-hero-side,
.qnp-worldcup-card,
.qnp-worldcup-main,
.qnp-worldcup-side,
.qnp-worldcup-side-card {
	min-width: 0;
	box-sizing: border-box;
}

.qnp-post-card,
.qnp-worldcup-side-card,
.qnp-hero-main {
	border-radius: 8px !important;
}

.qnp-card-image,
.qnp-hero-image,
.qnp-worldcup-image,
.qnp-worldcup-thumb {
	overflow: hidden;
	background: #f1f5f9;
}

.qnp-card-image img,
.qnp-hero-image img,
.qnp-worldcup-image img,
.qnp-worldcup-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.qnp-post-card h3,
.qnp-hero-main h1,
.qnp-worldcup-main h3,
.qnp-worldcup-side-card h4 {
	max-width: 100%;
	overflow-wrap: break-word;
	word-break: normal;
}

.qnp-worldcup-block {
	position: relative !important;
	display: block !important;
	align-items: initial !important;
	width: 100% !important;
	max-width: 100% !important;
	min-height: 0 !important;
	margin: 34px 0 !important;
	padding: 34px 0 !important;
	background-size: cover !important;
	background-position: center center !important;
	background-repeat: no-repeat !important;
	background-attachment: scroll !important;
	overflow: hidden !important;
}

.qnp-worldcup-block:not([style*="background-image"]) {
	background: #102033 !important;
}

.qnp-worldcup-overlay {
	position: absolute;
	inset: 0;
	z-index: 0;
	background:
		linear-gradient(135deg, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.34)),
		var(--qnp-worldcup-overlay, #0b1b3f) !important;
	opacity: var(--qnp-worldcup-opacity, 0.35) !important;
	pointer-events: none;
}

.qnp-worldcup-inner {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 14px;
}

.qnp-worldcup-block .qnp-section-header {
	margin: 0;
}

.qnp-worldcup-block .qnp-section-header h2 {
	margin: 0;
	color: #ffffff;
	font-size: 26px !important;
	line-height: 1.45 !important;
	font-weight: 950;
}

.qnp-worldcup-kicker {
	margin: 0 0 4px;
	color: rgba(255, 255, 255, 0.82);
	font-size: 13px;
	line-height: 1.5;
}

.qnp-worldcup-card {
	display: grid !important;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr) !important;
	gap: 16px !important;
	width: 100% !important;
	max-width: 100% !important;
	padding: 16px !important;
	border-radius: 8px !important;
	border: 1px solid rgba(255, 255, 255, 0.55) !important;
	background: rgba(255, 255, 255, 0.96) !important;
	box-shadow: 0 18px 44px rgba(15, 23, 42, 0.18) !important;
	backdrop-filter: blur(7px);
}

.qnp-worldcup-main {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) !important;
	align-content: start;
	gap: 12px;
	border: 1px solid var(--qnp-border);
	border-radius: 8px;
	background: #ffffff;
	overflow: hidden;
}

.qnp-worldcup-image,
.qnp-worldcup-main a:first-child {
	display: block !important;
	width: 100%;
	aspect-ratio: 16 / 9 !important;
	max-height: 320px;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.qnp-worldcup-main-content {
	padding: 0 14px 14px !important;
}

.qnp-worldcup-main h3 {
	margin: 8px 0 8px !important;
	color: #111827;
	font-size: 24px !important;
	line-height: 1.55 !important;
	font-weight: 950;
}

.qnp-worldcup-main p {
	margin: 0 0 12px !important;
	color: #64748b;
	font-size: 15px;
	line-height: 1.9;
}

.qnp-worldcup-link {
	min-height: 36px !important;
	border-radius: 8px !important;
}

.qnp-worldcup-side {
	display: grid !important;
	gap: 10px !important;
	align-content: start;
}

.qnp-worldcup-side-card {
	display: grid !important;
	grid-template-columns: 104px minmax(0, 1fr) !important;
	gap: 12px !important;
	align-items: center;
	min-height: 0 !important;
	padding: 10px !important;
	border: 1px solid var(--qnp-border) !important;
	border-radius: 8px !important;
	background: #ffffff !important;
	overflow: hidden;
}

.qnp-worldcup-side-card .qnp-worldcup-thumb {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3 !important;
	border-radius: 6px !important;
}

.qnp-worldcup-side-card h4 {
	margin: 6px 0 4px !important;
	color: #111827;
	font-size: 16px !important;
	line-height: 1.55 !important;
	font-weight: 900;
}

.qnp-worldcup-side-card .qnp-meta {
	font-size: 12px;
}

@media (max-width: 1024px) {
	.qnp-hero-news {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 16px !important;
	}

	.qnp-post-grid,
	.qnp-post-grid-3 {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.qnp-worldcup-card {
		grid-template-columns: minmax(0, 1fr) !important;
	}
}

@media (max-width: 760px) {
	.qnp-header-inner {
		display: grid !important;
		grid-template-columns: auto minmax(0, 1fr);
		align-items: center;
		direction: ltr;
	}

	.qnp-header-actions {
		grid-column: 1;
		justify-self: start;
		display: flex;
		direction: ltr;
	}

	.qnp-menu-toggle {
		order: -1;
	}

	.qnp-brand {
		grid-column: 2;
		justify-self: end;
		direction: rtl;
		text-align: right;
	}

	.qnp-home-block,
	.qnp-hero-news {
		width: calc(100% - 24px) !important;
		max-width: 640px !important;
		margin-inline: auto !important;
	}

	.qnp-home-block {
		margin-block: 24px !important;
	}

	.qnp-post-grid,
	.qnp-post-grid-3 {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 14px !important;
	}

	.qnp-post-card-compact {
		grid-template-columns: 94px minmax(0, 1fr) !important;
		gap: 10px !important;
	}

	.qnp-card-image {
		aspect-ratio: 16 / 10;
	}

	.qnp-hero-main {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) !important;
	}

	.qnp-hero-image {
		aspect-ratio: 16 / 10 !important;
	}

	.qnp-hero-main h1 {
		font-size: 24px !important;
		line-height: 1.6 !important;
	}

	.qnp-section-header h2 {
		font-size: 22px !important;
		line-height: 1.45 !important;
	}

	.qnp-worldcup-block {
		margin: 24px 0 !important;
		padding: 24px 0 !important;
		background-size: cover !important;
		background-position: center top !important;
	}

	.qnp-worldcup-inner {
		width: calc(100% - 24px) !important;
		max-width: 640px !important;
	}

	.qnp-worldcup-card {
		padding: 10px !important;
		gap: 10px !important;
	}

	.qnp-worldcup-block .qnp-section-header h2 {
		font-size: 23px !important;
	}

	.qnp-worldcup-image,
	.qnp-worldcup-main a:first-child {
		aspect-ratio: 16 / 10 !important;
		max-height: none;
	}

	.qnp-worldcup-main h3 {
		font-size: 20px !important;
		line-height: 1.6 !important;
	}

	.qnp-worldcup-main p {
		font-size: 14px;
	}

	.qnp-worldcup-side-card {
		grid-template-columns: 90px minmax(0, 1fr) !important;
		gap: 10px !important;
	}

	.qnp-worldcup-side-card h4 {
		font-size: 14px !important;
		line-height: 1.55 !important;
	}
}

@media (max-width: 420px) {
	.qnp-home-block,
	.qnp-hero-news,
	.qnp-worldcup-inner {
		width: calc(100% - 20px) !important;
	}

	.qnp-header-inner {
		padding-inline: 10px;
	}

	.qnp-icon-button {
		width: 42px;
		height: 42px;
	}

	.qnp-logo {
		font-size: 20px;
	}

	.qnp-post-card-compact,
	.qnp-worldcup-side-card {
		grid-template-columns: 84px minmax(0, 1fr) !important;
	}
}

/* QNP mobile header and category drawer polish */
.qnp-header-actions .qnp-menu-toggle {
	display: none;
}

.qnp-drawer-categories .qnp-drawer-category-list a {
	position: relative;
	padding-inline-start: 34px;
	background: #eef6ff;
	color: #0f172a;
}

.qnp-drawer-categories .qnp-drawer-category-list a::before {
	content: "";
	position: absolute;
	inset-inline-start: 12px;
	top: 50%;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--qnp-primary);
	transform: translateY(-50%);
}

@media (max-width: 980px) {
	.qnp-site-header {
		position: sticky;
		top: 0;
		z-index: 999;
		background: #ffffff;
		box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
	}

	.qnp-primary-nav {
		display: none !important;
	}

	.qnp-header-inner {
		display: grid !important;
		grid-template-columns: auto minmax(0, 1fr);
		gap: 10px;
		align-items: center;
		width: 100% !important;
		max-width: 100% !important;
		min-height: 62px !important;
		padding-inline: 12px !important;
		direction: ltr;
	}

	.qnp-header-actions {
		grid-column: 1;
		grid-row: 1;
		justify-self: start;
		display: flex !important;
		align-items: center;
		gap: 8px;
		direction: ltr;
	}

	.qnp-header-actions .qnp-menu-toggle {
		display: inline-flex !important;
		order: -2;
		background: #0f172a;
		color: #ffffff;
		border-color: #0f172a;
	}

	.qnp-header-actions .qnp-search-toggle {
		order: -1;
		background: #ffffff;
		color: #0f172a;
	}

	.qnp-login-link {
		display: none !important;
	}

	.qnp-brand {
		grid-column: 2;
		grid-row: 1;
		justify-self: end;
		min-width: 0;
		max-width: 100%;
		direction: rtl;
		text-align: right;
	}

	.qnp-logo {
		max-width: min(58vw, 240px) !important;
		font-size: 22px !important;
		line-height: 1.35;
	}

	.qnp-logo img {
		max-height: 42px !important;
	}

	.qnp-icon-button {
		width: 44px !important;
		height: 44px !important;
		border-radius: 10px !important;
	}

	.qnp-icon-button svg {
		width: 23px !important;
		height: 23px !important;
	}

	.qnp-search-panel {
		position: absolute;
		inset-inline: 0;
		top: 100%;
		z-index: 998;
		box-shadow: 0 18px 34px rgba(15, 23, 42, 0.09);
	}

	.qnp-mobile-drawer-wrap {
		position: fixed !important;
		inset: 0 !important;
		z-index: 9999 !important;
	}

	.qnp-mobile-drawer {
		left: 0 !important;
		right: auto !important;
		width: min(88vw, 350px) !important;
		max-width: 350px !important;
		padding: 16px !important;
		border-radius: 0 10px 10px 0 !important;
	}

	.qnp-drawer-head {
		position: sticky;
		top: 0;
		z-index: 2;
		margin: -16px -16px 12px;
		padding: 14px 16px;
		background: #ffffff;
	}

	.qnp-drawer-head strong {
		font-size: 19px !important;
	}

	.qnp-drawer-section {
		padding-block: 12px !important;
	}

	.qnp-drawer-section h2 {
		font-size: 15px !important;
		color: #475569 !important;
	}

	.qnp-mobile-drawer a {
		min-height: 44px !important;
		padding: 9px 12px !important;
		border-radius: 9px !important;
		font-size: 15px !important;
	}
}

@media (max-width: 420px) {
	.qnp-header-inner {
		min-height: 58px !important;
		padding-inline: 10px !important;
	}

	.qnp-icon-button {
		width: 42px !important;
		height: 42px !important;
	}

	.qnp-logo {
		max-width: 54vw !important;
		font-size: 20px !important;
	}
}

/* ============================================================
   Qareeb News Pro 1.0.1 hotfix
   Mobile drawer + desktop header polish + Al Jazeera style World Cup block
   ============================================================ */

body {
	overflow-x: hidden;
}

.qnp-icon-button svg,
.qnp-menu-toggle svg,
.qnp-search-toggle svg,
.qnp-drawer-close svg {
	display: block !important;
	width: 24px !important;
	height: 24px !important;
	fill: currentColor !important;
}

.qnp-icon-button svg path,
.qnp-menu-toggle svg path,
.qnp-search-toggle svg path,
.qnp-drawer-close svg path {
	fill: currentColor !important;
}

.qnp-site-header {
	background: rgba(255, 255, 255, 0.96) !important;
	border-bottom: 1px solid rgba(226, 232, 240, 0.9) !important;
	box-shadow: 0 8px 28px rgba(15, 23, 42, 0.04) !important;
	backdrop-filter: blur(12px);
}

.qnp-header-inner {
	min-height: 72px !important;
}

.qnp-primary-nav {
	min-width: 0;
}

.qnp-menu {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 6px !important;
	overflow: visible !important;
}

.qnp-menu > li {
	position: relative;
}

.qnp-menu > li > a {
	display: inline-flex !important;
	align-items: center;
	min-height: 40px;
	padding: 8px 14px !important;
	border-radius: 999px;
	color: #0f172a !important;
	font-size: 15px;
	font-weight: 900 !important;
	line-height: 1.35;
	transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.qnp-menu > li > a:hover,
.qnp-menu > li.current-menu-item > a,
.qnp-menu > li.current_page_item > a {
	background: rgba(11, 95, 255, 0.09);
	color: var(--qnp-primary) !important;
	transform: translateY(-1px);
}

.qnp-header-actions {
	gap: 10px !important;
}

.qnp-header-actions .qnp-menu-toggle {
	display: none !important;
}

.qnp-header-actions .qnp-search-toggle,
.qnp-header-actions .qnp-menu-toggle {
	border-radius: 999px !important;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.qnp-search-panel {
	position: absolute;
	left: 0;
	right: 0;
	z-index: 998;
	background: rgba(255, 255, 255, 0.98) !important;
	box-shadow: 0 18px 34px rgba(15, 23, 42, 0.1);
}

.qnp-search-panel .search-form {
	max-width: 760px;
	margin-inline: auto;
	padding: 6px;
	border: 1px solid #e2e8f0;
	border-radius: 18px;
	background: #f8fafc;
}

.qnp-search-panel .search-field {
	border: 0 !important;
	background: transparent !important;
}

.qnp-search-panel .search-submit {
	border-radius: 13px !important;
}

.qnp-mobile-drawer-wrap {
	position: fixed !important;
	inset: 0 !important;
	z-index: 999999 !important;
	direction: rtl;
}

.qnp-mobile-drawer-wrap[hidden] {
	display: none !important;
}

.qnp-mobile-backdrop {
	position: absolute !important;
	inset: 0 !important;
	background: rgba(2, 6, 23, 0.58) !important;
	backdrop-filter: blur(3px);
}

.qnp-mobile-drawer {
	position: absolute !important;
	top: 0 !important;
	bottom: 0 !important;
	left: 0 !important;
	right: auto !important;
	inset-inline-start: auto !important;
	inset-inline-end: auto !important;
	width: min(88vw, 390px) !important;
	max-width: 390px !important;
	padding: 0 !important;
	border-radius: 0 22px 22px 0 !important;
	background: #ffffff !important;
	box-shadow: 24px 0 80px rgba(2, 6, 23, 0.34) !important;
	overflow-y: auto !important;
	transform: translate3d(-110%, 0, 0) !important;
	transition: transform 0.26s ease !important;
	will-change: transform;
}

html.qnp-drawer-open .qnp-mobile-drawer,
.qnp-mobile-drawer-wrap:not([hidden]) .qnp-mobile-drawer {
	transform: translate3d(0, 0, 0) !important;
}

.qnp-drawer-head {
	position: sticky !important;
	top: 0 !important;
	z-index: 2 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 12px !important;
	margin: 0 !important;
	padding: 18px 18px 14px !important;
	background: linear-gradient(135deg, #0f172a, #1e293b) !important;
	color: #ffffff !important;
}

.qnp-drawer-head strong {
	color: #ffffff !important;
	font-size: 20px !important;
	font-weight: 950 !important;
}

.qnp-drawer-close {
	background: rgba(255, 255, 255, 0.1) !important;
	border-color: rgba(255, 255, 255, 0.24) !important;
	color: #ffffff !important;
}

.qnp-drawer-search {
	padding: 16px 18px 6px !important;
	background: #ffffff;
}

.qnp-drawer-search .search-form {
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
	padding: 7px !important;
	border: 1px solid #dbeafe !important;
	border-radius: 16px !important;
	background: #eff6ff !important;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.qnp-drawer-search .search-field {
	height: 42px !important;
	border: 0 !important;
	background: transparent !important;
	padding: 0 8px !important;
	font-size: 15px !important;
}

.qnp-drawer-search .search-submit {
	min-height: 42px !important;
	border-radius: 12px !important;
	padding: 0 16px !important;
	font-weight: 900 !important;
}

.qnp-mobile-drawer .qnp-drawer-section {
	margin: 0 !important;
	padding: 14px 18px !important;
	border-top: 1px solid #edf2f7 !important;
}

.qnp-mobile-drawer .qnp-drawer-section h2 {
	margin: 0 0 10px !important;
	color: #64748b !important;
	font-size: 14px !important;
	font-weight: 950 !important;
}

.qnp-mobile-drawer ul,
.qnp-mobile-drawer .menu {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.qnp-mobile-drawer li {
	margin: 0 0 6px !important;
}

.qnp-mobile-drawer a {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	min-height: 46px !important;
	padding: 10px 13px !important;
	border: 1px solid transparent !important;
	border-radius: 13px !important;
	background: #f8fafc !important;
	color: #0f172a !important;
	font-size: 15px !important;
	font-weight: 900 !important;
	line-height: 1.45 !important;
}

.qnp-mobile-drawer a:hover {
	background: #eef6ff !important;
	border-color: #dbeafe !important;
	color: var(--qnp-primary) !important;
}

.qnp-drawer-categories .qnp-drawer-category-list a {
	background: #eef6ff !important;
	padding-inline-start: 36px !important;
}

.qnp-drawer-social {
	padding: 0 18px 22px !important;
}

body.qnp-drawer-open,
html.qnp-drawer-open body {
	overflow: hidden !important;
	touch-action: none;
}

/* Al Jazeera inspired World Cup block */
.qnp-worldcup-aj {
	position: relative !important;
	display: block !important;
	width: 100% !important;
	min-height: 0 !important;
	margin: 42px 0 !important;
	padding: 72px 0 42px !important;
	background-size: cover !important;
	background-position: center center !important;
	background-repeat: no-repeat !important;
	background-attachment: scroll !important;
	overflow: hidden !important;
}

.qnp-worldcup-aj:not([style*="background-image"]) {
	background:
		radial-gradient(circle at 20% 18%, rgba(190, 20, 45, 0.82) 0 22%, transparent 23%),
		radial-gradient(circle at 56% 16%, rgba(71, 11, 20, 0.86) 0 22%, transparent 23%),
		linear-gradient(135deg, #0c172f 0%, #0d6b35 55%, #101a4a 100%) !important;
}

.qnp-worldcup-aj .qnp-worldcup-overlay {
	position: absolute !important;
	inset: 0 !important;
	z-index: 0 !important;
	background:
		linear-gradient(180deg, rgba(5, 12, 30, 0.10), rgba(5, 12, 30, 0.10)),
		var(--qnp-worldcup-overlay, #0b1b3f) !important;
	opacity: var(--qnp-worldcup-opacity, 0.28) !important;
	pointer-events: none !important;
}

.qnp-worldcup-aj .qnp-worldcup-inner {
	position: relative !important;
	z-index: 1 !important;
	width: min(1080px, calc(100% - 32px)) !important;
	max-width: 1080px !important;
	display: grid !important;
	gap: 0 !important;
}

.qnp-worldcup-titlebar {
	justify-content: flex-end !important;
	margin: 0 0 34px !important;
	padding-inline-end: 26px;
}

.qnp-worldcup-titlebar > div {
	display: grid;
	justify-items: end;
	gap: 3px;
}

.qnp-worldcup-aj .qnp-worldcup-kicker {
	margin: 0 !important;
	color: rgba(255,255,255,0.78) !important;
	font-size: 13px !important;
	font-weight: 900 !important;
}

.qnp-worldcup-aj .qnp-section-header h2 {
	position: relative;
	margin: 0 !important;
	padding-inline-end: 18px !important;
	color: #ffffff !important;
	font-size: clamp(26px, 4vw, 40px) !important;
	font-weight: 950 !important;
	line-height: 1.25 !important;
	letter-spacing: 0.2px;
	text-shadow: 0 8px 22px rgba(0,0,0,0.28);
}

.qnp-worldcup-aj .qnp-section-header h2::after {
	content: "";
	position: absolute;
	inset-inline-end: 0;
	top: 7px;
	bottom: 7px;
	width: 8px;
	border-radius: 999px;
	background: #38a3ff;
}

.qnp-worldcup-aj .qnp-worldcup-card {
	display: grid !important;
	grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr) !important;
	gap: 28px !important;
	align-items: start !important;
	width: calc(100% - 54px) !important;
	margin: 0 auto !important;
	padding: 30px !important;
	border: 0 !important;
	border-radius: 30px 30px 12px 12px !important;
	background: #ffffff !important;
	box-shadow: 0 28px 70px rgba(2, 6, 23, 0.18) !important;
	backdrop-filter: none !important;
	direction: rtl !important;
}

.qnp-worldcup-aj .qnp-worldcup-main {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) !important;
	gap: 16px !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	overflow: visible !important;
}

.qnp-worldcup-aj .qnp-worldcup-image,
.qnp-worldcup-aj .qnp-worldcup-main > a:first-child {
	display: block !important;
	width: 100% !important;
	aspect-ratio: 16 / 9 !important;
	max-height: none !important;
	border-radius: 12px !important;
	overflow: hidden !important;
	background: #e2e8f0 !important;
	box-shadow: none !important;
}

.qnp-worldcup-aj .qnp-worldcup-image img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
}

.qnp-worldcup-aj .qnp-worldcup-main-content {
	padding: 0 !important;
	text-align: center !important;
}

.qnp-worldcup-aj .qnp-worldcup-main .qnp-wc-badge {
	margin-inline: auto !important;
	margin-bottom: 6px !important;
}

.qnp-worldcup-aj .qnp-worldcup-main h3 {
	margin: 0 0 8px !important;
	color: #020617 !important;
	font-size: clamp(22px, 2.5vw, 30px) !important;
	font-weight: 950 !important;
	line-height: 1.65 !important;
}

.qnp-worldcup-aj .qnp-worldcup-main h3 a:hover,
.qnp-worldcup-aj .qnp-worldcup-side-card h4 a:hover {
	color: var(--qnp-primary) !important;
}

.qnp-worldcup-aj .qnp-worldcup-main p {
	max-width: 560px;
	margin: 0 auto !important;
	color: #475569 !important;
	font-size: 16px !important;
	line-height: 2 !important;
}

.qnp-worldcup-aj .qnp-worldcup-side {
	display: grid !important;
	gap: 22px !important;
	align-content: start !important;
}

.qnp-worldcup-aj .qnp-worldcup-side-card {
	display: grid !important;
	grid-template-columns: 150px minmax(0, 1fr) !important;
	gap: 16px !important;
	align-items: center !important;
	min-height: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	overflow: visible !important;
}

.qnp-worldcup-aj .qnp-worldcup-side-card .qnp-worldcup-thumb {
	display: block !important;
	width: 100% !important;
	aspect-ratio: 16 / 9 !important;
	border-radius: 10px !important;
	overflow: hidden !important;
	background: #e2e8f0 !important;
}

.qnp-worldcup-aj .qnp-worldcup-thumb img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
}

.qnp-worldcup-aj .qnp-worldcup-side-content {
	min-width: 0;
	text-align: right;
}

.qnp-worldcup-aj .qnp-worldcup-side-card h4 {
	margin: 7px 0 0 !important;
	color: #020617 !important;
	font-size: clamp(17px, 1.55vw, 22px) !important;
	font-weight: 900 !important;
	line-height: 1.65 !important;
}

.qnp-worldcup-aj .qnp-wc-badge {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 22px !important;
	padding: 2px 12px !important;
	border-radius: 999px !important;
	background: linear-gradient(90deg, #22c55e 0 28%, #facc15 28% 50%, #2563eb 50% 100%) !important;
	color: #ffffff !important;
	font-size: 11px !important;
	font-weight: 950 !important;
	line-height: 1.2 !important;
	box-shadow: 0 6px 14px rgba(37, 99, 235, 0.16) !important;
}

.qnp-worldcup-more {
	display: inline-flex !important;
	justify-self: start !important;
	margin: 16px 0 0 12px !important;
	color: #020617 !important;
	font-size: 16px !important;
	font-weight: 900 !important;
}

.qnp-worldcup-more:hover {
	color: var(--qnp-primary) !important;
}

@media (max-width: 980px) {
	body.admin-bar .qnp-site-header.is-sticky,
	body.admin-bar .qnp-site-header {
		top: 32px;
	}

	.qnp-site-header {
		position: sticky !important;
		top: 0;
		z-index: 9999 !important;
	}

	.qnp-primary-nav {
		display: none !important;
	}

	.qnp-header-inner {
		display: grid !important;
		grid-template-columns: 52px minmax(0, 1fr) !important;
		gap: 10px !important;
		min-height: 62px !important;
		width: 100% !important;
		max-width: 100% !important;
		padding-inline: 12px !important;
		direction: ltr !important;
	}

	.qnp-brand {
		grid-column: 2 !important;
		justify-self: end !important;
		min-width: 0 !important;
		direction: rtl !important;
		text-align: right !important;
	}

	.qnp-logo {
		max-width: min(62vw, 250px) !important;
		font-size: 21px !important;
		line-height: 1.25 !important;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.qnp-logo img {
		max-height: 42px !important;
		width: auto !important;
	}

	.qnp-header-actions {
		grid-column: 1 !important;
		grid-row: 1 !important;
		justify-self: start !important;
		display: flex !important;
		align-items: center !important;
		gap: 0 !important;
		direction: ltr !important;
	}

	.qnp-header-actions .qnp-menu-toggle {
		display: inline-grid !important;
		place-items: center !important;
		width: 46px !important;
		height: 46px !important;
		min-width: 46px !important;
		padding: 0 !important;
		border-radius: 14px !important;
		background: #0f172a !important;
		border-color: #0f172a !important;
		color: #ffffff !important;
		box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18) !important;
		opacity: 1 !important;
		visibility: visible !important;
	}

	.qnp-header-actions .qnp-menu-toggle svg {
		width: 27px !important;
		height: 27px !important;
	}

	.qnp-header-actions .qnp-search-toggle {
		display: none !important;
	}

	.qnp-search-panel {
		display: none !important;
	}

	.qnp-worldcup-aj {
		margin: 28px 0 !important;
		padding: 50px 0 28px !important;
	}

	.qnp-worldcup-aj .qnp-worldcup-inner {
		width: calc(100% - 24px) !important;
		max-width: 720px !important;
	}

	.qnp-worldcup-titlebar {
		margin-bottom: 22px !important;
		padding-inline-end: 10px !important;
	}

	.qnp-worldcup-aj .qnp-worldcup-card {
		grid-template-columns: minmax(0, 1fr) !important;
		width: 100% !important;
		padding: 18px !important;
		gap: 22px !important;
		border-radius: 24px 24px 12px 12px !important;
	}

	.qnp-worldcup-aj .qnp-worldcup-side {
		gap: 14px !important;
	}

	.qnp-worldcup-aj .qnp-worldcup-side-card {
		grid-template-columns: 118px minmax(0, 1fr) !important;
		gap: 12px !important;
	}

	.qnp-worldcup-aj .qnp-worldcup-main h3 {
		font-size: 23px !important;
		line-height: 1.55 !important;
	}

	.qnp-worldcup-aj .qnp-worldcup-side-card h4 {
		font-size: 16px !important;
		line-height: 1.55 !important;
	}
}

@media (max-width: 782px) {
	body.admin-bar .qnp-site-header.is-sticky,
	body.admin-bar .qnp-site-header {
		top: 46px;
	}
}

@media (max-width: 520px) {
	.qnp-mobile-drawer {
		width: min(90vw, 360px) !important;
		border-radius: 0 18px 18px 0 !important;
	}

	.qnp-drawer-head {
		padding: 16px 15px 13px !important;
	}

	.qnp-drawer-search,
	.qnp-mobile-drawer .qnp-drawer-section,
	.qnp-drawer-social {
		padding-inline: 15px !important;
	}

	.qnp-worldcup-aj {
		padding-top: 40px !important;
	}

	.qnp-worldcup-aj .qnp-section-header h2 {
		font-size: 28px !important;
	}

	.qnp-worldcup-aj .qnp-worldcup-card {
		padding: 12px !important;
		gap: 18px !important;
	}

	.qnp-worldcup-aj .qnp-worldcup-main h3 {
		font-size: 20px !important;
	}

	.qnp-worldcup-aj .qnp-worldcup-main p {
		font-size: 14px !important;
		line-height: 1.8 !important;
	}

	.qnp-worldcup-aj .qnp-worldcup-side-card {
		grid-template-columns: 102px minmax(0, 1fr) !important;
	}

	.qnp-worldcup-aj .qnp-wc-badge {
		font-size: 10px !important;
		padding-inline: 9px !important;
	}
}


/* ============================================================
   Qareeb News Pro 1.0.2 refinements
   Mobile drawer stability + menu button polish + world cup alignment
   ============================================================ */

.qnp-mobile-drawer-wrap {
	position: fixed !important;
	inset: 0 !important;
	z-index: 2147483000 !important;
	isolation: isolate;
}

.qnp-mobile-backdrop {
	position: absolute !important;
	inset: 0 !important;
	background: rgba(2, 6, 23, 0.62) !important;
	backdrop-filter: blur(6px) !important;
}

.qnp-mobile-drawer {
	z-index: 2 !important;
	height: 100dvh !important;
	max-height: 100dvh !important;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

.qnp-header-actions .qnp-menu-toggle {
	position: relative;
	background: linear-gradient(135deg, #0b5fff 0%, #0a3ea8 100%) !important;
	border: 1px solid rgba(255, 255, 255, 0.16) !important;
	box-shadow: 0 12px 24px rgba(11, 95, 255, 0.24), 0 4px 10px rgba(15, 23, 42, 0.18) !important;
}

.qnp-header-actions .qnp-menu-toggle:hover,
.qnp-header-actions .qnp-menu-toggle:focus-visible {
	transform: translateY(-1px);
	filter: brightness(1.05);
}

.qnp-header-actions .qnp-menu-toggle svg {
	width: 24px !important;
	height: 24px !important;
	color: #ffffff !important;
}

.qnp-header-actions .qnp-menu-toggle::after {
	content: "";
	position: absolute;
	inset: 6px;
	border-radius: 11px;
	border: 1px solid rgba(255,255,255,0.14);
	pointer-events: none;
}

.qnp-worldcup-aj {
	padding: 52px 0 26px !important;
}

.qnp-worldcup-aj .qnp-worldcup-inner {
	gap: 0 !important;
}

.qnp-worldcup-titlebar {
	width: calc(100% - 54px) !important;
	margin: 0 auto 24px !important;
	padding: 0 !important;
	text-align: right !important;
	justify-content: flex-start !important;
}

.qnp-worldcup-titlebar > div {
	width: 100%;
	justify-items: start !important;
	text-align: right !important;
}

.qnp-worldcup-aj .qnp-section-header h2 {
	direction: rtl;
	unicode-bidi: embed;
	font-size: clamp(24px, 3.1vw, 36px) !important;
}

.qnp-worldcup-aj .qnp-section-header h2 span[dir="ltr"] {
	display: inline-block;
	margin-inline-start: 6px;
}

.qnp-worldcup-aj .qnp-worldcup-card {
	grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr) !important;
	align-items: start !important;
	padding: 24px !important;
	gap: 22px !important;
}

.qnp-worldcup-aj .qnp-worldcup-main {
	align-self: start !important;
	gap: 14px !important;
}

.qnp-worldcup-aj .qnp-worldcup-image,
.qnp-worldcup-aj .qnp-worldcup-main > a:first-child {
	aspect-ratio: 16 / 9 !important;
	max-height: 320px !important;
}

.qnp-worldcup-aj .qnp-worldcup-main-content {
	text-align: right !important;
}

.qnp-worldcup-aj .qnp-worldcup-main .qnp-wc-badge {
	margin-inline: 0 auto !important;
	margin-inline-start: 0 !important;
}

.qnp-worldcup-aj .qnp-worldcup-main h3 {
	font-size: clamp(20px, 2vw, 28px) !important;
	line-height: 1.6 !important;
}

.qnp-worldcup-aj .qnp-worldcup-main p {
	max-width: none !important;
	margin: 0 !important;
	font-size: 15px !important;
	line-height: 1.9 !important;
}

.qnp-worldcup-aj .qnp-worldcup-side {
	gap: 16px !important;
}

.qnp-worldcup-aj .qnp-worldcup-side-card {
	grid-template-columns: 132px minmax(0, 1fr) !important;
	gap: 14px !important;
}

.qnp-worldcup-aj .qnp-worldcup-side-card h4 {
	font-size: clamp(16px, 1.2vw, 20px) !important;
	line-height: 1.55 !important;
}

.qnp-worldcup-more {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	justify-self: end !important;
	margin: 16px calc((100% - (100% - 54px)) / 2) 0 0 !important;
	padding: 11px 18px !important;
	border-radius: 999px !important;
	background: #0b5fff !important;
	color: #ffffff !important;
	font-size: 15px !important;
	font-weight: 900 !important;
	box-shadow: 0 12px 24px rgba(11, 95, 255, 0.22) !important;
}

.qnp-worldcup-more:hover {
	background: #0a4ed1 !important;
	color: #ffffff !important;
}

@media (max-width: 980px) {
	.qnp-header-actions .qnp-menu-toggle {
		width: 46px !important;
		height: 46px !important;
		min-width: 46px !important;
	}

	.qnp-worldcup-aj {
		padding: 38px 0 22px !important;
	}

	.qnp-worldcup-titlebar {
		width: 100% !important;
		margin-bottom: 18px !important;
	}

	.qnp-worldcup-aj .qnp-worldcup-card {
		grid-template-columns: 1fr !important;
		padding: 16px !important;
		gap: 18px !important;
	}

	.qnp-worldcup-aj .qnp-worldcup-image,
	.qnp-worldcup-aj .qnp-worldcup-main > a:first-child {
		max-height: 250px !important;
	}

	.qnp-worldcup-aj .qnp-worldcup-main-content {
		text-align: right !important;
	}

	.qnp-worldcup-aj .qnp-worldcup-main .qnp-wc-badge {
		margin-inline-start: 0 !important;
	}

	.qnp-worldcup-more {
		justify-self: stretch !important;
		width: 100% !important;
		margin: 14px 0 0 !important;
	}
}

@media (max-width: 520px) {
	.qnp-mobile-drawer {
		width: min(88vw, 340px) !important;
	}

	.qnp-header-actions .qnp-menu-toggle {
		width: 44px !important;
		height: 44px !important;
		min-width: 44px !important;
	}

	.qnp-worldcup-aj .qnp-section-header h2 {
		font-size: 26px !important;
	}

	.qnp-worldcup-aj .qnp-worldcup-image,
	.qnp-worldcup-aj .qnp-worldcup-main > a:first-child {
		max-height: 210px !important;
	}

	.qnp-worldcup-aj .qnp-worldcup-side-card {
		grid-template-columns: 96px minmax(0, 1fr) !important;
	}
}


/* ============================================================
   Qareeb News Pro 1.0.3 refinements
   Simpler mobile menu button + drawer cleanup + match strip sizing
   ============================================================ */

.qnp-drawer-main-menu {
	padding-top: 10px !important;
}

.qnp-drawer-main-menu h2 {
	display: none !important;
}

.qnp-header-actions .qnp-menu-toggle::after {
	display: none !important;
}

.qnp-header-actions .qnp-menu-toggle {
	background: #ffffff !important;
	border: 1px solid rgba(11, 95, 255, 0.18) !important;
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.10) !important;
	border-radius: 16px !important;
}

.qnp-header-actions .qnp-menu-toggle svg,
.qnp-header-actions .qnp-menu-toggle svg path {
	color: #0b5fff !important;
	fill: #0b5fff !important;
}

.qnp-header-actions .qnp-menu-toggle:hover,
.qnp-header-actions .qnp-menu-toggle:focus-visible {
	background: #f8fbff !important;
	box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12) !important;
	transform: none !important;
}

.qnp-match-card-mini {
	grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr) !important;
	padding: 8px 8px !important;
}

.qnp-mini-team {
	gap: 3px !important;
}

.qnp-mini-team strong {
	font-size: 11px !important;
	line-height: 1.15 !important;
}

.qnp-mini-center small,
.qnp-mini-status {
	max-width: 60px !important;
	font-size: 9px !important;
	line-height: 1.15 !important;
}

.qnp-mini-center b {
	font-size: 16px !important;
	line-height: 1.15 !important;
}

@media (max-width: 520px) {
	.qnp-header-actions .qnp-menu-toggle {
		border-radius: 14px !important;
	}

	.qnp-match-card-mini {
		grid-template-columns: minmax(0, 1fr) 58px minmax(0, 1fr) !important;
		min-height: 70px !important;
		padding: 7px 8px !important;
	}

	.qnp-mini-team .qnp-team-flag {
		width: 24px !important;
		height: 24px !important;
	}

	.qnp-mini-team strong {
		font-size: 10px !important;
		line-height: 1.1 !important;
	}

	.qnp-mini-center b {
		font-size: 15px !important;
	}

	.qnp-mini-center small,
	.qnp-mini-status,
	.qnp-mini-live {
		font-size: 8.5px !important;
	}
}


/* ============================================================
   Qareeb News Pro 1.0.4 refinements
   Match strip live badge + team name visibility
   ============================================================ */

.qnp-match-card-mini {
	grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr) !important;
	gap: 6px !important;
}

.qnp-mini-team {
	align-self: start;
}

.qnp-mini-team strong {
	display: -webkit-box !important;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden !important;
	white-space: normal !important;
	text-overflow: initial !important;
	font-size: 10.5px !important;
	line-height: 1.25 !important;
	min-height: 2.5em;
}

.qnp-mini-center {
	align-self: center;
	gap: 2px !important;
}

.qnp-mini-center b {
	font-size: 15px !important;
	line-height: 1.1 !important;
}

.qnp-mini-center small,
.qnp-mini-status {
	max-width: 56px !important;
	font-size: 8px !important;
	line-height: 1.1 !important;
}

.qnp-mini-live {
	gap: 5px !important;
	min-height: 22px !important;
	padding: 2px 9px !important;
	background: #fff5f5 !important;
	border: 1px solid rgba(248, 113, 113, 0.34) !important;
	color: #dc2626 !important;
	font-size: 9px !important;
	font-weight: 900 !important;
}

.qnp-mini-live::before {
	display: none !important;
	content: none !important;
}

.qnp-mini-live i {
	width: 7px !important;
	height: 7px !important;
	background: #ef4444 !important;
	box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.38) !important;
}

@media (max-width: 680px) {
	.qnp-match-card-mini {
		min-height: 72px !important;
		padding: 8px 9px !important;
	}

	.qnp-match-card-mini .qnp-mini-center small {
		display: none !important;
	}

	.qnp-mini-team strong {
		font-size: 10px !important;
	}
}

@media (max-width: 520px) {
	.qnp-matches-scroll {
		grid-auto-columns: minmax(230px, 240px) !important;
	}

	.qnp-match-card-mini {
		grid-template-columns: minmax(0, 1fr) 52px minmax(0, 1fr) !important;
		gap: 5px !important;
	}

	.qnp-mini-team .qnp-team-flag {
		width: 22px !important;
		height: 22px !important;
	}

	.qnp-mini-team strong {
		font-size: 9.5px !important;
		min-height: 2.45em;
	}

	.qnp-mini-center b {
		font-size: 14px !important;
	}

	.qnp-mini-live,
	.qnp-mini-status {
		font-size: 8px !important;
	}
}
