.rp-chat {
	position: fixed;
	right: 12px;
	bottom: calc(12px + env(safe-area-inset-bottom, 0px));
	z-index: 2147483000;
	font-family: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
	display: flex; align-items: center; gap: 8px;
}
.rp-chat-badge {
	background: #111; color: #fff; border: 1px solid rgba(255, 255, 255, 0.16);
	padding: 7px 13px; border-radius: 999px; font-size: .8rem; font-weight: 600;
	letter-spacing: .3px; white-space: nowrap; cursor: pointer;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}
.rp-chat-toggle { width: 52px; height: 52px; border-radius: 50%; border: none; cursor: pointer;
	background: linear-gradient(135deg, #e10606, #7a0404); color: #fff; font-size: 30px; line-height: 1;
	font-weight: 800; font-family: 'Anton', 'Arial Narrow', Arial, sans-serif;
	box-shadow: 0 10px 26px rgba(225, 6, 6, 0.5); transition: transform .15s ease;
	display: flex; align-items: center; justify-content: center; }
.rp-chat-toggle:hover { transform: scale(1.06); }
.rp-chat-panel {
	display: none;
	position: fixed;
	right: 12px;
	bottom: calc(72px + env(safe-area-inset-bottom, 0px));
	width: 320px;
	max-width: calc(100vw - 24px);
	max-height: min(65vh, 430px);
	background: #111;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
	flex-direction: column;
	z-index: 2147483000;
}
.rp-chat-panel.rp-open { display: flex; }
.rp-chat-head {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 14px;
	background: linear-gradient(90deg, #7a0404, #e10606);
	color: #fff;
}
.rp-chat-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #3dff7d;
	box-shadow: 0 0 8px #3dff7d;
}
.rp-chat-head strong { flex: 1; font-size: .95rem; letter-spacing: .5px; }
.rp-chat-live {
	font-size: .62rem; font-weight: 700; letter-spacing: .5px; color: #fff;
	background: rgba(0, 0, 0, 0.22); border: 1px solid rgba(255, 255, 255, 0.25);
	padding: 2px 7px; border-radius: 999px; white-space: nowrap;
}
.rp-chat-close {
	cursor: pointer;
	background: none;
	border: none;
	color: #fff;
	font-size: 20px;
	line-height: 1;
}
.rp-chat-body {
	min-height: 150px;
	max-height: 280px;
	overflow-y: auto;
	padding: 12px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.rp-msg {
	max-width: 85%;
	padding: 8px 11px;
	border-radius: 12px;
	font-size: .85rem;
	line-height: 1.4;
	white-space: pre-wrap;
	word-break: break-word;
}
.rp-bot {
	background: #1b1b1b;
	color: #eee;
	align-self: flex-start;
	border-bottom-left-radius: 3px;
}
.rp-user {
	background: linear-gradient(135deg, #e10606, #7a0404);
	color: #fff;
	align-self: flex-end;
	border-bottom-right-radius: 3px;
}
.rp-chat-form {
	display: flex;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 8px;
	gap: 6px;
	background: #0d0d0d;
}
.rp-chat-input {
	flex: 1;
	background: #1b1b1b;
	border: 1px solid rgba(255, 255, 255, 0.15);
	color: #fff;
	border-radius: 999px;
	padding: 8px 12px;
	font-size: .85rem;
	outline: none;
}
.rp-chat-input::placeholder { color: #888; }
.rp-chat-send {
	background: linear-gradient(135deg, #e10606, #7a0404);
	color: #fff;
	border: none;
	border-radius: 50%;
	width: 34px;
	height: 34px;
	cursor: pointer;
	font-size: 16px;
}
@media (max-width: 480px) {
	.rp-chat-panel { width: calc(100vw - 24px); right: 12px; }
	.rp-chat-toggle { width: 48px; height: 48px; }
}
