
.rvnot-popup {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 9990;
	font-family: 'Lato', sans-serif;
	transform: translateY(100%);
	opacity: 0;
	transition: transform .45s cubic-bezier(.22,1,.36,1), opacity .3s ease;
}

.rvnot-popup.visible {
	transform: translateY(0);
	opacity: 1;
}

.rvnot-popup__inner {
	max-width: 820px;
	margin: 0 auto;
	background: #fff;
	border-radius: 14px 14px 0 0;
	box-shadow: 0 -6px 32px rgba(0,0,0,.14);
	display: flex;
	overflow: hidden;
	position: relative;
}

.rvnot-popup__close {
	position: absolute;
	top: 12px;
	right: 14px;
	background: none;
	border: none;
	cursor: pointer;
	color: #888;
	padding: 4px;
	z-index: 2;
	border-radius: 50%;
	transition: background .15s;
}

.rvnot-popup__close:hover { background: #f0f0f0; color: #333; }

.rvnot-popup__content {
	flex: 0 0 60%;
	padding: 28px 28px 24px;
	overflow-y: auto;
	max-height: 70vh;
}

.rvnot-popup__heading {
	font-size: 20px;
	font-weight: 800;
	color: #111;
	margin: 0 0 6px;
	line-height: 1.2;
}

.rvnot-popup__sub {
	font-size: 14px;
	color: #555;
	margin: 0 0 20px;
	line-height: 1.45;
}

.rvnot-popup__options {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.rvnot-popup__option {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 12px;
	border-radius: 6px;
	cursor: pointer;
	transition: background .15s;
}

.rvnot-popup__option:hover { background: #f8f8f8; }

.rvnot-popup__opt-info {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	font-weight: 600;
	color: #222;
}

.rvnot-popup__topics {
	padding: 6px 12px 10px;
}

.rvnot-popup__topics-label,
.rvnot-prefs__topics-label {
	font-size: 12px;
	color: #888;
	text-transform: uppercase;
	letter-spacing: .5px;
	margin-bottom: 8px;
	display: block;
}

.rvnot-popup__pills,
.rvnot-prefs__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

button.rvnot-pill {
	display: inline-block;
	background: #f0f0f0;
	border: 1px solid #ddd;
	border-radius: 999px;
	padding: 5px 14px;
	font-size: 13px;
	font-weight: 400;
	font-family: inherit;
	cursor: pointer;
	color: #444;
	white-space: nowrap;
	transition: background .15s, color .15s, border-color .15s;
}

button.rvnot-pill:hover,
button.rvnot-pill:focus,
button.rvnot-pill:active {
	border-color: #aaa;
	color: #222;
	background: #e4e4e4;
}

button.rvnot-pill.active {
	background: #111;
	color: #fff;
	border-color: #111;
}

button.rvnot-pill.active:hover,
button.rvnot-pill.active:focus,
button.rvnot-pill.active:active {
	background: #333;
	border-color: #333;
	color: #fff;
}

.rvnot-popup__actions {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 18px;
}

.rvnot-popup__enable {
	padding: 10px 24px;
	background: #111;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	font-family: inherit;
	transition: background .15s;
}

.rvnot-popup__enable:hover { background: #333; }

.rvnot-popup__dismiss {
	background: none;
	border: none;
	color: #888;
	font-size: 13px;
	cursor: pointer;
	font-family: inherit;
}

.rvnot-popup__dismiss:hover { color: #555; }

.rvnot-popup__check-icon { margin-bottom: 8px; }

.rvnot-popup__discord {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 22px;
	background: #5865F2;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	font-family: inherit;
	text-decoration: none;
	transition: background .15s;
}

.rvnot-popup__discord:hover { background: #4752c4; color: #fff; }

.rvnot-popup__later {
	display: block;
	margin-top: 10px;
	background: none;
	border: none;
	color: #888;
	font-size: 13px;
	cursor: pointer;
	font-family: inherit;
}

.rvnot-popup__later:hover { color: #555; }

.rvnot-popup__image {
	flex: 0 0 40%;
	background: #f5f3ef;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 280px;
}

.rvnot-popup__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rvnot-popup__image-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: .5;
}

.rvnot-popup__denied {
	margin-top: 14px;
	padding: 10px 14px;
	background: #fef2f2;
	border-radius: 6px;
	font-size: 13px;
	color: #b91c1c;
	line-height: 1.4;
}

.rvnot-toggle {
	position: relative;
	width: 44px;
	height: 24px;
	flex-shrink: 0;
}

.rvnot-toggle input {
	opacity: 0;
	width: 0;
	height: 0;
	position: absolute;
}

.rvnot-toggle__slider {
	position: absolute;
	inset: 0;
	background: #ccc;
	border-radius: 12px;
	transition: background .2s;
	cursor: pointer;
}

.rvnot-toggle__slider::before {
	content: '';
	position: absolute;
	width: 18px;
	height: 18px;
	left: 3px;
	bottom: 3px;
	background: #fff;
	border-radius: 50%;
	transition: transform .2s;
}

.rvnot-toggle input:checked + .rvnot-toggle__slider { background: #1a73e8; }
.rvnot-toggle input:checked + .rvnot-toggle__slider::before { transform: translateX(20px); }

.rvnot-prefs {
	max-width: 520px;
	margin: 0 auto;
	padding: 20px 0 40px;
	font-family: 'Lato', sans-serif;
}

.rvnot-prefs__title { font-size: 22px; font-weight: 700; margin: 0 0 6px; color: #111; }
.rvnot-prefs__desc { font-size: 14px; color: #666; margin: 0 0 24px; }

.rvnot-prefs__list {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-bottom: 24px;
}

.rvnot-prefs__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	cursor: pointer;
	transition: border-color .15s;
}

.rvnot-prefs__item:hover { border-color: #ccc; }

.rvnot-prefs__info { display: flex; flex-direction: column; gap: 2px; }
.rvnot-prefs__label { font-size: 15px; font-weight: 600; color: #111; }
.rvnot-prefs__hint { font-size: 13px; color: #777; }

.rvnot-prefs__topics { padding: 8px 16px 16px; }

.rvnot-prefs__save {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 28px;
	background: #111;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	font-family: inherit;
	transition: background .15s;
}

.rvnot-prefs__save:hover { background: #333; }

.rvnot-prefs__status { margin-left: 12px; font-size: 13px; color: #2e7d32; }

.rvnot-prefs__not-subscribed {
	margin-bottom: 20px;
	padding: 14px 16px;
	background: #fffbeb;
	border: 1px solid #fde68a;
	border-radius: 8px;
	font-size: 14px;
	color: #92400e;
	line-height: 1.4;
}

.rvnot-prefs__not-subscribed button {
	margin-top: 8px;
	padding: 8px 18px;
	background: #111;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	font-family: inherit;
}

@media (max-width: 768px) {
	.rvnot-popup__inner { flex-direction: column; }

	.rvnot-popup__content {
		flex: 1 1 auto;
		padding: 22px 20px 20px;
	}

	.rvnot-popup__image { display: none; }

	.rvnot-popup__heading { font-size: 18px; }

	.rvnot-popup__actions { flex-direction: column; gap: 8px; }

	.rvnot-popup__enable { width: 100%; }

	.rvnot-prefs__item { padding: 14px 12px; }
}
