/**
 * Home PWA v2 — layout app (solo html.ci-pwa-standalone.home).
 */

html.ci-pwa-standalone.home #page > .site-content,
html.ci-pwa-standalone.home #page > main,
html.ci-pwa-standalone.home .elementor-location-content,
html.ci-pwa-standalone.home .elementor-location-header + .site-content,
html.ci-pwa-standalone.home .jws-title-bar,
html.ci-pwa-standalone.home .ci-continue-wrap,
html.ci-pwa-standalone.home .ci-pulse-home-shortcode {
	display: none !important;
}

html.ci-pwa-standalone.home .ci-pwa-topbar {
	display: block !important;
}

.ci-pwa-home {
	display: none;
	color: #fff;
	padding: 12px 0 24px;
}

html.ci-pwa-standalone.home .ci-pwa-home {
	display: block;
}

.ci-pwa-home-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 16px 14px;
}

.ci-pwa-home-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.ci-pwa-home-brand img {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	flex-shrink: 0;
}

.ci-pwa-home-brand strong {
	display: block;
	font-size: 16px;
	line-height: 1.2;
}

.ci-pwa-home-brand span {
	display: block;
	font-size: 12px;
	line-height: 1.3;
	color: rgba(255, 255, 255, 0.62);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 58vw;
}

.ci-pwa-home-head-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

.ci-pwa-home-icon-btn,
.ci-pwa-home-login-btn {
	border: 0;
	background: rgba(103, 16, 194, 0.18);
	color: #fff;
	border-radius: 999px;
	padding: 8px 12px;
	font-size: 12px;
	font-weight: 700;
}

.ci-pwa-home-icon-btn {
	width: 38px;
	height: 38px;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.ci-pwa-home-icon {
	width: 18px;
	height: 18px;
	background: #fff;
	opacity: 0.92;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	-webkit-mask-size: contain;
	mask-repeat: no-repeat;
	mask-position: center;
	mask-size: contain;
}

.ci-pwa-home-icon-bell {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 3a5 5 0 0 1 5 5v2.1c0 .5.2 1 .5 1.4L19 14H5l1.5-2.5c.3-.4.5-.9.5-1.4V8a5 5 0 0 1 5-5Z' stroke='black' stroke-width='1.8'/%3E%3Cpath d='M10 17a2 2 0 0 0 4 0' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 3a5 5 0 0 1 5 5v2.1c0 .5.2 1 .5 1.4L19 14H5l1.5-2.5c.3-.4.5-.9.5-1.4V8a5 5 0 0 1 5-5Z' stroke='black' stroke-width='1.8'/%3E%3Cpath d='M10 17a2 2 0 0 0 4 0' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

.ci-pwa-home-avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 2px solid #6710c2;
}

.ci-pwa-home-hero {
	position: relative;
	margin: 0 16px 18px;
	border-radius: 18px;
	overflow: hidden;
	min-height: 220px;
	background: #171717;
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.ci-pwa-home-hero-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.72;
}

.ci-pwa-home-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(12, 12, 12, 0.15) 0%, rgba(12, 12, 12, 0.35) 38%, rgba(12, 12, 12, 0.92) 100%);
}

.ci-pwa-home-hero-body {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 220px;
	padding: 18px;
}

.ci-pwa-home-hero-kicker {
	margin: 0 0 6px;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.72);
}

.ci-pwa-home-hero h1 {
	margin: 0 0 12px;
	font-size: 28px;
	line-height: 1.05;
	font-weight: 800;
	max-width: 92%;
}

.ci-pwa-home-hero-progress {
	height: 4px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.18);
	overflow: hidden;
	margin-bottom: 14px;
	max-width: 180px;
}

.ci-pwa-home-hero-progress span {
	display: block;
	height: 100%;
	background: #6710c2;
}

.ci-pwa-home-hero-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	min-width: 132px;
	padding: 12px 18px;
	border-radius: 12px;
	background: #6710c2;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.ci-pwa-home-section {
	margin-bottom: 20px;
}

.ci-pwa-home-section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 0 16px 10px;
}

