/* G6M_HOTTOPICS_PREMIUM_V521
   Cyber Neon premium redesign — CSS only.
   Same data / links / ARIA. Overrides V466 + V518 visual flattening. */

:root {
	--g6m-ht521: V546;
	--g6m-ht-pink: #ff0b8b;
	--g6m-ht-violet: #8d38ff;
	--g6m-ht-cyan: #00d7ff;
	--g6m-ht-orange: #ff6b35;
	--g6m-ht-red: #ff2d55;
	--g6m-ht-ink: #f4f1fb;
	--g6m-ht-muted: rgba(210, 205, 230, 0.78);
	--g6m-ht-ease: 280ms cubic-bezier(0.22, 0.61, 0.36, 1);
	--g6m-ht-radius: 16px;
	--g6m-ht-card-r: 14px;
	--g6m-ht-avatar: 46px;
}

@keyframes g6mHtBadgePulse {
	0%, 100% {
		box-shadow:
			0 0 0 0 rgba(255, 45, 85, 0.45),
			inset 0 1px 0 rgba(255, 255, 255, 0.22),
			0 4px 14px rgba(255, 45, 85, 0.28);
		filter: brightness(1);
	}
	50% {
		box-shadow:
			0 0 0 7px rgba(255, 45, 85, 0),
			inset 0 1px 0 rgba(255, 255, 255, 0.28),
			0 6px 18px rgba(255, 45, 85, 0.4);
		filter: brightness(1.06);
	}
}

@keyframes g6mHtFireGlow {
	0%, 100% { opacity: 0.85; transform: scale(1); }
	50% { opacity: 1; transform: scale(1.08); }
}

/* ══════════════════════════════════════════
   WIDGET SHELL
   ══════════════════════════════════════════ */
html body [data-widget-key="g6m_hottopics_now"],
html body [data-widget-definition="acHotTopics_popularNow"],
html body .acHotTopics-widget {
	--g6m-ht-local: 1;
}

html body [data-widget-key="g6m_hottopics_now"] > .block-container,
html body [data-widget-definition="acHotTopics_popularNow"] > .block-container,
html body .acHotTopics-widget > .block-container {
	position: relative !important;
	color-scheme: dark !important;
	border-radius: var(--g6m-ht-radius) !important;
	border: 1px solid rgba(141, 56, 255, 0.42) !important;
	background:
		radial-gradient(120% 80% at 0% 0%, rgba(141, 56, 255, 0.16), transparent 55%),
		radial-gradient(90% 70% at 100% 100%, rgba(255, 11, 139, 0.1), transparent 50%),
		linear-gradient(165deg, rgba(22, 16, 32, 0.94), rgba(10, 8, 16, 0.96)) !important;
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.04) inset,
		0 0 28px rgba(141, 56, 255, 0.14),
		0 14px 36px rgba(0, 0, 0, 0.38) !important;
	backdrop-filter: blur(12px) saturate(1.15) !important;
	-webkit-backdrop-filter: blur(12px) saturate(1.15) !important;
	overflow: hidden !important;
	color: var(--g6m-ht-ink) !important;
}

html body [data-widget-key="g6m_hottopics_now"] > .block-container::before,
html body .acHotTopics-widget > .block-container::before {
	content: "" !important;
	position: absolute !important;
	inset: 0 !important;
	pointer-events: none !important;
	opacity: 0.045 !important;
	background-image:
		repeating-linear-gradient(
			0deg,
			transparent,
			transparent 2px,
			rgba(255, 255, 255, 0.35) 2px,
			rgba(255, 255, 255, 0.35) 3px
		) !important;
	mix-blend-mode: soft-light !important;
	z-index: 0 !important;
}

/* ══════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════ */
html body [data-widget-key="g6m_hottopics_now"] .block-minorHeader,
html body [data-widget-key="g6m_hottopics_now"] .block-header,
html body [data-widget-definition="acHotTopics_popularNow"] .block-minorHeader,
html body .acHotTopics-widget .block-minorHeader {
	position: relative !important;
	z-index: 1 !important;
	display: flex !important;
	align-items: center !important;
	gap: 0.55rem !important;
	margin: 0 !important;
	padding: 1rem 1.1rem 0.95rem !important;
	font-family: Rajdhani, Inter, "Segoe UI", sans-serif !important;
	font-size: 1.05rem !important;
	font-weight: 800 !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase !important;
	line-height: 1.2 !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	text-shadow: 0 0 18px rgba(141, 56, 255, 0.55) !important;
	background:
		linear-gradient(90deg, rgba(141, 56, 255, 0.28), rgba(255, 11, 139, 0.12) 55%, transparent) !important;
	border-bottom: 0 !important;
}

