/*
 * Love Island Simulator - frontend styles.
 * Inherits the RealitySimu theme palette (--rs-purple, --rs-violet, --rs-blue, etc.)
 * and adds Love Island-pink-leaning accents on top.
 */

:root {
	--lis-pink: #ff3ec1;
	--lis-pink-bright: #ff5ed1;
	--lis-magenta: #c026d3;
	--lis-violet: #8b5cf6;
	--lis-blue: #22a8ff;
	--lis-cyan: #38e8ff;
	--lis-bg: #03050f;
	--lis-bg-2: #08081a;
	--lis-panel: rgba(12, 14, 35, 0.78);
	--lis-panel-strong: rgba(18, 18, 46, 0.92);
	--lis-border: rgba(192, 38, 211, 0.35);
	--lis-radius: 18px;
	--lis-radius-sm: 10px;
	--lis-shadow-glow: 0 0 30px rgba(192, 38, 211, 0.28), 0 0 60px rgba(34, 168, 255, 0.12);
	--lis-gradient: linear-gradient(135deg, #ff3ec1 0%, #c026d3 35%, #8b5cf6 65%, #22a8ff 100%);
	--lis-gradient-soft: linear-gradient(135deg, rgba(255, 62, 193, 0.22), rgba(34, 168, 255, 0.18));
}

/* Use the theme's variables when present, override gradient to lean pink */
.lis-app {
	color: #f4f3ff;
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.55;
	width: min(1320px, 100% - 32px);
	margin: 0 auto;
	padding: 40px 0 80px;
	position: relative;
	min-height: 600px;
}
.lis-app *,
.lis-app *::before,
.lis-app *::after { box-sizing: border-box; }

.lis-app img { max-width: 100%; display: block; }
.lis-app button {
	font-family: inherit;
	cursor: pointer;
	border: 0;
	background: transparent;
	color: inherit;
}

/* Hero section */
.lis-hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(280px, 1.05fr) 1.4fr;
	gap: 36px;
	align-items: end;
	min-height: 320px;
	padding: 28px 0 30px;
}
.lis-back-link {
	color: var(--lis-pink-bright);
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	font-size: 0.74rem;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 18px;
	cursor: pointer;
}
.lis-back-link:hover { color: #fff; text-shadow: 0 0 14px rgba(255, 94, 209, 0.7); }
.lis-hero-title {
	margin: 0;
	font-size: clamp(2.6rem, 6vw, 5.2rem);
	font-weight: 950;
	letter-spacing: .02em;
	line-height: .96;
	text-transform: uppercase;
	color: #fff;
	text-shadow: 0 0 30px rgba(255, 255, 255, 0.12);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
}
.lis-hero-title .lis-heart {
	display: inline-block;
	width: 64px;
	height: 64px;
	color: var(--lis-pink-bright);
	filter: drop-shadow(0 0 18px rgba(255, 62, 193, 0.7));
}
.lis-hero-subtitle {
	margin: 12px 0 0;
	font-size: clamp(1.6rem, 3.8vw, 3rem);
	font-weight: 950;
	letter-spacing: .01em;
	background: var(--lis-gradient);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	text-transform: uppercase;
}
.lis-hero-blurb {
	color: #cfd1eb;
	max-width: 540px;
	margin: 18px 0 0;
	font-size: 0.98rem;
}
.lis-hero-image {
	position: relative;
	min-height: 260px;
	border-radius: 26px;
	overflow: hidden;
	background:
		linear-gradient(135deg, rgba(192, 38, 211, 0.15), rgba(34, 168, 255, 0.1)),
		radial-gradient(circle at 70% 30%, rgba(255, 99, 200, 0.45), transparent 60%),
		radial-gradient(circle at 20% 90%, rgba(34, 168, 255, 0.3), transparent 65%),
		linear-gradient(180deg, #1a0d3a 0%, #2a0c46 40%, #0a0a26 100%);
	box-shadow: 0 30px 90px rgba(0,0,0,0.5), inset 0 0 80px rgba(192, 38, 211, 0.2);
}
.lis-hero-image::before {
	content: '🌅';
	position: absolute;
	font-size: 220px;
	opacity: 0.25;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	filter: blur(2px);
}
.lis-hero-image::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 50%, rgba(3, 5, 15, 0.6) 100%);
}