.ci-pwa-home-section-head h2 {
	margin: 0;
	font-size: 18px;
	font-weight: 800;
}

.ci-pwa-home-section-head a {
	color: #b57cff;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.ci-pwa-home-scroll {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	padding: 0 16px 4px;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
}

.ci-pwa-home-scroll::-webkit-scrollbar {
	display: none;
}

.ci-pwa-home-pulse-card {
	flex: 0 0 132px;
	scroll-snap-align: start;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 16px;
	padding: 12px;
	text-decoration: none;
	color: #fff;
}

.ci-pwa-home-pulse-card img,
.ci-pwa-home-pulse-fallback {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	display: block;
	margin-bottom: 10px;
}

.ci-pwa-home-pulse-fallback {
	background: rgba(103, 16, 194, 0.35);
}

.ci-pwa-home-pulse-card strong {
	display: block;
	font-size: 13px;
	margin-bottom: 4px;
}

.ci-pwa-home-pulse-card span {
	display: block;
	font-size: 11px;
	line-height: 1.35;
	color: rgba(255, 255, 255, 0.62);
}

.ci-pwa-home-continue-card {
	flex: 0 0 156px;
	scroll-snap-align: start;
	text-decoration: none;
	color: #fff;
}

.ci-pwa-home-continue-thumb {
	position: relative;
	border-radius: 14px;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: #1d1d1d;
	margin-bottom: 8px;
}

.ci-pwa-home-continue-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ci-pwa-home-badge {
	position: absolute;
	top: 8px;
	left: 8px;
	padding: 3px 7px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.62);
	font-size: 10px;
	font-weight: 700;
}

.ci-pwa-home-continue-bar {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	background: rgba(255, 255, 255, 0.18);
}

.ci-pwa-home-continue-bar span {
	display: block;
	height: 100%;
	background: #6710c2;
}

.ci-pwa-home-continue-card strong {
	display: block;
	font-size: 13px;
	line-height: 1.25;
	margin-bottom: 2px;
}

.ci-pwa-home-continue-card span {
	font-size: 11px;
	color: rgba(255, 255, 255, 0.58);
}

.ci-pwa-home-promo {
	margin: 0 16px 20px;
	padding: 16px;
	border-radius: 16px;
	background: linear-gradient(135deg, rgba(103, 16, 194, 0.34), rgba(103, 16, 194, 0.12));
	border: 1px solid rgba(103, 16, 194, 0.42);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.ci-pwa-home-promo strong {
	display: block;
	font-size: 14px;
	letter-spacing: 0.08em;
	margin-bottom: 4px;
}

.ci-pwa-home-promo p {
	margin: 0;
	font-size: 12px;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.72);
	max-width: 220px;
}

.ci-pwa-home-promo a {
	flex-shrink: 0;
	padding: 10px 14px;
	border-radius: 999px;
	background: #6710c2;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
}

.ci-pwa-home-season-card {
	flex: 0 0 128px;
	scroll-snap-align: start;
	text-decoration: none;
	color: #fff;
}

.ci-pwa-home-season-thumb {
	border-radius: 14px;
	overflow: hidden;
	aspect-ratio: 2 / 3;
	background: #1d1d1d;
	margin-bottom: 8px;
}

.ci-pwa-home-season-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ci-pwa-home-season-card strong {
	display: block;
	font-size: 12px;
	line-height: 1.25;
}

.ci-pwa-home-articles {
	display: grid;
	gap: 10px;
	padding: 0 16px;
}

.ci-pwa-home-article {
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 10px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	text-decoration: none;
	color: #fff;
}

.ci-pwa-home-article img {
	width: 72px;
	height: 52px;
	border-radius: 10px;
	object-fit: cover;
	flex-shrink: 0;
}

.ci-pwa-home-article strong {
	display: block;
	font-size: 13px;
	line-height: 1.25;
	margin-bottom: 4px;
}

.ci-pwa-home-article span {
	font-size: 11px;
	color: rgba(255, 255, 255, 0.58);
}

.ci-pwa-home-avatar-link {
	display: inline-flex;
	line-height: 0;
}