html body [data-widget-key="g6m_hottopics_now"] .block-minorHeader::before,
html body .acHotTopics-widget .block-minorHeader::before {
	content: "🔥" !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-size: 1.05rem !important;
	line-height: 1 !important;
	filter: drop-shadow(0 0 8px rgba(255, 45, 85, 0.75)) !important;
	flex: 0 0 auto !important;
}

html body [data-widget-key="g6m_hottopics_now"] .block-minorHeader::after,
html body .acHotTopics-widget .block-minorHeader::after {
	content: "" !important;
	position: absolute !important;
	left: 1.1rem !important;
	right: 1.1rem !important;
	bottom: 0 !important;
	height: 2px !important;
	border-radius: 2px !important;
	background: linear-gradient(90deg, var(--g6m-ht-violet), var(--g6m-ht-pink), transparent 85%) !important;
	box-shadow: 0 0 12px rgba(141, 56, 255, 0.65) !important;
}

html body [data-widget-key="g6m_hottopics_now"] .block-minorHeader .fa--xf,
html body [data-widget-key="g6m_hottopics_now"] .block-minorHeader i,
html body .acHotTopics-widget .block-minorHeader .fa--xf,
html body .acHotTopics-widget .block-minorHeader i {
	display: none !important;
}

/* ══════════════════════════════════════════
   BODY / LIST
   ══════════════════════════════════════════ */
html body [data-widget-key="g6m_hottopics_now"] .block-body,
html body .acHotTopics-widget .block-body {
	position: relative !important;
	z-index: 1 !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 0.7rem !important;
	padding: 0.85rem 0.85rem 1rem !important;
	background: transparent !important;
	list-style: none !important;
	margin: 0 !important;
}

html body [data-widget-key="g6m_hottopics_now"] .block-body > .block-row,
html body .acHotTopics-widget .block-body > .block-row {
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	list-style: none !important;
}

/* ══════════════════════════════════════════
   PREMIUM CARDS
   ══════════════════════════════════════════ */
html body [data-widget-key="g6m_hottopics_now"] .contentRow,
html body .acHotTopics-widget .contentRow {
	display: flex !important;
	align-items: flex-start !important;
	gap: 0.75rem !important;
	margin: 0 !important;
	padding: 0.9rem 0.85rem !important;
	border-radius: var(--g6m-ht-card-r) !important;
	border: 1px solid rgba(141, 56, 255, 0.38) !important;
	background:
		linear-gradient(145deg, rgba(36, 28, 52, 0.92), rgba(18, 14, 28, 0.88)) !important;
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.04) inset,
		0 0 18px rgba(141, 56, 255, 0.12),
		0 8px 22px rgba(0, 0, 0, 0.28) !important;
	backdrop-filter: blur(8px) !important;
	-webkit-backdrop-filter: blur(8px) !important;
	transform: translateY(0) !important;
	max-width: 100% !important;
	overflow: hidden !important;
	box-sizing: border-box !important;
	transition:
		transform var(--g6m-ht-ease),
		box-shadow var(--g6m-ht-ease),
		border-color var(--g6m-ht-ease),
		background var(--g6m-ht-ease) !important;
	will-change: transform;
}

html body [data-widget-key="g6m_hottopics_now"] .contentRow:hover,
html body [data-widget-key="g6m_hottopics_now"] .contentRow:focus-within,
html body .acHotTopics-widget .contentRow:hover,
html body .acHotTopics-widget .contentRow:focus-within {
	transform: translateY(-3px) !important;
	border-color: rgba(200, 140, 255, 0.72) !important;
	background:
		linear-gradient(145deg, rgba(48, 34, 72, 0.95), rgba(24, 16, 40, 0.92)) !important;
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.06) inset,
		0 0 28px rgba(141, 56, 255, 0.32),
		0 0 18px rgba(255, 11, 139, 0.14),
		0 14px 28px rgba(0, 0, 0, 0.35) !important;
}

html body [data-widget-key="g6m_hottopics_now"] .contentRow:focus-within,
html body .acHotTopics-widget .contentRow:focus-within {
	outline: 2px solid rgba(0, 215, 255, 0.65) !important;
	outline-offset: 2px !important;
}