/* Setup grid */
.lis-setup-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr)) 1.05fr;
	gap: 18px;
	align-items: stretch;
	margin-top: 12px;
}
@media (max-width: 1180px) {
	.lis-setup-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.lis-setup-grid > .lis-overview-card { grid-column: span 2; }
}
@media (max-width: 720px) {
	.lis-setup-grid { grid-template-columns: 1fr; }
	.lis-setup-grid > .lis-overview-card { grid-column: span 1; }
	.lis-hero { grid-template-columns: 1fr; }
}

/* Panel cards */
.lis-panel {
	position: relative;
	background: var(--lis-panel);
	border: 1px solid rgba(192, 38, 211, 0.35);
	border-radius: var(--lis-radius);
	padding: 20px 20px 22px;
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	box-shadow: 0 22px 48px rgba(0,0,0,0.42), inset 0 0 24px rgba(139, 92, 246, 0.05);
	transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.lis-panel:hover { border-color: rgba(255, 62, 193, 0.55); box-shadow: 0 26px 60px rgba(0,0,0,0.48), 0 0 32px rgba(192, 38, 211, 0.18); }
.lis-panel-head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
}
.lis-panel-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px; height: 28px;
	border-radius: 8px;
	background: rgba(192, 38, 211, 0.18);
	border: 1px solid rgba(192, 38, 211, 0.4);
	color: #fff;
	font-weight: 900;
	font-size: 0.85rem;
	flex-shrink: 0;
}
.lis-panel-title {
	margin: 0;
	font-size: 0.88rem;
	font-weight: 900;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #fff;
}
.lis-panel-icon {
	margin-left: auto;
	color: var(--lis-pink-bright);
	font-size: 1.2rem;
	filter: drop-shadow(0 0 8px rgba(255, 62, 193, 0.6));
}

/* Fields */
.lis-field {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 12px;
	margin: 0 0 10px;
	background: rgba(8, 10, 28, 0.6);
	border: 1px solid rgba(124, 58, 237, 0.22);
	border-radius: 12px;
}
.lis-field:last-child { margin-bottom: 0; }
.lis-field-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #d7d8ec;
	font-size: 0.82rem;
	font-weight: 600;
}
.lis-field-label .lis-icon { color: var(--lis-pink-bright); }
.lis-field input[type="text"],
.lis-field input[type="number"],
.lis-field select {
	background: rgba(2, 4, 18, 0.7);
	border: 1px solid rgba(124, 58, 237, 0.36);
	color: #fff;
	border-radius: 8px;
	padding: 6px 10px;
	font-size: 0.85rem;
	font-weight: 700;
	min-width: 120px;
	text-align: right;
}
.lis-field input:focus,
.lis-field select:focus {
	outline: none;
	border-color: var(--lis-pink-bright);
	box-shadow: 0 0 0 3px rgba(255, 62, 193, 0.22);
}

