.gp-support-chat-root {
	--gp-chat-red: #e50914;
	--gp-chat-red-bright: #ff1823;
	--gp-chat-black: #101113;
	--gp-chat-panel: #181a1e;
	--gp-chat-panel-soft: #22252a;
	--gp-chat-line: #343840;
	--gp-chat-text: #f5f6f8;
	--gp-chat-muted: #a3a8b1;
	--gp-chat-green: #35d291;
	position: fixed;
	right: 22px;
	bottom: 20px;
	z-index: 2147482000;
	font-family: "Inter", sans-serif;
	font-size: 14px;
	line-height: 1.4;
	-webkit-font-smoothing: antialiased;
}

.gp-support-chat-root *,
.gp-support-chat-root *::before,
.gp-support-chat-root *::after {
	box-sizing: border-box;
}

.gp-support-chat-root[hidden],
.gp-support-chat-root [hidden],
.gp-support-chat-launcher[hidden],
.gp-support-chat-panel[hidden] {
	display: none !important;
}

.gp-support-chat-root button,
.gp-support-chat-root input,
.gp-support-chat-root textarea {
	font: inherit;
}

.gp-support-chat-launcher-wrap {
	position: relative;
}

.gp-support-chat-launcher {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 142px;
	height: 52px;
	padding: 0 17px 0 11px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 27px;
	background: linear-gradient(145deg, #e50914, #ad0710);
	box-shadow: 0 14px 35px rgba(0, 0, 0, 0.42), 0 6px 20px rgba(229, 9, 20, 0.23);
	color: #fff;
	cursor: pointer;
	transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.gp-support-chat-launcher:hover {
	transform: translateY(-2px);
	box-shadow: 0 17px 40px rgba(0, 0, 0, 0.5), 0 7px 24px rgba(229, 9, 20, 0.32);
	filter: brightness(1.05);
}

.gp-support-chat-launcher:focus-visible,
.gp-support-chat-panel button:focus-visible,
.gp-support-chat-panel input:focus-visible,
.gp-support-chat-panel textarea:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.gp-support-chat-launcher__mark {
	display: grid;
	width: 32px;
	height: 32px;
	place-items: center;
	overflow: hidden;
	border-radius: 50%;
	background: #111214;
}

.gp-support-chat-launcher__mark img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gp-support-chat-launcher__dismiss {
	position: absolute;
	top: -13px;
	right: -5px;
	z-index: 2;
	display: grid;
	width: 22px;
	height: 22px;
	place-items: center;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 50%;
	background: #202227;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
	color: #d8dbe0;
	cursor: pointer;
	transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.gp-support-chat-launcher__dismiss:hover,
.gp-support-chat-launcher__dismiss:focus-visible {
	background: var(--gp-chat-red);
	color: #fff;
	transform: scale(1.06);
}

.gp-support-chat-launcher__dismiss svg {
	width: 9px;
	height: 9px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2.5;
}

.gp-support-chat-launcher__copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	line-height: 1.05;
}

.gp-support-chat-launcher__copy strong {
	font-size: 13px;
	font-weight: 700;
}

.gp-support-chat-launcher__copy small {
	margin-top: 4px;
	color: rgba(255, 255, 255, 0.74);
	font-size: 9px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.gp-support-chat-launcher__status {
	position: absolute;
	top: 5px;
	left: 36px;
	width: 9px;
	height: 9px;
	border: 2px solid #d50a14;
	border-radius: 50%;
	background: var(--gp-chat-green);
}

.gp-support-chat-launcher__status.is-away {
	background: #f2b84b;
	border-color: #cf0913;
}

.gp-support-chat-launcher__status.is-offline {
	background: #8f949d;
}

.gp-support-chat-launcher__badge {
	position: absolute;
	top: -7px;
	right: 18px;
	display: grid;
	min-width: 22px;
	height: 22px;
	place-items: center;
	padding: 0 5px;
	border: 2px solid #111214;
	border-radius: 12px;
	background: #fff;
	color: #111214;
	font-size: 10px;
	font-weight: 800;
}

.gp-support-chat-panel {
	position: absolute;
	right: 0;
	bottom: 0;
	display: grid;
	width: 382px;
	height: min(650px, calc(100vh - 36px));
	grid-template-rows: auto minmax(0, 1fr);
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 17px;
	background: var(--gp-chat-panel);
	box-shadow: 0 28px 80px rgba(0, 0, 0, 0.58);
	color: var(--gp-chat-text);
	transform-origin: right bottom;
	animation: gp-support-chat-open 220ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes gp-support-chat-open {
	from { opacity: 0; transform: translateY(12px) scale(0.97); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

.gp-support-chat-panel__header {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 76px;
	padding: 14px 13px 13px 16px;
	background:
		radial-gradient(circle at 18% -30%, rgba(255, 255, 255, 0.24), transparent 45%),
		linear-gradient(135deg, #e50914 0%, #bd0811 64%, #97070d 100%);
	color: #fff;
}

.gp-support-chat-panel__identity {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	gap: 11px;
	min-width: 0;
}

.gp-support-chat-panel__identity > div:last-child {
	min-width: 0;
}

.gp-support-chat-panel__wordmark {
	display: flex;
	width: 82px;
	height: 42px;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	gap: 2px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 11px;
	background: rgba(16, 17, 19, 0.94);
	box-shadow: 0 7px 17px rgba(0, 0, 0, 0.24);
	font-family: "Bebas Neue", sans-serif;
	font-size: 15px;
	line-height: 1;
}

.gp-support-chat-panel__wordmark b {
	font-weight: 800;
	letter-spacing: -0.03em;
}

.gp-support-chat-panel__wordmark b:first-child {
	color: #fff;
}

.gp-support-chat-panel__wordmark b:last-child {
	color: var(--gp-chat-red-bright);
}

.gp-support-chat-panel__identity strong {
	display: block;
	overflow: hidden;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: -0.01em;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.gp-support-chat-panel__identity span {
	display: flex;
	align-items: center;
	gap: 6px;
	overflow: hidden;
	margin-top: 4px;
	color: rgba(255, 255, 255, 0.82);
	font-size: 10px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.gp-support-chat-panel__identity span::before {
	content: '';
	width: 7px;
	height: 7px;
	flex: 0 0 auto;
	border-radius: 50%;
	background: var(--gp-chat-green);
	box-shadow: 0 0 0 3px rgba(53, 210, 145, 0.17);
}

.gp-support-chat-panel__identity span.is-away::before {
	background: #f2c05a;
	box-shadow: 0 0 0 3px rgba(242, 192, 90, 0.16);
}

.gp-support-chat-panel__identity span.is-offline::before {
	background: #d4d5d8;
	box-shadow: 0 0 0 3px rgba(212, 213, 216, 0.15);
}

.gp-support-chat-panel__actions {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 4px;
}

.gp-support-chat-panel__actions button {
	display: grid;
	width: 31px;
	height: 31px;
	place-items: center;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(16, 17, 19, 0.18);
	color: #fff;
	cursor: pointer;
	transition: background 150ms ease;
}

.gp-support-chat-panel__actions button:hover {
	background: rgba(16, 17, 19, 0.4);
}

.gp-support-chat-panel__actions svg {
	width: 15px;
	height: 15px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
}

.gp-support-chat-panel__body {
	position: relative;
	min-height: 0;
	background:
		linear-gradient(rgba(24, 26, 30, 0.97), rgba(24, 26, 30, 0.97)),
		repeating-linear-gradient(135deg, transparent 0 13px, rgba(255, 255, 255, 0.025) 13px 14px);
}

.gp-support-chat-loading {
	display: flex;
	height: 100%;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 10px;
	color: var(--gp-chat-muted);
	font-size: 12px;
}

.gp-support-chat-loading::before {
	content: '';
	width: 25px;
	height: 25px;
	border: 2px solid #3b3f47;
	border-top-color: var(--gp-chat-red);
	border-radius: 50%;
	animation: gp-support-chat-spin 800ms linear infinite;
}

@keyframes gp-support-chat-spin {
	to { transform: rotate(360deg); }
}

.gp-support-chat-welcome {
	display: flex;
	height: 100%;
	flex-direction: column;
	overflow-y: auto;
	padding: 22px 21px 18px;
	scrollbar-color: #4c515b transparent;
	scrollbar-width: thin;
}

.gp-support-chat-welcome__eyebrow {
	margin: 0 0 6px;
	color: var(--gp-chat-red-bright);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.gp-support-chat-welcome h2 {
	margin: 0;
	color: #fff;
	font-family: "Bebas Neue", sans-serif;
	font-size: 31px;
	font-weight: 400;
	letter-spacing: 0.01em;
	line-height: 1.05;
}

.gp-support-chat-welcome__intro {
	margin: 8px 0 18px;
	color: #b9bec7;
	font-size: 12px;
	line-height: 1.55;
}

.gp-support-chat-member {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: -4px 0 15px;
	padding: 8px 10px;
	border: 1px solid #343840;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.025);
	color: #b9bec7;
	font-size: 10px;
}

.gp-support-chat-member strong {
	color: #fff;
}

.gp-support-chat-member em {
	padding: 3px 7px;
	border-radius: 9px;
	background: rgba(151, 158, 170, 0.12);
	color: #c5c9d0;
	font-size: 8px;
	font-style: normal;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.gp-support-chat-member em.is-premium {
	background: rgba(242, 184, 75, 0.12);
	color: #f2c76f;
}

.gp-support-chat-form {
	display: grid;
	gap: 12px;
}

.gp-support-chat-form label {
	display: grid;
	gap: 5px;
	color: #d5d8de;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.gp-support-chat-form input,
.gp-support-chat-form textarea {
	width: 100%;
	border: 1px solid var(--gp-chat-line);
	border-radius: 8px;
	outline: none;
	background: #101215;
	color: #fff;
	font-size: 13px;
	font-weight: 400;
	letter-spacing: normal;
	text-transform: none;
	transition: border-color 150ms ease, box-shadow 150ms ease;
}

.gp-support-chat-form input {
	height: 42px;
	padding: 0 12px;
}

.gp-support-chat-form textarea {
	min-height: 92px;
	max-height: 180px;
	padding: 10px 12px;
	resize: vertical;
	line-height: 1.45;
}

.gp-support-chat-form input:focus,
.gp-support-chat-form textarea:focus {
	border-color: var(--gp-chat-red);
	box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.11);
}

.gp-support-chat-form__honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.gp-support-chat-form__error {
	margin: -2px 0 0;
	padding: 8px 10px;
	border: 1px solid rgba(229, 9, 20, 0.5);
	border-radius: 6px;
	background: rgba(229, 9, 20, 0.09);
	color: #ff9ca1;
	font-size: 11px;
	line-height: 1.4;
}

.gp-support-chat-form__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	height: 43px;
	margin-top: 1px;
	border: 0;
	border-radius: 8px;
	background: linear-gradient(145deg, var(--gp-chat-red-bright), #bf0710);
	box-shadow: 0 10px 25px rgba(229, 9, 20, 0.2);
	color: #fff;
	font-weight: 800;
	cursor: pointer;
}

.gp-support-chat-form__submit:hover {
	filter: brightness(1.08);
}

.gp-support-chat-form__submit:disabled {
	opacity: 0.55;
	cursor: wait;
}

.gp-support-chat-form__submit svg {
	width: 14px;
	height: 14px;
	fill: currentColor;
}

.gp-support-chat-form__privacy {
	margin: 12px 0 0;
	color: #737985;
	font-size: 9px;
	line-height: 1.45;
	text-align: center;
}

.gp-support-chat-conversation {
	display: grid;
	height: 100%;
	grid-template-rows: minmax(0, 1fr) auto;
}

.gp-support-chat-messages {
	overflow-y: auto;
	padding: 18px 15px;
	scroll-behavior: smooth;
	scrollbar-color: #4c515b transparent;
	scrollbar-width: thin;
}

.gp-support-chat-notice {
	margin: 0 6px 15px;
	padding: 9px 10px;
	border: 1px solid #383d45;
	border-radius: 7px;
	background: rgba(34, 37, 42, 0.78);
	color: #aeb3bc;
	font-size: 10px;
	line-height: 1.45;
	text-align: center;
}

.gp-support-chat-notice.is-away {
	border-color: rgba(229, 9, 20, 0.28);
	background: rgba(229, 9, 20, 0.07);
	color: #e4b8ba;
}

.gp-support-chat-message {
	display: flex;
	align-items: flex-start;
	flex-direction: column;
	margin-bottom: 14px;
}

.gp-support-chat-message.is-visitor {
	align-items: flex-end;
}

.gp-support-chat-message__body {
	max-width: 82%;
	padding: 10px 11px;
	border: 1px solid #383d45;
	border-radius: 4px 13px 13px 13px;
	background: var(--gp-chat-panel-soft);
	color: #eef0f3;
	font-size: 12px;
	line-height: 1.5;
	white-space: pre-wrap;
	word-break: break-word;
}

.gp-support-chat-message.is-visitor .gp-support-chat-message__body {
	border-color: #b60912;
	border-radius: 13px 4px 13px 13px;
	background: linear-gradient(145deg, #dc0a15, #aa0710);
	color: #fff;
}

.gp-support-chat-message.is-system {
	align-items: center;
	margin: 3px 0 14px;
}

.gp-support-chat-message.is-system .gp-support-chat-message__body {
	max-width: 92%;
	padding: 6px 10px;
	border-color: #3b3f47;
	border-radius: 12px;
	background: #24272c;
	color: #b8bdc5;
	font-size: 10px;
	text-align: center;
}

.gp-support-chat-message.is-system .gp-support-chat-message__meta {
	display: none;
}

.gp-support-chat-message__meta {
	margin-top: 4px;
	color: #757b85;
	font-size: 9px;
}

.gp-support-chat-composer {
	padding: 11px 12px 12px;
	border-top: 1px solid var(--gp-chat-line);
	background: #17191d;
}

.gp-support-chat-composer__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 42px;
	gap: 7px;
}

.gp-support-chat-composer textarea {
	width: 100%;
	height: 42px;
	max-height: 110px;
	padding: 10px 11px;
	resize: none;
	border: 1px solid var(--gp-chat-line);
	border-radius: 9px;
	outline: none;
	background: #101215;
	color: #fff;
	font-size: 12px;
	line-height: 1.45;
}

.gp-support-chat-composer textarea:focus {
	border-color: var(--gp-chat-red);
}

.gp-support-chat-composer__row > button {
	display: grid;
	width: 42px;
	height: 42px;
	place-items: center;
	padding: 0;
	border: 0;
	border-radius: 9px;
	background: var(--gp-chat-red);
	color: #fff;
	cursor: pointer;
}

.gp-support-chat-composer__row > button:disabled {
	opacity: 0.5;
	cursor: wait;
}

.gp-support-chat-composer__row > button svg {
	width: 17px;
	height: 17px;
	fill: currentColor;
}

.gp-support-chat-composer__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-top: 7px;
	color: #707681;
	font-size: 9px;
}

.gp-support-chat-composer__end {
	display: inline;
	width: auto;
	height: auto;
	padding: 0;
	border: 0;
	background: none;
	color: #a9aeb7;
	font-size: 9px;
	text-decoration: underline;
	cursor: pointer;
}

.gp-support-chat-end-confirm {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	align-items: center;
	gap: 7px;
	margin-top: 9px;
	padding: 8px;
	border: 1px solid rgba(229, 9, 20, 0.38);
	border-radius: 8px;
	background: rgba(229, 9, 20, 0.08);
}

.gp-support-chat-end-confirm p {
	margin: 0;
	color: #e6e8eb;
	font-size: 10px;
	font-weight: 700;
}

.gp-support-chat-end-confirm button {
	height: 28px;
	padding: 0 9px;
	border: 1px solid #41464f;
	border-radius: 6px;
	background: #292c32;
	color: #e5e7ea;
	font-size: 9px;
	font-weight: 700;
	cursor: pointer;
}

.gp-support-chat-end-confirm button:last-child {
	border-color: var(--gp-chat-red);
	background: var(--gp-chat-red);
	color: #fff;
}

.gp-support-chat-end-confirm button:disabled {
	opacity: 0.55;
	cursor: wait;
}

.gp-support-chat-closed {
	display: flex;
	height: 100%;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	padding: 28px;
	text-align: center;
}

.gp-support-chat-closed__mark {
	display: grid;
	width: 48px;
	height: 48px;
	place-items: center;
	margin-bottom: 13px;
	border-radius: 50%;
	background: rgba(53, 210, 145, 0.11);
	color: var(--gp-chat-green);
	font-size: 23px;
}

.gp-support-chat-closed h2 {
	margin: 0 0 6px;
	color: #fff;
	font-size: 17px;
}

.gp-support-chat-closed p {
	margin: 0 0 16px;
	color: var(--gp-chat-muted);
	font-size: 11px;
	line-height: 1.5;
}

.gp-support-chat-closed button {
	height: 38px;
	padding: 0 15px;
	border: 0;
	border-radius: 7px;
	background: var(--gp-chat-red);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

.gp-support-chat-sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

@media (max-width: 520px) {
	.gp-support-chat-root {
		right: 10px;
		bottom: 10px;
	}

	.gp-support-chat-launcher {
		min-width: 52px;
		width: 52px;
		padding: 0 10px;
	}

	.gp-support-chat-launcher__dismiss {
		top: -12px;
		right: -8px;
	}

	.gp-support-chat-launcher__badge {
		top: 30px;
		right: -5px;
	}

	.gp-support-chat-launcher__copy {
		display: none;
	}

	.gp-support-chat-panel {
		position: fixed;
		right: 8px;
		bottom: 8px;
		left: 8px;
		width: auto;
		height: min(690px, calc(100dvh - 16px));
		max-height: calc(100vh - 16px);
		border-radius: 15px;
	}

	.gp-support-chat-end-confirm {
		grid-template-columns: 1fr 1fr;
	}

	.gp-support-chat-end-confirm p {
		grid-column: 1 / -1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gp-support-chat-panel,
	.gp-support-chat-loading::before {
		animation: none;
	}

	.gp-support-chat-launcher,
	.gp-support-chat-form input,
	.gp-support-chat-form textarea {
		transition: none;
	}
}