html body [data-widget-key="g6m_hottopics_now"] .contentRow.is-unread,
html body .acHotTopics-widget .contentRow.is-unread,
html body [data-widget-key="g6m_hottopics_now"] .block-row.is-unread,
html body .acHotTopics-widget .block-row.is-unread {
	background: linear-gradient(145deg, rgba(36, 28, 52, 0.92), rgba(18, 14, 28, 0.88)) !important;
}

html body [data-widget-key="g6m_hottopics_now"] .contentRow.is-unread::before,
html body .acHotTopics-widget .contentRow.is-unread::before {
	display: none !important;
	content: none !important;
}

html body [data-widget-key="g6m_hottopics_now"] .contentRow-main,
html body .acHotTopics-widget .contentRow-main {
	min-width: 0 !important;
	max-width: 100% !important;
	flex: 1 1 auto !important;
	overflow: hidden !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 0.55rem !important;
}

/* ══════════════════════════════════════════
   AVATAR
   ══════════════════════════════════════════ */
html body [data-widget-key="g6m_hottopics_now"] .contentRow-figure,
html body .acHotTopics-widget .contentRow-figure {
	flex: 0 0 auto !important;
	padding-top: 0.15rem !important;
}

html body [data-widget-key="g6m_hottopics_now"] .contentRow-figure .avatar,
html body [data-widget-key="g6m_hottopics_now"] .contentRow-figure .avatar img,
html body .acHotTopics-widget .contentRow-figure .avatar,
html body .acHotTopics-widget .contentRow-figure .avatar img {
	width: var(--g6m-ht-avatar) !important;
	height: var(--g6m-ht-avatar) !important;
	max-width: var(--g6m-ht-avatar) !important;
	max-height: var(--g6m-ht-avatar) !important;
	border-radius: 50% !important;
	border: 2px solid rgba(141, 56, 255, 0.65) !important;
	box-shadow:
		0 0 0 3px rgba(255, 11, 139, 0.12),
		0 0 16px rgba(141, 56, 255, 0.35),
		0 4px 12px rgba(0, 0, 0, 0.35) !important;
	transition:
		transform var(--g6m-ht-ease),
		box-shadow var(--g6m-ht-ease),
		border-color var(--g6m-ht-ease) !important;
	object-fit: cover !important;
}

html body [data-widget-key="g6m_hottopics_now"] .contentRow:hover .contentRow-figure .avatar,
html body [data-widget-key="g6m_hottopics_now"] .contentRow:hover .contentRow-figure .avatar img,
html body .acHotTopics-widget .contentRow:hover .contentRow-figure .avatar,
html body .acHotTopics-widget .contentRow:hover .contentRow-figure .avatar img {
	transform: rotate(-6deg) scale(1.04) !important;
	border-color: rgba(255, 11, 139, 0.85) !important;
	box-shadow:
		0 0 0 3px rgba(255, 11, 139, 0.2),
		0 0 22px rgba(255, 11, 139, 0.45),
		0 6px 14px rgba(0, 0, 0, 0.4) !important;
}

/* ══════════════════════════════════════════
   BADGE TENDANCE
   ══════════════════════════════════════════ */
html body [data-widget-key="g6m_hottopics_now"] .ac-hotBadge,
html body [data-widget-key="g6m_hottopics_now"] .label.ac-hotBadge,
html body .acHotTopics-widget .ac-hotBadge,
html body .acHotTopics-widget .label.ac-hotBadge,
html body .ac-hotBadge,
html body .label.ac-hotBadge {
	display: inline-flex !important;
	align-items: center !important;
	gap: 0.32rem !important;
	margin: 0 0.45rem 0.35rem 0 !important;
	padding: 0.28rem 0.7rem !important;
	border-radius: 999px !important;
	border: 1px solid rgba(255, 255, 255, 0.18) !important;
	background: linear-gradient(105deg, #ff2d55 0%, #ff6b35 100%) !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	font-family: Rajdhani, Inter, sans-serif !important;
	font-size: 0.68rem !important;
	font-weight: 800 !important;
	letter-spacing: 0.06em !important;
	text-transform: uppercase !important;
	line-height: 1.15 !important;
	vertical-align: middle !important;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.22),
		0 4px 14px rgba(255, 45, 85, 0.3) !important;
	animation: g6mHtBadgePulse 2.6s ease-in-out infinite !important;
}

