.site-shell {
	background:
		linear-gradient(180deg, rgba(248, 250, 252, .98) 0%, rgba(241, 245, 249, .94) 100%),
		linear-gradient(90deg, rgba(30, 128, 255, .055), rgba(15, 118, 110, .04) 54%, rgba(183, 121, 31, .04));
}

.dark .site-shell {
	background:
		linear-gradient(180deg, rgba(2, 6, 23, .98) 0%, rgba(15, 23, 42, .96) 100%),
		linear-gradient(90deg, rgba(30, 128, 255, .12), rgba(15, 118, 110, .08) 54%, rgba(183, 121, 31, .07));
}

.premium-panel {
	border: 1px solid rgba(148, 163, 184, .22);
	background: rgba(255, 255, 255, .88);
	box-shadow: 0 1px 0 rgba(255,255,255,.72) inset, 0 14px 36px rgba(16, 24, 40, .06);
	backdrop-filter: blur(18px);
}

.dark .premium-panel {
	border-color: rgba(51, 65, 85, .72);
	background: rgba(15, 23, 42, .74);
	box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 18px 48px rgba(0, 0, 0, .22);
}

.premium-surface {
	border: 1px solid rgba(148, 163, 184, .18);
	background: rgba(255, 255, 255, .82);
	box-shadow: 0 10px 30px rgba(16, 24, 40, .045);
	backdrop-filter: blur(14px);
}

.dark .premium-surface {
	border-color: rgba(51, 65, 85, .70);
	background: rgba(15, 23, 42, .70);
}

.premium-kicker {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	color: #1e80ff;
	font-size: .72rem;
	font-weight: 900;
	letter-spacing: 0;
	text-transform: uppercase;
}

.premium-kicker::before {
	width: 1.625rem;
	height: 1px;
	background: currentColor;
	content: "";
	opacity: .72;
}

.premium-card {
	position: relative;
	overflow: hidden;
}