/* Stepper (- value +) */
.lis-stepper {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.lis-stepper button {
	width: 26px; height: 26px;
	border-radius: 50%;
	background: rgba(192, 38, 211, 0.12);
	border: 1px solid rgba(192, 38, 211, 0.5);
	color: #fff;
	font-size: 1rem;
	font-weight: 900;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background .15s ease, transform .12s ease, box-shadow .15s ease;
}
.lis-stepper button:hover {
	background: var(--lis-gradient);
	transform: scale(1.06);
	box-shadow: 0 0 14px rgba(255, 62, 193, 0.6);
}
.lis-stepper .lis-stepper-val {
	min-width: 28px;
	text-align: center;
	font-weight: 900;
	font-size: 1rem;
	color: #fff;
}

/* Toggle */
.lis-toggle {
	position: relative;
	display: inline-block;
	width: 44px;
	height: 24px;
}
.lis-toggle input { display: none; }
.lis-toggle-track {
	position: absolute;
	inset: 0;
	background: rgba(40, 40, 70, 0.7);
	border: 1px solid rgba(124, 58, 237, 0.4);
	border-radius: 999px;
	transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.lis-toggle-track::before {
	content: '';
	position: absolute;
	top: 2px; left: 2px;
	width: 18px; height: 18px;
	border-radius: 50%;
	background: #fff;
	transition: transform .2s ease;
	box-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
.lis-toggle input:checked + .lis-toggle-track {
	background: var(--lis-gradient);
	border-color: transparent;
	box-shadow: 0 0 16px rgba(255, 62, 193, 0.55);
}
.lis-toggle input:checked + .lis-toggle-track::before {
	transform: translateX(20px);
}

/* Vibe pills */
.lis-vibe-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-top: 6px;
}
.lis-vibe-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 12px;
	border-radius: 10px;
	background: rgba(8, 10, 28, 0.55);
	border: 1px solid rgba(124, 58, 237, 0.3);
	color: #d7d8ec;
	font-size: 0.85rem;
	font-weight: 700;
	transition: all .18s ease;
}
.lis-vibe-pill:hover {
	border-color: var(--lis-pink-bright);
	color: #fff;
}
.lis-vibe-pill.is-active {
	background: var(--lis-gradient-soft);
	border-color: var(--lis-pink-bright);
	color: #fff;
	box-shadow: 0 0 18px rgba(255, 62, 193, 0.35), inset 0 0 12px rgba(34, 168, 255, 0.08);
}
.lis-vibe-pill .lis-icon { color: var(--lis-pink-bright); }
.lis-vibe-label-small {
	margin: 0 0 8px;
	font-size: 0.74rem;
	color: #a9adcd;
	letter-spacing: .04em;
}

/* Overview card */
.lis-overview-card {
	background: linear-gradient(180deg, rgba(20, 12, 42, 0.85), rgba(8, 10, 28, 0.92));
	border: 1px solid rgba(255, 62, 193, 0.4);
	border-radius: var(--lis-radius);
	padding: 18px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	box-shadow: 0 22px 54px rgba(0,0,0,0.45), 0 0 40px rgba(192, 38, 211, 0.14);
}
.lis-overview-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.lis-overview-title {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 900;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.lis-overview-image {
	border-radius: 14px;
	min-height: 140px;
	background:
		linear-gradient(135deg, rgba(255, 62, 193, 0.5), rgba(34, 168, 255, 0.35)),
		radial-gradient(circle at 70% 60%, rgba(255, 99, 200, 0.6), transparent 60%),
		linear-gradient(180deg, #350c5c, #08081a);
	position: relative;
	overflow: hidden;
	box-shadow: inset 0 0 50px rgba(255, 62, 193, 0.25);
}
.lis-overview-image::after {
	content: '💖 villa';
	position: absolute;
	right: 14px; bottom: 12px;
	color: #fff;
	font-family: 'Brush Script MT', cursive;
	font-size: 1.6rem;
	text-shadow: 0 0 16px rgba(255, 62, 193, 0.9);
}
.lis-overview-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.lis-overview-list li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.88rem;
	color: #d7d8ec;
}
.lis-overview-list li .lis-icon {
	color: var(--lis-pink-bright);
	font-size: 0.95rem;
	width: 16px;
	text-align: center;
}
.lis-overview-list li strong {
	color: #fff;
	font-weight: 800;
}

/* Cast preview row */
.lis-cast-row {
	margin-top: 24px;
	background: rgba(12, 14, 35, 0.7);
	border: 1px solid rgba(192, 38, 211, 0.3);
	border-radius: var(--lis-radius);
	padding: 18px 20px 20px;
	backdrop-filter: blur(14px);
	box-shadow: 0 22px 48px rgba(0,0,0,0.4);
}
.lis-cast-row-head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
}
.lis-cast-row-head h3 {
	margin: 0;
	font-size: 0.86rem;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: .14em;
}
.lis-cast-row-head .lis-cast-hint {
	color: #a9adcd;
	font-size: 0.82rem;
}
.lis-cast-row-head .lis-cast-actions {
	margin-left: auto;
	display: inline-flex;
	gap: 8px;
}

.lis-cast-track {
	display: flex;
	gap: 14px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
	scrollbar-color: rgba(192, 38, 211, 0.6) transparent;
	padding-bottom: 6px;
}
.lis-cast-track::-webkit-scrollbar { height: 6px; }
.lis-cast-track::-webkit-scrollbar-thumb { background: rgba(192, 38, 211, 0.5); border-radius: 999px; }

/* Contestant card */
.lis-contestant-card {
	flex: 0 0 150px;
	scroll-snap-align: start;
	border-radius: 16px;
	overflow: hidden;
	background: linear-gradient(180deg, #0d0e26, #1a0b30);
	border: 2px solid var(--card-accent, rgba(192, 38, 211, 0.55));
	position: relative;
	box-shadow: 0 14px 30px rgba(0,0,0,0.5);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.lis-contestant-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 22px 44px rgba(0,0,0,0.55), 0 0 28px var(--card-accent, rgba(255, 62, 193, 0.5));
}
.lis-contestant-card .lis-photo {
	aspect-ratio: 3 / 4;
	background-size: cover;
	background-position: center;
	background-color: #1a0b30;
	position: relative;
}
.lis-contestant-card .lis-photo::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.85) 100%);
}
.lis-contestant-card .lis-info {
	position: absolute;
	bottom: 0; left: 0; right: 0;
	padding: 8px 10px 10px;
	color: #fff;
	display: flex;
	flex-direction: column;
	gap: 3px;
	z-index: 2;
}
.lis-contestant-card .lis-name {
	font-weight: 900;
	font-size: 1rem;
	margin: 0;
}
.lis-contestant-card .lis-gender {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 0.75rem;
	color: #d7d8ec;
}
.lis-contestant-card .lis-gender.is-girl { color: #ff5ed1; }
.lis-contestant-card .lis-gender.is-boy { color: #38e8ff; }
.lis-contestant-card .lis-edit-btn {
	position: absolute;
	top: 8px; right: 8px;
	width: 26px; height: 26px;
	border-radius: 50%;
	background: rgba(0,0,0,0.55);
	border: 1px solid rgba(255,255,255,0.4);
	color: #fff;
	font-size: 0.78rem;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	backdrop-filter: blur(6px);
}
.lis-contestant-card .lis-edit-btn:hover { background: var(--lis-gradient); }
.lis-contestant-card.is-bombshell::before {
	content: '💣';
	position: absolute;
	top: 8px; left: 8px;
	background: var(--lis-gradient);
	width: 26px; height: 26px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.85rem;
	z-index: 3;
	box-shadow: 0 0 14px rgba(255, 62, 193, 0.5);
}
.lis-contestant-card .lis-pop {
	position: absolute;
	top: 8px; left: 8px;
	background: rgba(0,0,0,0.55);
	color: #fff;
	font-size: 0.7rem;
	font-weight: 900;
	padding: 3px 8px;
	border-radius: 999px;
	border: 1px solid rgba(255, 62, 193, 0.4);
	z-index: 3;
	backdrop-filter: blur(6px);
}

.lis-add-card {
	flex: 0 0 150px;
	scroll-snap-align: start;
	border-radius: 16px;
	border: 2px dashed rgba(192, 38, 211, 0.55);
	background: rgba(12, 14, 35, 0.5);
	color: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 200px;
	font-weight: 800;
	font-size: 0.85rem;
	transition: all .18s ease;
	cursor: pointer;
}
.lis-add-card:hover {
	border-color: var(--lis-pink-bright);
	box-shadow: 0 0 24px rgba(255, 62, 193, 0.35);
}
.lis-add-card .lis-add-plus {
	font-size: 2.2rem;
	color: var(--lis-pink-bright);
	line-height: 1;
}

/* Buttons */
.lis-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 18px;
	border-radius: 10px;
	font-weight: 900;
	letter-spacing: .04em;
	font-size: 0.84rem;
	text-transform: uppercase;
	transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
	border: 1px solid rgba(124, 58, 237, 0.5);
	color: #fff;
	background: rgba(8, 10, 28, 0.6);
	cursor: pointer;
}
.lis-button:hover { transform: translateY(-2px); border-color: var(--lis-pink-bright); box-shadow: 0 0 18px rgba(255, 62, 193, 0.4); }
.lis-button-primary {
	background: var(--lis-gradient);
	border: 1px solid transparent;
	box-shadow: 0 0 26px rgba(255, 62, 193, 0.45), 0 8px 22px rgba(124, 58, 237, 0.3);
}
.lis-button-primary:hover { box-shadow: 0 0 38px rgba(255, 62, 193, 0.7), 0 10px 28px rgba(124, 58, 237, 0.45); }
.lis-button-ghost {
	background: rgba(8, 10, 28, 0.5);
	border: 1px solid rgba(255,255,255,0.18);
}
.lis-button-large {
	padding: 14px 24px;
	font-size: 0.92rem;
}

/* Footer action bar */
.lis-action-bar {
	margin-top: 22px;
	display: flex;
	justify-content: flex-end;
	gap: 12px;
	align-items: center;
	flex-wrap: wrap;
}
.lis-action-bar .lis-hint {
	margin-right: auto;
	color: #a9adcd;
	font-size: 0.82rem;
}

/* Modal */
.lis-modal {
	position: fixed;
	inset: 0;
	background: rgba(2, 3, 12, 0.85);
	z-index: 9999;
	display: none;
	align-items: center;
	justify-content: center;
	backdrop-filter: blur(8px);
	padding: 20px;
}
.lis-modal.is-open { display: flex; animation: lisFadeIn .2s ease; }
.lis-modal-card {
	width: min(640px, 100%);
	max-height: 90vh;
	overflow-y: auto;
	background: linear-gradient(180deg, #14092e, #0a0b22);
	border: 1px solid rgba(255, 62, 193, 0.4);
	border-radius: var(--lis-radius);
	padding: 28px;
	box-shadow: 0 40px 80px rgba(0,0,0,0.7), 0 0 60px rgba(192, 38, 211, 0.3);
	animation: lisModalIn .25s ease;
}
.lis-modal-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
}
.lis-modal-head h2 {
	margin: 0;
	font-size: 1.4rem;
	font-weight: 900;
}
.lis-modal-close {
	width: 32px; height: 32px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	font-size: 1rem;
	cursor: pointer;
}
.lis-modal-close:hover { background: rgba(255, 62, 193, 0.2); }

.lis-form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}
.lis-form-grid .full { grid-column: 1 / -1; }
.lis-form-label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 0.82rem;
	color: #c9cbe8;
	font-weight: 700;
}
.lis-form-label input,
.lis-form-label select,
.lis-form-label textarea {
	background: rgba(2, 4, 18, 0.6);
	border: 1px solid rgba(124, 58, 237, 0.4);
	color: #fff;
	padding: 10px 12px;
	border-radius: 10px;
	font-family: inherit;
	font-size: 0.92rem;
}
.lis-form-label input:focus,
.lis-form-label select:focus,
.lis-form-label textarea:focus {
	outline: none;
	border-color: var(--lis-pink-bright);
	box-shadow: 0 0 0 3px rgba(255, 62, 193, 0.22);
}