html body [data-widget-key="g6m_hottopics_now"] .ac-hotBadge .fa--xf,
html body [data-widget-key="g6m_hottopics_now"] .ac-hotBadge i,
html body .ac-hotBadge .fa--xf,
html body .ac-hotBadge i {
	animation: g6mHtFireGlow 2.2s ease-in-out infinite !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	filter: drop-shadow(0 0 4px rgba(255, 220, 180, 0.55)) !important;
}

html body [data-widget-key="g6m_hottopics_now"] .ac-hotBadge .fa--xf svg,
html body .ac-hotBadge .fa--xf svg {
	width: 0.78rem !important;
	height: 0.78rem !important;
	fill: currentColor !important;
}

/* ══════════════════════════════════════════
   TITLE
   ══════════════════════════════════════════ */
html body [data-widget-key="g6m_hottopics_now"] .contentRow-title,
html body .acHotTopics-widget .contentRow-title {
	display: block !important;
	margin: 0 !important;
	line-height: 1.35 !important;
	overflow-wrap: anywhere !important;
	word-break: break-word !important;
}

html body [data-widget-key="g6m_hottopics_now"] .contentRow-title a,
html body [data-widget-key="g6m_hottopics_now"] .contentRow-title a:link,
html body [data-widget-key="g6m_hottopics_now"] .contentRow-title a:visited,
html body [data-widget-key="g6m_hottopics_now"] .contentRow-title a:hover,
html body [data-widget-key="g6m_hottopics_now"] .contentRow-title a:active,
html body [data-widget-key="g6m_hottopics_now"] .contentRow-title a:focus,
html body .acHotTopics-widget .contentRow-title a,
html body .acHotTopics-widget .contentRow-title a:link,
html body .acHotTopics-widget .contentRow-title a:visited,
html body .acHotTopics-widget .contentRow-title a:hover,
html body .acHotTopics-widget .contentRow-title a:active {
	display: -webkit-box !important;
	-webkit-box-orient: vertical !important;
	-webkit-line-clamp: 2 !important;
	line-clamp: 2 !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	max-height: calc(1.35em * 2) !important;
	margin: 0.15rem 0 0 !important;
	color: var(--g6m-ht-ink) !important;
	-webkit-text-fill-color: var(--g6m-ht-ink) !important;
	font-family: Rajdhani, Inter, "Segoe UI", sans-serif !important;
	font-size: 0.98rem !important;
	font-weight: 750 !important;
	letter-spacing: 0.01em !important;
	line-height: 1.35 !important;
	text-decoration: none !important;
	border-bottom: 0 !important;
	box-shadow: none !important;
	transition: color var(--g6m-ht-ease), -webkit-text-fill-color var(--g6m-ht-ease) !important;
}

html body [data-widget-key="g6m_hottopics_now"] .contentRow-title a:hover,
html body [data-widget-key="g6m_hottopics_now"] .contentRow-title a:focus-visible,
html body .acHotTopics-widget .contentRow-title a:hover,
html body .acHotTopics-widget .contentRow-title a:focus-visible {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	text-decoration: none !important;
	text-shadow: 0 0 12px rgba(0, 215, 255, 0.35) !important;
}

html body [data-widget-key="g6m_hottopics_now"] .contentRow-title a:focus-visible,
html body .acHotTopics-widget .contentRow-title a:focus-visible {
	outline: 2px solid rgba(0, 215, 255, 0.75) !important;
	outline-offset: 2px !important;
	border-radius: 4px !important;
}

/* ══════════════════════════════════════════
   STATS BAR  (views / replies / popularity)
   HTML order: replies, views, score, date
   V546: sidebar-safe — 2 cols (Vues|Réponses) + Popularité full row
         (3 equal minmax chips overflowed the card and clipped)
   ══════════════════════════════════════════ */
html body [data-widget-key="g6m_hottopics_now"] .g6m-hot-meta,
html body .acHotTopics-widget .g6m-hot-meta {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
	grid-template-areas:
		"views replies"
		"score score"
		"date date" !important;
	gap: 0.4rem !important;
	margin: 0.35rem 0 0 !important;
	padding: 0 !important;
	align-items: stretch !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	box-sizing: border-box !important;
	overflow: hidden !important;
}

html body [data-widget-key="g6m_hottopics_now"] .g6m-hot-meta > span,
html body .acHotTopics-widget .g6m-hot-meta > span {
	position: relative !important;
	min-width: 0 !important;
	box-sizing: border-box !important;
	text-align: center !important;
}

