.newsx-header-search-account-wrap {
	display: flex;
	align-items: center;
	gap: 26px;
}

.newsx-member-hub-bar {
	position: relative;
	z-index: 2;
	background: transparent;
}

.newsx-member-hub-inline-desktop {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.newsx-member-hub-bar__inner {
	display: flex;
	justify-content: flex-end;
	padding-top: 8px;
	padding-bottom: 2px;
}

.newsx-member-hub-brand {
	min-width: 0;
}

.newsx-member-hub-brand__home {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	color: #111827;
}

.newsx-member-hub-brand__logo,
.newsx-member-hub-brand__logo .custom-logo-link {
	display: inline-flex;
	align-items: center;
}

.newsx-member-hub-brand__logo img {
	display: block;
	width: auto;
	max-height: 32px;
}

.newsx-member-hub-brand--modal .newsx-member-hub-brand__logo img {
	max-height: 24px;
}

.newsx-member-hub-brand__monogram {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 12px;
	background: linear-gradient(135deg, #d81f26, #f05a28);
	color: #fff;
	font-weight: 800;
}

.newsx-member-hub-brand__text {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.newsx-member-hub-brand__text strong,
.newsx-member-hub-brand__text small {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.newsx-member-hub-brand__text strong {
	font-size: 13px;
	line-height: 1.1;
}

.newsx-member-hub-brand__text small {
	font-size: 11px;
	line-height: 1.2;
	color: #6b7280;
}

.newsx-member-hub-trigger {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	padding: 5px;
	border: 1px solid rgba(15, 23, 32, 0.08);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.88);
	backdrop-filter: blur(16px);
	box-shadow: 0 14px 26px rgba(15, 23, 32, 0.06);
}

.newsx-member-hub-trigger__btn {
	border: 1px solid transparent;
	background: transparent;
	color: #0f1720;
	border-radius: 999px;
	padding: 9px 13px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	transition: all 0.2s ease;
}

.newsx-member-hub-trigger__btn:hover {
	background: rgba(15, 23, 32, 0.05);
}

.newsx-member-hub-trigger__btn--primary {
	background: linear-gradient(135deg, #d81f26, #f05a28);
	color: #fff;
	box-shadow: 0 10px 22px rgba(216, 31, 38, 0.22);
}

.newsx-member-hub-trigger--compact .newsx-member-hub-trigger__btn {
	padding: 8px 11px;
	font-size: 11px;
	letter-spacing: 0.01em;
}

.newsx-member-hub-inline-desktop .newsx-member-hub-trigger {
	flex-wrap: nowrap;
}

.newsx-member-hub {
	position: fixed;
	inset: 0;
	z-index: 999999999;
	display: none;
}

.newsx-member-hub.is-open {
	display: block;
}

body.newsx-member-hub-open {
	overflow: hidden;
}

.newsx-member-hub__overlay {
	position: absolute;
	inset: 0;
	background: rgba(8, 15, 27, 0.62);
	backdrop-filter: blur(8px);
}

.newsx-member-hub__dialog {
	position: relative;
	width: min(860px, calc(100vw - 28px));
	max-height: calc(100vh - 28px);
	overflow: auto;
	margin: 14px auto;
	background: #f6f8fb;
	border-radius: 24px;
	box-shadow: 0 30px 72px rgba(15, 23, 32, 0.24);
}

.newsx-member-hub__close {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 2;
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: #111827;
	font-size: 22px;
	line-height: 1;
	box-shadow: 0 10px 26px rgba(15, 23, 32, 0.1);
}

.newsx-member-hub__body {
	padding: 24px;
}

.newsx-member-hub__guest,
.newsx-member-hub__dashboard {
	display: grid;
	gap: 18px;
}

.newsx-member-hub__hero,
.newsx-member-hub__welcome,
.newsx-member-hub__surface {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 18px;
	padding: 18px;
}

.newsx-member-hub__hero {
	display: grid;
	gap: 14px;
	background:
		radial-gradient(circle at top left, rgba(216, 31, 38, 0.12), transparent 38%),
		linear-gradient(135deg, #ffffff, #f8fafc);
}

.newsx-member-hub__hero-copy {
	display: grid;
	gap: 8px;
}

.newsx-member-hub__eyebrow {
	display: inline-block;
	margin-bottom: 2px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #d81f26;
}

.newsx-member-hub__hero h3,
.newsx-member-hub__welcome h3 {
	margin: 0;
	font-size: clamp(22px, 3vw, 30px);
	line-height: 1.08;
}

.newsx-member-hub__hero p,
.newsx-member-hub__welcome p,
.newsx-member-hub__surface p {
	margin: 0;
	font-size: 14px;
	color: #4b5563;
}

.newsx-member-hub__welcome {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
}

.newsx-member-hub__welcome-main {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.newsx-member-hub__welcome-copy {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.newsx-member-hub__plan-badge {
	display: grid;
	gap: 4px;
	min-width: 132px;
	padding: 14px 16px;
	border-radius: 16px;
	background: #111827;
	color: #fff;
}

.newsx-member-hub__plan-badge span {
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.72);
}

.newsx-member-hub__plan-badge strong {
	font-size: 15px;
}

.newsx-member-hub__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.newsx-member-hub__tabs button {
	border: 1px solid #d8dde3;
	background: #fff;
	color: #0f1720;
	border-radius: 999px;
	padding: 9px 13px;
	font-size: 12px;
	font-weight: 700;
}

.newsx-member-hub__tabs button.active {
	background: #0f1720;
	border-color: #0f1720;
	color: #fff;
}

.newsx-member-hub__panel {
	display: none;
}

.newsx-member-hub__panel.active {
	display: block;
}

.newsx-member-hub__form,
.newsx-member-hub__preferences-form {
	display: grid;
	gap: 14px;
}

.newsx-member-hub__form label > span,
.newsx-member-hub__surface h4 {
	display: block;
	margin-bottom: 8px;
	font-size: 14px;
	font-weight: 700;
	color: #111827;
}

.newsx-member-hub__form input[type="text"],
.newsx-member-hub__form input[type="email"],
.newsx-member-hub__form input[type="password"] {
	width: 100%;
	min-height: 46px;
	border: 1px solid #d7dce2;
	border-radius: 14px;
	background: #fff;
	padding: 0 14px;
}

.newsx-member-hub__switch {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	font-weight: 600;
	color: #111827;
}

.newsx-member-hub__primary,
.newsx-member-hub__ghost {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 14px;
	padding: 12px 16px;
	font-size: 13px;
	font-weight: 800;
}

.newsx-member-hub__primary {
	border: 0;
	background: linear-gradient(135deg, #d81f26, #f05a28);
	color: #fff;
}

.newsx-member-hub__ghost {
	border: 1px solid #d8dde3;
	background: #fff;
	color: #111827;
}

.newsx-member-hub__feedback {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	color: #4b5563;
}

.newsx-member-hub__feedback.is-error {
	color: #b91c1c;
}

.newsx-member-hub__feedback.is-success {
	color: #166534;
}

.newsx-member-hub__stats,
.newsx-member-hub__overview-grid,
.newsx-member-hub__plan-grid,
.newsx-member-hub__topic-grid {
	display: grid;
	gap: 12px;
}

.newsx-member-hub__stats,
.newsx-member-hub__overview-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.newsx-member-hub__stat-card,
.newsx-member-hub__plan-option span {
	display: grid;
	gap: 6px;
}

.newsx-member-hub__stat-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 18px;
	padding: 16px;
}

.newsx-member-hub__stat-card span {
	font-size: 12px;
	color: #6b7280;
}

.newsx-member-hub__stat-card strong {
	font-size: 28px;
	line-height: 1;
}

.newsx-member-hub__feature-list {
	margin: 0;
	padding-left: 18px;
	font-size: 14px;
	color: #4b5563;
}

.newsx-member-hub__plan-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.newsx-member-hub__plan-option input,
.newsx-member-hub__topic-option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.newsx-member-hub__plan-option span,
.newsx-member-hub__topic-option span {
	display: block;
	border: 1px solid #d8dde3;
	border-radius: 16px;
	background: #fff;
	padding: 14px;
	cursor: pointer;
}

.newsx-member-hub__plan-option strong {
	font-size: 14px;
}

.newsx-member-hub__plan-option em,
.newsx-member-hub__plan-option small {
	font-style: normal;
	font-size: 12px;
	color: #6b7280;
}

.newsx-member-hub__plan-option input:checked + span,
.newsx-member-hub__topic-option input:checked + span {
	border-color: #d81f26;
	background: rgba(216, 31, 38, 0.06);
}

.newsx-member-hub__topic-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.newsx-member-hub__topic-option span {
	font-size: 13px;
}

.newsx-member-hub__favorites-list {
	display: grid;
	gap: 12px;
}

.newsx-member-hub__favorite-item {
	display: grid;
	grid-template-columns: 96px 1fr;
	gap: 14px;
	align-items: center;
}

.newsx-member-hub__favorite-thumb img {
	width: 100%;
	height: 74px;
	object-fit: cover;
	border-radius: 14px;
}

.newsx-member-hub__favorite-content > span {
	display: block;
	margin-bottom: 6px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	color: #6b7280;
}

.newsx-member-hub__favorite-content h5 {
	margin: 0 0 10px;
	font-size: 16px;
}

.newsx-member-hub__actions,
.newsx-member-hub__account-actions,
.newsx-single-post-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.newsx-member-hub__empty {
	margin: 0;
	font-size: 14px;
	color: #4b5563;
}

.newsx-favorite-button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	border: 1px solid rgba(15, 23, 32, 0.08);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95));
	color: #0f1720;
	border-radius: 999px;
	padding: 8px 10px 8px 8px;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
	box-shadow: 0 16px 30px rgba(15, 23, 32, 0.08);
}

.newsx-favorite-button .newsx-svg-icon {
	line-height: 0;
}

.newsx-favorite-button__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: rgba(15, 23, 32, 0.06);
	flex-shrink: 0;
}

.newsx-favorite-button svg {
	width: 14px;
	height: 14px;
	transition: transform 0.2s ease, fill 0.2s ease;
}

.newsx-favorite-button__label {
	white-space: nowrap;
}

.newsx-favorite-button.is-active {
	border-color: rgba(216, 31, 38, 0.18);
	background:
		linear-gradient(180deg, rgba(255, 244, 244, 0.98), rgba(255, 247, 245, 0.96));
	color: #b91c1c;
	box-shadow: 0 18px 34px rgba(216, 31, 38, 0.12);
}

.newsx-favorite-button.is-active .newsx-favorite-button__icon {
	background: linear-gradient(135deg, #d81f26, #f05a28);
	color: #fff;
}

.newsx-favorite-button.is-active svg {
	transform: scale(1.05);
}

.newsx-single-post-actions .newsx-favorite-button {
	min-height: 46px;
	padding-right: 14px;
}

@media (max-width: 1024px) {
	.newsx-member-hub__stats,
	.newsx-member-hub__overview-grid,
	.newsx-member-hub__plan-grid,
	.newsx-member-hub__topic-grid {
		grid-template-columns: 1fr;
	}

	.newsx-member-hub-bar__inner,
	.newsx-member-hub__welcome {
		align-items: flex-start;
	}
}

@media (max-width: 768px) {
	.newsx-member-hub-inline-desktop {
		display: none;
	}

	.newsx-member-hub-bar {
		display: block;
	}

	.newsx-member-hub-bar__inner {
		justify-content: stretch;
		gap: 10px;
		width: 100%;
		padding-top: 8px;
		padding-bottom: 4px;
	}

	.newsx-member-hub__body {
		padding: 16px;
	}

	.newsx-member-hub__dialog {
		width: min(100vw - 12px, 860px);
		margin: 6px auto;
		border-radius: 20px;
	}

	.newsx-member-hub__favorite-item {
		grid-template-columns: 1fr;
	}

	.newsx-member-hub-trigger {
		width: 100%;
		justify-content: stretch;
		padding: 5px;
		border-radius: 18px;
		background: rgba(255, 255, 255, 0.94);
	}

	.newsx-member-hub-trigger__btn {
		flex: 1 1 0;
		min-width: 0;
		justify-content: center;
		min-height: 38px;
		padding: 8px 10px;
		font-size: 11px;
	}

	.newsx-header-search-account-wrap {
		width: 100%;
		gap: 0;
	}

	.newsx-member-hub__welcome-main {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (min-width: 769px) {
	.newsx-member-hub-bar {
		display: none;
	}
}