.premium-card::before {
	position: absolute;
	inset: 0 auto 0 0;
	width: 3px;
	background: linear-gradient(180deg, #1e80ff, #0f766e 58%, #b7791f);
	content: "";
	opacity: 0;
	transition: opacity .2s ease;
}

.premium-card:hover::before {
	opacity: 1;
}

.premium-card:hover {
	box-shadow: 0 16px 42px rgba(16, 24, 40, .08);
}

.premium-link {
	position: relative;
}

.premium-link::after {
	position: absolute;
	right: 0;
	bottom: -3px;
	left: 0;
	height: 2px;
	border-radius: 999px;
	background: #1e80ff;
	content: "";
	transform: scaleX(0);
	transform-origin: right;
	transition: transform .22s ease;
}

.premium-link:hover::after,
.premium-link.is-active::after {
	transform: scaleX(1);
	transform-origin: left;
}

.image-zoom img {
	transition: transform .45s ease, filter .45s ease;
}

.image-zoom:hover img {
	transform: scale(1.045);
	filter: saturate(1.06) contrast(1.03);
}

.soft-divider {
	background: linear-gradient(90deg, transparent, rgba(148, 163, 184, .45), transparent);
	height: 1px;
}

.carousel-slide {
	opacity: 0;
	visibility: hidden;
	transition: opacity .5s ease, visibility .5s ease;
}

.carousel-slide.is-active {
	opacity: 1;
	visibility: visible;
}

.carousel-dot.is-active {
	width: 34px;
	background: #fff;
}

.mobile-nav-panel[hidden] {
	display: none;
}

.mobile-nav-group[open] {
	background: rgba(239, 246, 255, .72);
}

.dark .mobile-nav-group[open] {
	background: rgba(15, 23, 42, .92);
}

.mobile-nav-group summary::-webkit-details-marker {
	display: none;
}

.mobile-nav-group summary::after {
	color: #94a3b8;
	content: "+";
	font-weight: 900;
}

.mobile-nav-group[open] summary::after {
	content: "-";
}

.pay-blur {
	filter: blur(4px);
	pointer-events: none;
	user-select: none;
}

.article-content,
.pay-content {
	color: #27364a;
	font-size: 17px;
	line-height: 1.92;
	overflow-wrap: anywhere;
}

.dark .article-content,
.dark .pay-content {
	color: #cbd5e1;
}

.article-content p,
.pay-content p {
	margin: 0 0 1.12rem;
}

.article-content h1,
.article-content h2,
.article-content h3,
.pay-content h1,
.pay-content h2,
.pay-content h3 {
	margin: 1.75rem 0 .75rem;
	color: #111827;
	font-weight: 900;
	line-height: 1.3;
}

.dark .article-content h1,
.dark .article-content h2,
.dark .article-content h3,
.dark .pay-content h1,
.dark .pay-content h2,
.dark .pay-content h3 {
	color: #fff;
}

.article-content h1,
.pay-content h1 {
	font-size: 1.9rem;
}

.article-content h2,
.pay-content h2 {
	font-size: 1.45rem;
	padding-top: .35rem;
	border-top: 1px solid rgba(148, 163, 184, .20);
}

.article-content h3,
.pay-content h3 {
	font-size: 1.25rem;
}

.article-content a,
.pay-content a {
	color: #1e80ff;
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: rgba(30, 128, 255, .28);
	text-underline-offset: 4px;
}

.article-content img,
.pay-content img {
	height: auto;
	margin: 1.35rem 0;
	border-radius: .65rem;
	box-shadow: 0 12px 36px rgba(16, 24, 40, .08);
}

.article-content blockquote,
.pay-content blockquote {
	margin: 1rem 0;
	padding: 1rem 1.1rem;
	border-left: 3px solid #1e80ff;
	border-radius: .5rem;
	background: linear-gradient(90deg, rgba(30,128,255,.08), rgba(15,118,110,.05));
	color: #475569;
}

.dark .article-content blockquote,
.dark .pay-content blockquote {
	background: #0f172a;
	color: #cbd5e1;
}

.article-content ul,
.article-content ol,
.pay-content ul,
.pay-content ol {
	margin: 1rem 0;
	padding-left: 1.25rem;
}

.article-content li,
.pay-content li {
	margin: .38rem 0;
}

.article-content pre,
.pay-content pre {
	margin: 1rem 0;
	overflow: auto;
	border-radius: .75rem;
	background: #0f172a;
	padding: 1rem;
	color: #e2e8f0;
}

.comment-tree {
	display: grid;
	gap: .25rem;
}

.comment-node {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	gap: .9rem;
	padding: 1.1rem 0;
	border-top: 1px solid rgba(148, 163, 184, .18);
}

.comment-tree > .comment-node:first-child {
	padding-top: 0;
	border-top: 0;
}

.comment-avatar {
	display: flex;
	width: 42px;
	height: 42px;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border-radius: 999px;
	background: linear-gradient(135deg, #1e80ff, #0f766e);
	color: #fff;
	font-weight: 900;
}

.comment-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.comment-body {
	min-width: 0;
}

.comment-head {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem .75rem;
	align-items: center;
}

.comment-head strong {
	color: #0f172a;
	font-size: .95rem;
}

.dark .comment-head strong {
	color: #fff;
}

.comment-head span {
	color: #94a3b8;
	font-size: .78rem;
	font-weight: 700;
}

.comment-body p {
	margin: .45rem 0 0;
	color: #475569;
	font-size: .92rem;
	line-height: 1.8;
	overflow-wrap: anywhere;
}

.dark .comment-body p {
	color: #cbd5e1;
}

.comment-reply {
	margin-top: .55rem;
	color: #64748b;
	font-size: .8rem;
	font-weight: 900;
	transition: color .18s ease;
}

.comment-reply:hover {
	color: #1e80ff;
}

.comment-children {
	margin-top: .9rem;
	padding-left: 1rem;
	border-left: 2px solid rgba(30, 128, 255, .14);
}

.comment-children .comment-node {
	padding: .95rem 0 0;
	border-top: 0;
}

.article-content code:not(pre code),
.pay-content code:not(pre code) {
	border-radius: .375rem;
	background: rgba(30, 128, 255, .08);
	padding: .15rem .35rem;
	color: #0f5fcc;
	font-size: .92em;
}

.dark .article-content code:not(pre code),
.dark .pay-content code:not(pre code) {
	background: rgba(30, 128, 255, .16);
	color: #93c5fd;
}

.loading-dot {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: .25rem;
}

.loading-dot::after {
	display: inline-block;
	width: 1.25rem;
	overflow: hidden;
	animation: loadingDots 1s steps(4, end) infinite;
	content: "...";
	text-align: left;
}

@keyframes loadingDots {
	0% { width: 0; }
	100% { width: 1.25rem; }
}

#commentMessage[data-type="success"],
#unlockMessage[data-type="success"] {
	color: #16a394;
}

#commentMessage[data-type="error"],
#commentMessage[data-type="warning"],
#unlockMessage[data-type="error"],
#unlockMessage[data-type="warning"] {
	color: #dc563f;
}