/* Kill FA/SVG sprites inside chips — numbers stay as text nodes */
html body [data-widget-key="g6m_hottopics_now"] .g6m-hot-meta > span > i,
html body [data-widget-key="g6m_hottopics_now"] .g6m-hot-meta > span > .fa--xf,
html body [data-widget-key="g6m_hottopics_now"] .g6m-hot-meta > span > svg,
html body [data-widget-key="g6m_hottopics_now"] .g6m-hot-meta > span .fa--xf,
html body [data-widget-key="g6m_hottopics_now"] .g6m-hot-meta > span svg,
html body .acHotTopics-widget .g6m-hot-meta > span > i,
html body .acHotTopics-widget .g6m-hot-meta > span > .fa--xf,
html body .acHotTopics-widget .g6m-hot-meta > span > svg,
html body .acHotTopics-widget .g6m-hot-meta > span .fa--xf,
html body .acHotTopics-widget .g6m-hot-meta > span svg {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	width: 0 !important;
	height: 0 !important;
	position: absolute !important;
	pointer-events: none !important;
	font-size: 0 !important;
}

html body [data-widget-key="g6m_hottopics_now"] .g6m-hot-meta > span:nth-child(1),
html body .acHotTopics-widget .g6m-hot-meta > span:nth-child(1) {
	grid-area: replies !important;
}
html body [data-widget-key="g6m_hottopics_now"] .g6m-hot-meta > span:nth-child(2),
html body .acHotTopics-widget .g6m-hot-meta > span:nth-child(2) {
	grid-area: views !important;
}
html body [data-widget-key="g6m_hottopics_now"] .g6m-hot-meta > span:nth-child(3),
html body .acHotTopics-widget .g6m-hot-meta > span:nth-child(3) {
	grid-area: score !important;
}
html body [data-widget-key="g6m_hottopics_now"] .g6m-hot-meta > span:nth-child(4),
html body .acHotTopics-widget .g6m-hot-meta > span:nth-child(4) {
	grid-area: date !important;
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 0.4rem !important;
	min-height: 0 !important;
	height: auto !important;
	padding: 0.2rem 0.15rem 0 !important;
	border: 0 !important;
	background: transparent !important;
	font-size: 0.76rem !important;
	font-weight: 600 !important;
	color: var(--g6m-ht-muted) !important;
	-webkit-text-fill-color: var(--g6m-ht-muted) !important;
	white-space: normal !important;
	text-align: left !important;
}

/* Stat chips: 3-row grid = icon / number / label — no overlap */
html body [data-widget-key="g6m_hottopics_now"] .g6m-hot-meta > span:nth-child(1),
html body [data-widget-key="g6m_hottopics_now"] .g6m-hot-meta > span:nth-child(2),
html body [data-widget-key="g6m_hottopics_now"] .g6m-hot-meta > span:nth-child(3),
html body .acHotTopics-widget .g6m-hot-meta > span:nth-child(1),
html body .acHotTopics-widget .g6m-hot-meta > span:nth-child(2),
html body .acHotTopics-widget .g6m-hot-meta > span:nth-child(3) {
	display: grid !important;
	grid-template-columns: 1fr !important;
	grid-template-rows: 16px auto auto !important;
	justify-items: center !important;
	align-items: center !important;
	justify-content: center !important;
	align-content: center !important;
	gap: 0.2rem !important;
	min-height: 3.7rem !important;
	height: 100% !important;
	padding: 0.48rem 0.4rem 0.42rem !important;
	border-radius: 10px !important;
	border: 1px solid rgba(255, 255, 255, 0.08) !important;
	background: rgba(8, 6, 14, 0.58) !important;
	color: var(--g6m-ht-ink) !important;
	-webkit-text-fill-color: var(--g6m-ht-ink) !important;
	font-size: 0.95rem !important;
	font-weight: 800 !important;
	line-height: 1.15 !important;
	letter-spacing: 0 !important;
	white-space: normal !important;
	overflow: hidden !important;
	box-sizing: border-box !important;
}

/* Views + replies — fill column, no fixed min that blows the sidebar */
html body [data-widget-key="g6m_hottopics_now"] .g6m-hot-meta > span:nth-child(1),
html body [data-widget-key="g6m_hottopics_now"] .g6m-hot-meta > span:nth-child(2),
html body .acHotTopics-widget .g6m-hot-meta > span:nth-child(1),
html body .acHotTopics-widget .g6m-hot-meta > span:nth-child(2) {
	min-width: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
	padding: 0.42rem 0.3rem 0.38rem !important;
}