.lis-photo-picker {
	display: flex;
	align-items: center;
	gap: 14px;
}
.lis-photo-preview {
	width: 96px; height: 96px;
	border-radius: 14px;
	background-size: cover;
	background-position: center;
	background-color: #1a0b30;
	border: 1px solid rgba(255, 62, 193, 0.4);
	flex-shrink: 0;
}
.lis-photo-picker-buttons {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

/* Stages / nav between phases */
.lis-stage-nav {
	display: flex;
	gap: 6px;
	margin: 12px 0 22px;
	flex-wrap: wrap;
}
.lis-stage-step {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(8, 10, 28, 0.6);
	border: 1px solid rgba(124, 58, 237, 0.3);
	color: #c9cbe8;
	font-size: 0.75rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .12em;
}
.lis-stage-step.is-active {
	background: var(--lis-gradient);
	border-color: transparent;
	color: #fff;
	box-shadow: 0 0 18px rgba(255, 62, 193, 0.35);
}
.lis-stage-step.is-done {
	border-color: rgba(56, 232, 255, 0.5);
	color: #38e8ff;
}

/* Bombshell picker */
.lis-week-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 16px;
}
.lis-week-card {
	background: var(--lis-panel);
	border: 1px solid rgba(192, 38, 211, 0.35);
	border-radius: var(--lis-radius);
	padding: 16px 16px 18px;
	min-height: 180px;
	position: relative;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.lis-week-card.is-special { border-color: var(--lis-pink-bright); box-shadow: 0 0 28px rgba(255, 62, 193, 0.2); }
.lis-week-card.is-drop-target { border-style: dashed; background: rgba(255, 62, 193, 0.06); }
.lis-week-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}
.lis-week-num {
	font-size: 0.8rem;
	font-weight: 900;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #fff;
}
.lis-week-badges { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.lis-week-badge {
	font-size: 0.65rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	padding: 3px 8px;
	border-radius: 999px;
	background: rgba(192, 38, 211, 0.18);
	border: 1px solid rgba(192, 38, 211, 0.4);
	color: #fff;
}
.lis-week-badge.casa { background: rgba(255, 62, 193, 0.25); border-color: rgba(255, 62, 193, 0.55); }
.lis-week-badge.public { background: rgba(34, 168, 255, 0.22); border-color: rgba(34, 168, 255, 0.5); }
.lis-week-badge.dump { background: rgba(220, 38, 38, 0.22); border-color: rgba(220, 38, 38, 0.5); }
.lis-week-badge.challenge { background: rgba(245, 158, 11, 0.22); border-color: rgba(245, 158, 11, 0.5); color: #fde68a; }

.lis-week-bombshells {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	min-height: 70px;
}
.lis-week-mini-card {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 10px 6px 6px;
	border-radius: 999px;
	background: rgba(255, 62, 193, 0.12);
	border: 1px solid rgba(255, 62, 193, 0.45);
	font-size: 0.78rem;
	color: #fff;
	font-weight: 800;
	cursor: grab;
}
.lis-week-mini-card.is-dragging { opacity: .4; }
.lis-week-mini-card img,
.lis-week-mini-card .lis-mini-photo {
	width: 24px; height: 24px;
	border-radius: 50%;
	object-fit: cover;
	background-size: cover;
	background-position: center;
	background-color: #1a0b30;
}
.lis-week-mini-remove { color: rgba(255,255,255,0.6); }
.lis-week-mini-remove:hover { color: #fff; }

.lis-week-controls {
	display: flex;
	gap: 8px;
	margin-top: 12px;
}
.lis-week-controls label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.74rem;
	color: #c9cbe8;
}

.lis-bombshell-pool {
	margin-bottom: 22px;
	padding: 18px;
	background: var(--lis-panel);
	border: 1px solid rgba(192, 38, 211, 0.35);
	border-radius: var(--lis-radius);
}
.lis-pool-head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}
.lis-pool-head h3 {
	margin: 0;
	font-size: 0.86rem;
	font-weight: 900;
	letter-spacing: .12em;
	text-transform: uppercase;
}
.lis-pool-track {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	scrollbar-width: thin;
	scrollbar-color: rgba(192, 38, 211, 0.6) transparent;
	padding-bottom: 6px;
}

/* Cast Overview / Week View */
.lis-tabs {
	display: flex;
	gap: 6px;
	margin: 22px 0 18px;
	flex-wrap: wrap;
	border-bottom: 1px solid rgba(124, 58, 237, 0.25);
	padding-bottom: 8px;
}
.lis-tab {
	padding: 10px 16px;
	border-radius: 10px 10px 0 0;
	background: rgba(8, 10, 28, 0.4);
	border: 1px solid transparent;
	color: #c9cbe8;
	font-weight: 800;
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: .12em;
	cursor: pointer;
}
.lis-tab:hover { color: #fff; }
.lis-tab.is-active {
	background: var(--lis-gradient-soft);
	border-color: rgba(255, 62, 193, 0.45);
	color: #fff;
	box-shadow: 0 -2px 18px rgba(255, 62, 193, 0.18);
}
.lis-tab-content { display: none; animation: lisFadeIn .2s ease; }
.lis-tab-content.is-active { display: block; }

.lis-couple-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 14px;
}
.lis-couple-card {
	background: linear-gradient(180deg, rgba(20, 12, 42, 0.85), rgba(8, 10, 28, 0.92));
	border: 1px solid rgba(255, 62, 193, 0.4);
	border-radius: var(--lis-radius);
	padding: 14px;
	display: flex;
	align-items: center;
	gap: 12px;
	position: relative;
}
.lis-couple-card::after {
	content: '💖';
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	font-size: 1.6rem;
	filter: drop-shadow(0 0 12px rgba(255, 62, 193, 0.7));
	pointer-events: none;
	z-index: 1;
}
.lis-couple-card .lis-half {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	text-align: center;
	z-index: 2;
}
.lis-couple-card .lis-half-photo {
	width: 70px; height: 70px;
	border-radius: 50%;
	background-size: cover;
	background-position: center;
	background-color: #1a0b30;
	border: 2px solid rgba(255, 62, 193, 0.5);
}
.lis-couple-card .lis-half-name {
	font-weight: 900;
	font-size: 0.88rem;
	color: #fff;
}

/* Events */
.lis-events-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.lis-event-card {
	display: flex;
	gap: 14px;
	padding: 14px 16px;
	background: var(--lis-panel);
	border: 1px solid rgba(124, 58, 237, 0.35);
	border-radius: 14px;
	align-items: center;
}
.lis-event-card .lis-event-photos {
	display: flex;
	gap: -10px;
}
.lis-event-card .lis-event-photo {
	width: 44px; height: 44px;
	border-radius: 50%;
	background-size: cover;
	background-position: center;
	background-color: #1a0b30;
	border: 2px solid rgba(255, 62, 193, 0.45);
}
.lis-event-card .lis-event-photo + .lis-event-photo {
	margin-left: -14px;
}
.lis-event-card .lis-event-body {
	flex: 1;
}
.lis-event-card .lis-event-title {
	margin: 0 0 4px;
	font-weight: 900;
	font-size: 0.95rem;
	color: #fff;
}
.lis-event-card .lis-event-desc {
	margin: 0;
	color: #c9cbe8;
	font-size: 0.86rem;
}
.lis-event-card .lis-event-impact {
	display: inline-flex;
	gap: 8px;
	margin-top: 6px;
	font-size: 0.72rem;
}
.lis-event-card .lis-impact-pill {
	padding: 2px 8px;
	border-radius: 999px;
	font-weight: 800;
	border: 1px solid;
}
.lis-impact-pill.up { color: #5eead4; border-color: rgba(94, 234, 212, 0.5); background: rgba(94, 234, 212, 0.08); }
.lis-impact-pill.down { color: #ff6c8d; border-color: rgba(255, 108, 141, 0.5); background: rgba(255, 108, 141, 0.08); }
.lis-impact-pill.neutral { color: #c9cbe8; border-color: rgba(201, 203, 232, 0.3); background: rgba(201, 203, 232, 0.05); }

.lis-event-tag {
	font-size: 0.65rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	font-weight: 800;
	padding: 4px 10px;
	border-radius: 999px;
	border: 1px solid rgba(192, 38, 211, 0.4);
	background: rgba(192, 38, 211, 0.12);
	color: #fff;
	align-self: flex-start;
}

/* Leaderboard */
.lis-leaderboard {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.lis-leader-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	background: var(--lis-panel);
	border: 1px solid rgba(124, 58, 237, 0.35);
	border-radius: 12px;
}
.lis-leader-rank {
	font-weight: 900;
	font-size: 1.1rem;
	color: var(--lis-pink-bright);
	min-width: 32px;
}
.lis-leader-photo {
	width: 40px; height: 40px;
	border-radius: 50%;
	background-size: cover;
	background-position: center;
	background-color: #1a0b30;
	border: 2px solid rgba(255, 62, 193, 0.45);
}
.lis-leader-name { flex: 1; font-weight: 800; color: #fff; }
.lis-leader-bar {
	flex: 0 0 200px;
	height: 8px;
	background: rgba(255,255,255,0.08);
	border-radius: 999px;
	overflow: hidden;
}
.lis-leader-bar-fill {
	height: 100%;
	background: var(--lis-gradient);
	border-radius: inherit;
	box-shadow: 0 0 14px rgba(255, 62, 193, 0.5);
}
.lis-leader-score {
	font-weight: 900;
	color: #fff;
	min-width: 32px;
	text-align: right;
}

/* Bombshell entrance hero */
.lis-bombshell-entrance {
	position: relative;
	min-height: 380px;
	border-radius: 24px;
	overflow: hidden;
	background:
		linear-gradient(180deg, rgba(3,5,15,0.35) 0%, rgba(3,5,15,0.9) 80%),
		linear-gradient(135deg, var(--lis-pink) 0%, var(--lis-violet) 50%, var(--lis-blue) 100%);
	display: flex;
	align-items: flex-end;
	padding: 30px;
	margin-bottom: 22px;
	box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 60px rgba(255, 62, 193, 0.3);
}
.lis-bombshell-entrance::before {
	content: '💣';
	position: absolute;
	top: 20px; right: 20px;
	font-size: 60px;
	filter: drop-shadow(0 0 16px rgba(255, 62, 193, 0.7));
}
.lis-bombshell-entrance .lis-bombshell-photo {
	width: 200px; height: 280px;
	background-size: cover;
	background-position: center;
	border-radius: 18px;
	margin-right: 24px;
	border: 3px solid rgba(255, 62, 193, 0.55);
	box-shadow: 0 14px 40px rgba(0,0,0,0.6);
}
.lis-bombshell-entrance .lis-bombshell-info h2 {
	margin: 0 0 6px;
	font-size: clamp(2rem, 5vw, 3.4rem);
	font-weight: 950;
	text-transform: uppercase;
	letter-spacing: .02em;
	line-height: 1;
}
.lis-bombshell-entrance .lis-bombshell-info p { color: #f0eaff; margin: 4px 0; max-width: 520px; }
.lis-bombshell-entrance .lis-bombshell-tag {
	display: inline-block;
	background: var(--lis-gradient);
	font-size: 0.7rem;
	font-weight: 900;
	letter-spacing: .14em;
	padding: 6px 14px;
	border-radius: 999px;
	margin-bottom: 14px;
	text-transform: uppercase;
}

/* Eliminated list */
.lis-eliminated-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 14px;
}
.lis-eliminated-card {
	background: var(--lis-panel);
	border: 1px solid rgba(124, 58, 237, 0.3);
	border-radius: var(--lis-radius);
	padding: 14px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	filter: grayscale(.4);
	opacity: .8;
	transition: filter .2s, opacity .2s;
}
.lis-eliminated-card:hover { filter: none; opacity: 1; }
.lis-eliminated-card .lis-eliminated-photo {
	height: 140px;
	background-size: cover;
	background-position: center;
	border-radius: 12px;
}
.lis-eliminated-card .lis-eliminated-week {
	font-size: 0.7rem;
	font-weight: 900;
	color: var(--lis-pink-bright);
	letter-spacing: .12em;
	text-transform: uppercase;
}
.lis-eliminated-card h4 { margin: 0; font-size: 1rem; }
.lis-eliminated-card .lis-eliminated-reason { font-size: 0.78rem; color: #a9adcd; margin: 0; }

/* Finale */
.lis-finale {
	text-align: center;
	padding: 30px 0;
}
.lis-finale-trophy {
	font-size: 80px;
	filter: drop-shadow(0 0 28px rgba(255, 215, 64, 0.6));
}
.lis-finale-winner {
	display: inline-flex;
	gap: 22px;
	align-items: center;
	margin: 22px auto;
	padding: 22px 32px;
	border-radius: 22px;
	background: var(--lis-gradient);
	box-shadow: 0 30px 80px rgba(255, 62, 193, 0.4);
}
.lis-finale-winner .lis-half-photo { width: 90px; height: 90px; border: 3px solid #fff; }
.lis-finale-winner .lis-half-name { font-size: 1.4rem; color: #fff; }
.lis-finale-prize {
	font-size: 2rem;
	font-weight: 900;
	color: var(--lis-pink-bright);
	margin: 14px 0 0;
	text-shadow: 0 0 18px rgba(255, 62, 193, 0.5);
}

/* Empty state */
.lis-empty {
	text-align: center;
	padding: 60px 20px;
	background: var(--lis-panel);
	border: 1px dashed rgba(192, 38, 211, 0.4);
	border-radius: var(--lis-radius);
	color: #c9cbe8;
}

/* Toast */
.lis-toast {
	position: fixed;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--lis-gradient);
	color: #fff;
	padding: 12px 22px;
	border-radius: 999px;
	font-weight: 900;
	font-size: 0.86rem;
	letter-spacing: .04em;
	box-shadow: 0 12px 30px rgba(255, 62, 193, 0.5);
	z-index: 10000;
	opacity: 0;
	pointer-events: none;
	transition: opacity .25s ease, transform .25s ease;
}
.lis-toast.is-visible {
	opacity: 1;
	transform: translateX(-50%) translateY(-8px);
}

/* Animations */
@keyframes lisFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes lisModalIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }
@keyframes lisPulse {
	0% { box-shadow: 0 0 0 0 rgba(255, 62, 193, 0.5); }
	70% { box-shadow: 0 0 0 14px rgba(255, 62, 193, 0); }
	100% { box-shadow: 0 0 0 0 rgba(255, 62, 193, 0); }
}
.lis-pulse { animation: lisPulse 1.6s infinite; }

/* Loader */
.lis-loader {
	display: inline-block;
	width: 18px; height: 18px;
	border: 2px solid rgba(255, 62, 193, 0.4);
	border-top-color: var(--lis-pink-bright);
	border-radius: 50%;
	animation: lisSpin .8s linear infinite;
}
@keyframes lisSpin { to { transform: rotate(360deg); } }

/* Mobile tweaks */
@media (max-width: 720px) {
	.lis-hero-title { font-size: 2.4rem; }
	.lis-hero-subtitle { font-size: 1.4rem; }
	.lis-hero-image { min-height: 200px; }
	.lis-cast-track { gap: 10px; }
	.lis-contestant-card { flex: 0 0 140px; }
	.lis-action-bar { flex-direction: column-reverse; align-items: stretch; }
	.lis-action-bar .lis-button { width: 100%; }
}