/* Score / star chip — full-width row under Vues/Réponses */
html body [data-widget-key="g6m_hottopics_now"] .g6m-hot-meta > span:nth-child(3),
html body .acHotTopics-widget .g6m-hot-meta > span:nth-child(3),
html body [data-widget-key="g6m_hottopics_now"] .g6m-hot-meta .g6m-hot-score,
html body .acHotTopics-widget .g6m-hot-meta .g6m-hot-score {
	overflow: hidden !important;
	white-space: normal !important;
	padding: 0.42rem 0.35rem 0.38rem !important;
	min-width: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
}

html body [data-widget-key="g6m_hottopics_now"] .g6m-hot-meta > span:nth-child(1)::before,
html body [data-widget-key="g6m_hottopics_now"] .g6m-hot-meta > span:nth-child(2)::before,
html body [data-widget-key="g6m_hottopics_now"] .g6m-hot-meta > span:nth-child(3)::before,
html body .acHotTopics-widget .g6m-hot-meta > span:nth-child(1)::before,
html body .acHotTopics-widget .g6m-hot-meta > span:nth-child(2)::before,
html body .acHotTopics-widget .g6m-hot-meta > span:nth-child(3)::before {
	content: "" !important;
	display: block !important;
	grid-row: 1 !important;
	grid-column: 1 !important;
	width: 14px !important;
	height: 14px !important;
	margin: 0 auto !important;
	padding: 0 !important;
	position: static !important;
	float: none !important;
	inset: auto !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	background-size: 14px 14px !important;
	opacity: 0.95 !important;
	transform: none !important;
}

/* replies — chat bubble */
html body [data-widget-key="g6m_hottopics_now"] .g6m-hot-meta > span:nth-child(1)::before,
html body .acHotTopics-widget .g6m-hot-meta > span:nth-child(1)::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 6.5A2.5 2.5 0 0 1 7.5 4h9A2.5 2.5 0 0 1 19 6.5v6A2.5 2.5 0 0 1 16.5 15H10l-4.2 3.2c-.5.4-1.3 0-1.3-.6V6.5z' stroke='%23f3eaff' stroke-width='1.9' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}

/* views — eye */
html body [data-widget-key="g6m_hottopics_now"] .g6m-hot-meta > span:nth-child(2)::before,
html body .acHotTopics-widget .g6m-hot-meta > span:nth-child(2)::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M2.5 12s3.5-6.5 9.5-6.5S21.5 12 21.5 12 18 18.5 12 18.5 2.5 12 2.5 12z' stroke='%23f3eaff' stroke-width='1.9'/%3E%3Ccircle cx='12' cy='12' r='2.6' fill='%23f3eaff'/%3E%3C/svg%3E") !important;
}

/* score — star */
html body [data-widget-key="g6m_hottopics_now"] .g6m-hot-meta > span:nth-child(3)::before,
html body .acHotTopics-widget .g6m-hot-meta > span:nth-child(3)::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffb45c' d='M12 3.6l2.2 5.1 5.5.5-4.2 3.7 1.3 5.3L12 15.6 7.2 18.2l1.3-5.3L4.3 9.2l5.5-.5L12 3.6z'/%3E%3C/svg%3E") !important;
}

/* date — calendar */
html body [data-widget-key="g6m_hottopics_now"] .g6m-hot-meta > span:nth-child(4)::before,
html body .acHotTopics-widget .g6m-hot-meta > span:nth-child(4)::before {
	content: "" !important;
	display: inline-block !important;
	width: 13px !important;
	height: 13px !important;
	flex: 0 0 13px !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Crect x='4' y='6' width='16' height='14' rx='2.2' stroke='%23c8b8f0' stroke-width='1.8'/%3E%3Cpath d='M8 4v4M16 4v4M4 10h16' stroke='%23c8b8f0' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	background-size: 13px 13px !important;
	filter: none !important;
}

html body [data-widget-key="g6m_hottopics_now"] .g6m-hot-meta > span:nth-child(1)::after,
html body .acHotTopics-widget .g6m-hot-meta > span:nth-child(1)::after {
	content: "Réponses" !important;
	display: block !important;
	grid-row: 3 !important;
	grid-column: 1 !important;
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	margin: 0 !important;
	padding: 0 0.1rem !important;
	font-size: 0.5rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.02em !important;
	text-transform: uppercase !important;
	color: var(--g6m-ht-muted) !important;
	-webkit-text-fill-color: var(--g6m-ht-muted) !important;
	line-height: 1.2 !important;
	text-align: center !important;
	white-space: normal !important;
	overflow: hidden !important;
}
html body [data-widget-key="g6m_hottopics_now"] .g6m-hot-meta > span:nth-child(2)::after,
html body .acHotTopics-widget .g6m-hot-meta > span:nth-child(2)::after {
	content: "Vues" !important;
	display: block !important;
	grid-row: 3 !important;
	grid-column: 1 !important;
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	margin: 0 !important;
	padding: 0 0.1rem !important;
	font-size: 0.5rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.02em !important;
	text-transform: uppercase !important;
	color: var(--g6m-ht-muted) !important;
	-webkit-text-fill-color: var(--g6m-ht-muted) !important;
	line-height: 1.2 !important;
	text-align: center !important;
	white-space: normal !important;
	overflow: hidden !important;
}
html body [data-widget-key="g6m_hottopics_now"] .g6m-hot-meta > span:nth-child(3)::after,
html body .acHotTopics-widget .g6m-hot-meta > span:nth-child(3)::after {
	content: "Popularité" !important;
	display: block !important;
	grid-row: 3 !important;
	grid-column: 1 !important;
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	margin: 0 !important;
	padding: 0 0.15rem !important;
	font-size: 0.52rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.02em !important;
	text-transform: uppercase !important;
	color: rgba(255, 180, 120, 0.95) !important;
	-webkit-text-fill-color: rgba(255, 180, 120, 0.95) !important;
	line-height: 1.2 !important;
	text-align: center !important;
	white-space: normal !important;
	overflow: hidden !important;
	text-overflow: clip !important;
	word-break: keep-all !important;
}

html body [data-widget-key="g6m_hottopics_now"] .g6m-hot-meta .g6m-hot-score,
html body .acHotTopics-widget .g6m-hot-meta .g6m-hot-score {
	color: #ff9a5c !important;
	-webkit-text-fill-color: #ff9a5c !important;
	border-color: rgba(255, 107, 53, 0.32) !important;
	background: rgba(255, 107, 53, 0.12) !important;
	min-height: 3.55rem !important;
}

html body [data-widget-key="g6m_hottopics_now"] .g6m-hot-meta > span:nth-child(4) time,
html body .acHotTopics-widget .g6m-hot-meta > span:nth-child(4) time {
	color: var(--g6m-ht-muted) !important;
	-webkit-text-fill-color: var(--g6m-ht-muted) !important;
	font-weight: 600 !important;
}

/* ══════════════════════════════════════════
   AUTHOR — hide redundant "par pseudo"
   (avatar already identifies the author)
   ══════════════════════════════════════════ */
html body [data-widget-key="g6m_hottopics_now"] .contentRow-minor,
html body .acHotTopics-widget .contentRow-minor {
	display: none !important;
}

html body [data-widget-key="g6m_hottopics_now"] .contentRow-minor::before,
html body .acHotTopics-widget .contentRow-minor::before {
	content: none !important;
	display: none !important;
}

html body [data-widget-key="g6m_hottopics_now"] .contentRow:hover .contentRow-minor,
html body [data-widget-key="g6m_hottopics_now"] .contentRow:focus-within .contentRow-minor,
html body .acHotTopics-widget .contentRow:hover .contentRow-minor,
html body .acHotTopics-widget .contentRow:focus-within .contentRow-minor {
	display: none !important;
}

html body [data-widget-key="g6m_hottopics_now"] .contentRow-minor a,
html body .acHotTopics-widget .contentRow-minor a {
	display: none !important;
}

html body [data-widget-key="g6m_hottopics_now"] .contentRow-minor a:hover,
html body [data-widget-key="g6m_hottopics_now"] .contentRow-minor a:focus-visible,
html body .acHotTopics-widget .contentRow-minor a:hover,
html body .acHotTopics-widget .contentRow-minor a:focus-visible {
	display: none !important;
}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 1100px) {
	html body [data-widget-key="g6m_hottopics_now"] .block-minorHeader,
	html body .acHotTopics-widget .block-minorHeader {
		font-size: 0.98rem !important;
		padding: 0.9rem 1rem 0.85rem !important;
	}

	html body [data-widget-key="g6m_hottopics_now"] .contentRow,
	html body .acHotTopics-widget .contentRow {
		padding: 0.8rem 0.75rem !important;
		gap: 0.65rem !important;
	}
}

@media (max-width: 700px) {
	:root {
		--g6m-ht-avatar: 42px;
	}

	html body [data-widget-key="g6m_hottopics_now"] .block-body,
	html body .acHotTopics-widget .block-body {
		padding: 0.7rem 0.65rem 0.85rem !important;
		gap: 0.55rem !important;
	}

	html body [data-widget-key="g6m_hottopics_now"] .g6m-hot-meta,
	html body .acHotTopics-widget .g6m-hot-meta {
		grid-template-columns: 1fr 1fr !important;
		grid-template-areas:
			"views replies"
			"score score"
			"date date" !important;
	}

	html body [data-widget-key="g6m_hottopics_now"] .contentRow-title a,
	html body .acHotTopics-widget .contentRow-title a {
		font-size: 0.92rem !important;
	}

	html body [data-widget-key="g6m_hottopics_now"] .contentRow:hover,
	html body [data-widget-key="g6m_hottopics_now"] .contentRow:focus-within,
	html body .acHotTopics-widget .contentRow:hover,
	html body .acHotTopics-widget .contentRow:focus-within {
		transform: translateY(-2px) !important;
	}
}

@media (max-width: 420px) {
	html body [data-widget-key="g6m_hottopics_now"] .g6m-hot-meta,
	html body .acHotTopics-widget .g6m-hot-meta {
		grid-template-columns: 1fr !important;
		grid-template-areas:
			"views"
			"replies"
			"score"
			"date" !important;
	}
}

/* ══════════════════════════════════════════
   LIGHT MODE (explicit XF only — never via prefers-color-scheme)
   Site GTA6Modding is Cyber Neon dark by default.
   ══════════════════════════════════════════ */
html body[data-color-scheme="light"] [data-widget-key="g6m_hottopics_now"] > .block-container,
html body[data-color-scheme="light"] .acHotTopics-widget > .block-container {
	border-color: rgba(109, 40, 217, 0.35) !important;
	background:
		radial-gradient(120% 80% at 0% 0%, rgba(141, 56, 255, 0.1), transparent 55%),
		linear-gradient(165deg, rgba(248, 245, 255, 0.98), rgba(236, 232, 248, 0.96)) !important;
	color: #1a1228 !important;
	box-shadow: 0 10px 28px rgba(80, 40, 140, 0.12) !important;
}

html body[data-color-scheme="light"] [data-widget-key="g6m_hottopics_now"] .block-minorHeader,
html body[data-color-scheme="light"] .acHotTopics-widget .block-minorHeader {
	color: #1a1228 !important;
	-webkit-text-fill-color: #1a1228 !important;
	text-shadow: none !important;
}

html body[data-color-scheme="light"] [data-widget-key="g6m_hottopics_now"] .contentRow,
html body[data-color-scheme="light"] .acHotTopics-widget .contentRow {
	background: linear-gradient(145deg, #fff, #f3effc) !important;
	border-color: rgba(109, 40, 217, 0.28) !important;
}

html body[data-color-scheme="light"] [data-widget-key="g6m_hottopics_now"] .contentRow-title a,
html body[data-color-scheme="light"] .acHotTopics-widget .contentRow-title a {
	color: #1a1228 !important;
	-webkit-text-fill-color: #1a1228 !important;
}

@media (prefers-reduced-motion: reduce) {
	html body [data-widget-key="g6m_hottopics_now"] .contentRow,
	html body .acHotTopics-widget .contentRow,
	html body [data-widget-key="g6m_hottopics_now"] .contentRow-figure .avatar,
	html body [data-widget-key="g6m_hottopics_now"] .contentRow-figure .avatar img,
	html body .ac-hotBadge,
	html body .label.ac-hotBadge,
	html body .ac-hotBadge .fa--xf,
	html body .ac-hotBadge i {
		animation: none !important;
		transition: none !important;
		transform: none !important;
	}

	html body [data-widget-key="g6m_hottopics_now"] .contentRow:hover,
	html body [data-widget-key="g6m_hottopics_now"] .contentRow:focus-within,
	html body .acHotTopics-widget .contentRow:hover,
	html body .acHotTopics-widget .contentRow:focus-within {
		transform: none !important;
	}
}

/* END G6M_HOTTOPICS_PREMIUM_V521 */
