.bluegam-ai {
	--bg-ai-blue: #0679db;
	--bg-ai-blue-dark: #064f9f;
	--bg-ai-navy: #082a55;
	--bg-ai-line: #d8e8f7;
	position: fixed;
	inset-inline-start: 20px;
	bottom: 22px;
	z-index: 9998;
	font-family: inherit;
}

.bluegam-ai [hidden] { display: none !important; }

.bluegam-ai__launcher {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 46px;
	padding: 5px 13px 5px 6px;
	border: 1px solid #6fb7ea;
	border-radius: 999px;
	background: linear-gradient(145deg, #fffefa, #f5faff);
	box-shadow: 0 8px 24px rgb(23 126 203 / 16%), 0 0 0 4px rgb(66 164 229 / 8%);
	color: #075ca8;
	font: inherit;
	font-size: 12px;
	font-weight: 750;
	cursor: pointer;
	transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}

.bluegam-ai__launcher:hover {
	border-color: #258ed8;
	background: #fff;
	box-shadow: 0 10px 28px rgb(23 126 203 / 20%), 0 0 0 5px rgb(66 164 229 / 10%);
}

.bluegam-ai--open .bluegam-ai__launcher { visibility: hidden; opacity: 0; transform: scale(.9); pointer-events: none; }

.bluegam-ai__launcher-avatar {
	display: grid;
	place-items: center;
	inline-size: 34px;
	block-size: 34px;
	overflow: hidden;
	border: 1px solid #b7daf3;
	border-radius: 50%;
	background: #f1f9ff;
}

.bluegam-ai__avatar { display: block; object-fit: contain; }
.bluegam-ai__avatar--launcher { inline-size: 34px; block-size: 34px; }
.bluegam-ai__avatar--header { inline-size: 54px; block-size: 54px; flex: 0 0 54px; }
.bluegam-ai__avatar--fallback { display: grid; place-items: center; color: #fff; font-weight: 800; }

.bluegam-ai__panel {
	position: absolute;
	inset-inline-start: 0;
	bottom: calc(100% + 12px);
	display: flex;
	flex-direction: column;
	inline-size: min(600px, calc(100vw - 40px));
	block-size: min(920px, calc(100vh - 110px));
	max-block-size: calc(100vh - 110px);
	overflow: hidden;
	border: 1px solid rgb(188 215 239 / 80%);
	border-radius: 26px;
	background: #fff;
	box-shadow: 0 28px 80px rgb(7 38 77 / 28%);
	color: var(--bg-ai-navy);
}

.bluegam-ai__header {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 16px 14px;
	background: radial-gradient(circle at 12% 8%, rgb(44 193 255 / 42%), transparent 34%), linear-gradient(135deg, #07366f, #076fc9);
	color: #fff;
}

.bluegam-ai__identity { display: flex; align-items: center; gap: 11px; min-inline-size: 0; }
.bluegam-ai__identity-copy { display: grid; gap: 4px; min-inline-size: 0; }
.bluegam-ai__identity-copy strong { font-size: 17px; letter-spacing: .1px; }
.bluegam-ai__identity-copy small { display: flex; align-items: center; gap: 6px; color: #dcefff; font-size: 11px; line-height: 1.4; }
.bluegam-ai__identity-copy i { inline-size: 8px; block-size: 8px; flex: 0 0 8px; border-radius: 50%; background: #39e897; box-shadow: 0 0 0 4px rgb(57 232 151 / 14%); }
.bluegam-ai__header .bluegam-ai__avatar { border: 2px solid rgb(255 255 255 / 70%); border-radius: 18px; background: #eaf7ff; }

.bluegam-ai__header-actions {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 6px;
}

.bluegam-ai__new-chat {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	min-block-size: 44px;
	padding: 0 10px;
	border: 1px solid rgb(255 255 255 / 24%);
	border-radius: 14px;
	background: rgb(255 255 255 / 10%);
	color: #fff;
	font: inherit;
	font-size: 11px;
	font-weight: 750;
	cursor: pointer;
}

.bluegam-ai__new-chat > span:first-child { font-size: 18px; line-height: 1; }
.bluegam-ai__new-chat:hover,
.bluegam-ai__close:hover { background: rgb(255 255 255 / 18%); }

.bluegam-ai__close {
	inline-size: 44px;
	block-size: 44px;
	border: 1px solid rgb(255 255 255 / 24%);
	border-radius: 14px;
	background: rgb(255 255 255 / 10%);
	color: #fff;
	font: 27px/1 inherit;
	cursor: pointer;
}

.bluegam-ai__messages {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	gap: 12px;
	min-block-size: 0;
	overflow-y: auto;
	padding: 17px;
	background: radial-gradient(circle at 90% 0, rgb(31 169 238 / 8%), transparent 30%), linear-gradient(180deg, #f7fbff, #fbfdff);
	scrollbar-width: thin;
	scrollbar-color: #9cc7e9 transparent;
}

.bluegam-ai__message {
	max-inline-size: 91%;
	padding: 11px 13px;
	border: 1px solid var(--bg-ai-line);
	border-radius: 18px 18px 6px 18px;
	background: #fff;
	box-shadow: 0 6px 18px rgb(17 76 132 / 7%);
	font-size: 13.5px;
	line-height: 1.75;
	white-space: pre-wrap;
}

.bluegam-ai__message p { margin: 0; overflow-wrap: anywhere; unicode-bidi: plaintext; }
.bluegam-ai__message-author { display: flex; align-items: center; gap: 7px; margin-block-end: 6px; color: #075aaf; font-size: 12px; }
.bluegam-ai__message-avatar { inline-size: 23px; block-size: 23px; border-radius: 8px; object-fit: cover; background: #e8f5ff; }

.bluegam-ai__message--user {
	align-self: flex-end;
	border-color: #0868c7;
	border-radius: 18px 18px 18px 6px;
	background: linear-gradient(135deg, #087fd9, #0757b7);
	box-shadow: 0 8px 20px rgb(5 89 176 / 18%);
	color: #fff;
}

.bluegam-ai__message--status {
	display: flex;
	align-items: center;
	gap: 9px;
	min-block-size: 42px;
	border-style: dashed;
	color: #526d8a;
	font-size: 12px;
	box-shadow: none;
}
.bluegam-ai__message--status::before {
	inline-size: 9px;
	block-size: 9px;
	flex: 0 0 9px;
	border-radius: 50%;
	background: #0784dc;
	box-shadow: 0 0 0 0 rgb(7 132 220 / 30%);
	content: "";
	animation: bluegam-teny-thinking 1.35s ease-out infinite;
}
.bluegam-ai__message--error { border-color: #efb6b6; background: #fff6f6; color: #8b1e1e; }
.bluegam-ai__sources { margin: 9px 0 0; padding-inline-start: 18px; font-size: 11.5px; }
.bluegam-ai__sources a,
.bluegam-ai__sources a { color: #064f9f; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }

.bluegam-ai__product-cards {
	display: grid;
	gap: 8px;
	margin-block-start: 11px;
}

.bluegam-ai__product-card {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 10px;
	padding: 9px;
	border: 1px solid #c9e1f3;
	border-radius: 14px;
	background: linear-gradient(145deg, #fff 0%, #f5faff 100%);
	box-shadow: 0 6px 18px rgb(7 82 147 / 8%);
}

.bluegam-ai__product-card-media {
	display: grid;
	place-items: center;
	min-block-size: 82px;
	overflow: hidden;
	border: 1px solid #dfebf5;
	border-radius: 11px;
	background: #fff;
}

.bluegam-ai__product-card-media img {
	display: block;
	inline-size: 100%;
	block-size: 82px;
	object-fit: contain;
}

.bluegam-ai__product-card-content { display: grid; align-content: start; gap: 6px; min-inline-size: 0; }
.bluegam-ai__product-card-title {
	display: -webkit-box;
	overflow: hidden;
	color: #0b315a;
	font-size: 12px;
	font-weight: 850;
	line-height: 1.45;
	text-decoration: none;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}
.bluegam-ai__product-card-title:hover { color: #0879cf; text-decoration: underline; text-underline-offset: 3px; }
.bluegam-ai__product-card-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 10.5px; line-height: 1.35; }
.bluegam-ai__product-card-facts strong { color: #075a9f; font-size: 12px; }
.bluegam-ai__product-card-facts span { color: #58718a; }
.bluegam-ai__product-card-facts span::before { content: "•"; margin-inline-end: 5px; color: #29a3e8; }
.bluegam-ai__product-card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-block-start: 1px; }
.bluegam-ai__product-card-actions a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-block-size: 44px;
	padding: 7px 8px;
	border: 1px solid #83bce6;
	border-radius: 10px;
	background: #fff;
	color: #075a9f;
	font-size: 10.5px;
	font-weight: 800;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
}
.bluegam-ai__product-card-actions a:hover { border-color: #0879cf; background: #edf8ff; }
.bluegam-ai__product-card-actions .bluegam-ai__product-card-buy { border-color: #0879cf; background: #0879cf; color: #fff; }
.bluegam-ai__product-card-actions .bluegam-ai__product-card-buy:hover { background: #0568b4; color: #fff; }

.bluegam-ai__checkout-recommendation {
	display: grid;
	gap: 5px;
	margin-block-start: 11px;
	padding: 11px;
	border: 1px solid #79bde9;
	border-radius: 14px;
	background: linear-gradient(145deg, #fff 0%, #f0f9ff 100%);
	box-shadow: 0 7px 20px rgb(0 116 198 / 10%);
}
.bluegam-ai__checkout-title { color: #073f75; font-size: 13px; line-height: 1.45; }
.bluegam-ai__checkout-package { color: #244f73; font-size: 11.5px; line-height: 1.55; }
.bluegam-ai__checkout-price { color: #0876c7; font-size: 13px; }
.bluegam-ai__checkout-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-block-size: 44px;
	margin-block-start: 3px;
	padding: 8px 14px;
	border: 1px solid #0879cf;
	border-radius: 11px;
	background: linear-gradient(135deg, #078fe7, #096dc3);
	color: #fff;
	font-size: 12px;
	font-weight: 850;
	text-align: center;
	text-decoration: none;
}
.bluegam-ai__checkout-action:hover,
.bluegam-ai__checkout-action:focus-visible { border-color: #045b9f; background: #045faa; color: #fff; }
.bluegam-ai__fallback-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-block-start: 10px; }
.bluegam-ai__fallback-actions a { min-block-size: 40px; display: inline-flex; align-items: center; padding: 7px 11px; border: 1px solid #9fc9eb; border-radius: 11px; background: #f4faff; color: #064f9f; font-size: 11.5px; font-weight: 800; text-decoration: none; }
.bluegam-ai__fallback-actions a:hover { border-color: #328ed2; background: #eaf6ff; }

.bluegam-ai__handoff-card {
	display: grid;
	gap: 8px;
	margin-block-start: 11px;
	padding: 10px;
	border: 1px solid #b9daf2;
	border-radius: 13px;
	background: #f4faff;
	color: #294d70;
	font-size: 11.5px;
	line-height: 1.6;
}

.bluegam-ai__handoff-card button {
	min-block-size: 44px;
	padding: 8px 12px;
	border-radius: 11px;
	font: inherit;
	font-weight: 800;
	cursor: pointer;
}

.bluegam-ai__handoff-prepare,
.bluegam-ai__handoff-approve {
	border: 1px solid #08765d;
	background: #08765d;
	color: #fff;
}

.bluegam-ai__handoff-consent { display: grid; grid-template-columns: 1fr auto; gap: 7px; }
.bluegam-ai__handoff-consent[hidden] { display: none; }
.bluegam-ai__handoff-consent p { grid-column: 1 / -1; }
.bluegam-ai__handoff-cancel { border: 1px solid #bed4e6; background: #fff; color: #234e77; }
.bluegam-ai__handoff-card button:hover { filter: brightness(.96); }

.bluegam-ai__feedback {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 9px;
	margin-block-start: 10px;
	padding-block-start: 9px;
	border-block-start: 1px solid #e5eef7;
	color: #60758a;
	font-size: 10.5px;
	line-height: 1.4;
}

.bluegam-ai__feedback-controls { display: flex; gap: 4px; }

.bluegam-ai__feedback-vote,
.bluegam-ai__feedback-reasons button {
	display: inline-grid;
	place-items: center;
	min-inline-size: 40px;
	min-block-size: 40px;
	padding: 6px 9px;
	border: 1px solid #cbdfee;
	border-radius: 11px;
	background: #f8fbfe;
	color: #173f67;
	font: inherit;
	cursor: pointer;
}

.bluegam-ai__feedback-vote { font-size: 17px; }
.bluegam-ai__feedback-vote:hover,
.bluegam-ai__feedback-reasons button:hover { border-color: #4b9bd8; background: #edf7ff; }
.bluegam-ai__feedback-reasons { display: flex; flex: 1 0 100%; flex-wrap: wrap; gap: 5px; }
.bluegam-ai__feedback-reasons[hidden] { display: none; }
.bluegam-ai__feedback-reasons button { min-block-size: 40px; font-size: 10.5px; }
.bluegam-ai__feedback--sending { opacity: .68; }
.bluegam-ai__feedback--done { color: #177044; font-weight: 750; }
.bluegam-ai__feedback button:disabled { cursor: wait; }
.bluegam-ai__feedback--review { display: grid; gap: 9px; color: #31536f; }
.bluegam-ai__feedback--review p { flex: 1 0 100%; margin: 0; font-size: 11px; line-height: 1.7; }
.bluegam-ai__review-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.bluegam-ai__review-actions button {
	min-block-size: 40px;
	padding: 7px 11px;
	border: 1px solid #a9cce7;
	border-radius: 11px;
	background: #fff;
	color: #0a4c8d;
	font: inherit;
	font-size: 10.5px;
	font-weight: 750;
	cursor: pointer;
}
.bluegam-ai__review-actions .bluegam-ai__review-approve { border-color: #1178c7; background: #1178c7; color: #fff; }
.bluegam-ai__review-actions button:hover { box-shadow: 0 4px 12px rgb(17 120 199 / 15%); }

.bluegam-ai__suggestions { display: grid; gap: 8px; margin-block-start: 2px; }
.bluegam-ai__suggestions > span { color: #607a94; font-size: 11px; font-weight: 750; }
.bluegam-ai__suggestions > div { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.bluegam-ai__suggestions button {
	min-block-size: 44px;
	padding: 8px 10px;
	border: 1px solid #c9e0f4;
	border-radius: 13px;
	background: rgb(255 255 255 / 90%);
	color: #0a4c8d;
	font: inherit;
	font-size: 11.5px;
	font-weight: 700;
	line-height: 1.45;
	text-align: start;
	cursor: pointer;
	transition: transform .16s ease, border-color .16s ease, background-color .16s ease;
}
.bluegam-ai__suggestions button:hover { transform: translateY(-1px); border-color: #68afe7; background: #f1f9ff; }

.bluegam-ai__form {
	display: grid;
	flex: 0 0 auto;
	grid-template-columns: 38px minmax(0, 1fr) 38px;
	grid-template-rows: auto minmax(36px, auto) 38px;
	align-items: end;
	gap: 4px 8px;
	margin: 12px 13px 7px;
	padding: 11px 11px 10px;
	border: 1px solid #c8dce9;
	border-radius: 24px;
	background: #f8fbfd;
	box-shadow: 0 6px 20px rgb(7 72 128 / 7%), inset 0 1px 0 rgb(255 255 255 / 90%);
	transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.bluegam-ai__form--audio { grid-template-columns: 38px 38px minmax(0, 1fr) 38px; }

.bluegam-ai__image-preview {
	position: relative;
	display: grid;
	grid-column: 1 / -1;
	grid-row: 1;
	grid-template-columns: 56px minmax(0, 1fr) 34px;
	align-items: center;
	gap: 9px;
	min-inline-size: 0;
	padding: 7px;
	border: 1px solid #cfe3f2;
	border-radius: 15px;
	background: rgb(255 255 255 / 82%);
}
.bluegam-ai__image-preview[hidden] { display: none; }
.bluegam-ai__image-preview img { inline-size: 56px; block-size: 56px; border-radius: 11px; object-fit: cover; background: #eaf3fa; }
.bluegam-ai__image-preview div { min-inline-size: 0; }
.bluegam-ai__image-preview strong,
.bluegam-ai__image-preview small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bluegam-ai__image-preview strong { color: var(--bg-ai-navy); font-size: 11.5px; }
.bluegam-ai__image-preview small { margin-block-start: 2px; color: #6d8091; font-size: 9.5px; }
.bluegam-ai__image-preview .bluegam-ai__image-remove {
	display: grid;
	place-items: center;
	inline-size: 32px;
	block-size: 32px;
	padding: 0;
	border: 1px solid #d3e2ec;
	border-radius: 50%;
	background: #f4f8fb;
	box-shadow: none;
	color: #45637c;
	font: 20px/1 inherit;
	cursor: pointer;
}
.bluegam-ai__image-preview .bluegam-ai__image-remove:hover { border-color: #83bae1; background: #eaf6ff; }

.bluegam-ai__form:focus-within {
	border-color: #0798ed;
	background: linear-gradient(145deg, #f3fbff, #e9f7ff);
	box-shadow: 0 0 0 3px rgb(7 152 237 / 14%), 0 0 24px rgb(7 152 237 / 18%), inset 0 0 0 1px rgb(7 152 237 / 68%), inset 0 1px 0 #fff;
}

.bluegam-ai__form textarea {
	grid-column: 1 / -1;
	grid-row: 2;
	inline-size: 100%;
	min-block-size: 36px;
	max-block-size: 112px;
	resize: none;
	overflow-y: auto;
	padding: 5px 7px;
	border: 0;
	border-radius: 0;
	outline: 0;
	appearance: none;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--bg-ai-navy);
	caret-color: #078fe7;
	font: inherit;
	font-size: 14px;
	line-height: 1.55;
}
.bluegam-ai__form textarea::placeholder { color: #7a8998; opacity: 1; }
.bluegam-ai__form textarea:focus,
.bluegam-ai__form textarea:focus-visible,
.bluegam-ai__form textarea:hover,
.bluegam-ai__form textarea:invalid { border: 0; outline: 0; background: transparent !important; box-shadow: none !important; }
.bluegam-ai__submit {
	display: grid;
	grid-column: 3;
	grid-row: 3;
	justify-self: end;
	place-items: center;
	inline-size: 38px;
	block-size: 38px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: linear-gradient(135deg, #0797e9, #0757ba);
	box-shadow: 0 7px 17px rgb(6 91 180 / 20%);
	color: #fff;
	font: 750 17px/1 inherit;
	cursor: pointer;
	transition: transform .16s ease, background-color .16s ease, box-shadow .16s ease;
}
.bluegam-ai__form--audio .bluegam-ai__submit { grid-column: 4; }
.bluegam-ai__submit:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 9px 20px rgb(6 91 180 / 27%); }
.bluegam-ai__submit:focus-visible { outline: 0; }
.bluegam-ai__submit:disabled { background: #dce5ec; box-shadow: none; color: #8594a1; cursor: wait; }
.bluegam-ai__attach {
	display: grid;
	grid-column: 1;
	grid-row: 3;
	place-items: center;
	inline-size: 38px;
	block-size: 38px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	box-shadow: none;
	color: #56748e;
	cursor: pointer;
	transition: color .16s ease, background-color .16s ease, transform .16s ease;
}
.bluegam-ai__attach:hover:not(:disabled) { transform: translateY(-1px); background: #e4f3fd; color: #087dcc; }
.bluegam-ai__attach:disabled { color: #a5b1bb; cursor: wait; }
.bluegam-ai__mic {
	display: grid;
	grid-column: 2;
	grid-row: 3;
	place-items: center;
	inline-size: 38px;
	block-size: 38px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	box-shadow: none;
	color: #56748e;
	cursor: pointer;
	transition: color .16s ease, background-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.bluegam-ai__mic:hover:not(:disabled) { transform: translateY(-1px); background: #e4f3fd; color: #087dcc; }
.bluegam-ai__mic:disabled { color: #a5b1bb; cursor: wait; }
.bluegam-ai__mic-stop { display: none; inline-size: 12px; block-size: 12px; border-radius: 3px; background: currentColor; }
.bluegam-ai__form--recording { border-color: #0a8fe4; background: linear-gradient(145deg, #f3fbff, #e7f6ff); box-shadow: 0 0 0 3px rgb(7 152 237 / 14%), 0 0 24px rgb(7 152 237 / 20%), inset 0 0 0 1px rgb(7 152 237 / 58%); }
.bluegam-ai__form--recording .bluegam-ai__mic { background: #e6f5ff; box-shadow: 0 0 0 5px rgb(7 152 237 / 10%); color: #087dcc; animation: bluegam-ai-recording-pulse 1.2s ease-in-out infinite; }
.bluegam-ai__form--recording .bluegam-ai__mic-icon { display: none; }
.bluegam-ai__form--recording .bluegam-ai__mic-stop { display: block; }
.bluegam-ai__form--audio .bluegam-ai__image-error { grid-column: 3; }
.bluegam-ai__form--recording .bluegam-ai__image-error { color: #086fae; font-weight: 700; }
@keyframes bluegam-ai-recording-pulse { 0%, 100% { box-shadow: 0 0 0 3px rgb(7 152 237 / 10%); } 50% { box-shadow: 0 0 0 8px rgb(7 152 237 / 4%); } }
.bluegam-ai__image-error {
	grid-column: 2;
	grid-row: 3;
	align-self: center;
	min-inline-size: 0;
	color: #a53a3a;
	font-size: 9.5px;
	line-height: 1.35;
}
.bluegam-ai__message-image { display: block; inline-size: min(220px, 100%); max-block-size: 220px; margin-block-end: 7px; border-radius: 13px; object-fit: cover; background: #eaf3fa; }
.bluegam-ai__privacy { flex: 0 0 auto; margin: 0 14px 10px; color: #6f8194; font-size: 9.5px; line-height: 1.5; }

.bluegam-ai__nudge {
	position: absolute;
	inset-inline-start: 0;
	bottom: calc(100% + 12px);
	display: grid;
	grid-template-columns: 92px 1fr;
	align-items: center;
	gap: 10px;
	inline-size: min(360px, calc(100vw - 28px));
	padding: 12px 14px 12px 8px;
	border: 1px solid #b9d9f2;
	border-radius: 22px;
	background: linear-gradient(145deg, #fff, #eef8ff);
	box-shadow: 0 22px 60px rgb(7 49 95 / 24%);
	color: var(--bg-ai-navy);
	animation: bluegam-teny-enter .35s ease-out both;
}
.bluegam-ai__nudge-image { inline-size: 92px; block-size: 92px; object-fit: contain; }
.bluegam-ai__nudge > div { min-inline-size: 0; }
.bluegam-ai__nudge strong { display: block; padding-inline-end: 22px; font-size: 14px; }
.bluegam-ai__nudge p { margin: 4px 0 9px; color: #506b86; font-size: 11.5px; line-height: 1.55; }
.bluegam-ai__nudge [data-bluegam-ai-nudge-open] { min-block-size: 40px; padding: 7px 14px; border: 0; border-radius: 12px; background: #086bc8; color: #fff; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.bluegam-ai__nudge-close { position: absolute; inset-block-start: 7px; inset-inline-end: 7px; inline-size: 36px; block-size: 36px; border: 0; border-radius: 50%; background: transparent; color: #48647f; font: 22px/1 inherit; cursor: pointer; }

.bluegam-ai button:focus-visible,
.bluegam-ai a:focus-visible { outline: 3px solid #2aa7f0; outline-offset: 2px; }

@keyframes bluegam-teny-enter {
	from { opacity: 0; transform: translateY(10px) scale(.98); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes bluegam-teny-thinking {
	0% { box-shadow: 0 0 0 0 rgb(7 132 220 / 32%); opacity: .72; }
	55% { box-shadow: 0 0 0 7px rgb(7 132 220 / 0%); opacity: 1; }
	100% { box-shadow: 0 0 0 0 rgb(7 132 220 / 0%); opacity: .72; }
}

@media (max-width: 782px) {
	html.has-bluegam-ai-open { overflow: hidden; overscroll-behavior: none; }
	.bluegam-ai { inset-inline: 12px auto; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
	.bluegam-ai__launcher span:last-child { display: none; }
	.bluegam-ai__launcher { inline-size: 48px; block-size: 48px; min-block-size: 48px; justify-content: center; padding: 0; }
	.bluegam-ai__panel {
		position: fixed;
		inset-inline: 12px;
		inset-block-start: auto;
		bottom: calc(86px + env(safe-area-inset-bottom, 0px));
		inline-size: auto;
		block-size: min(70vh, 620px);
		max-block-size: calc(100vh - 112px - env(safe-area-inset-bottom, 0px));
		block-size: min(70dvh, 620px);
		max-block-size: calc(100dvh - 112px - env(safe-area-inset-bottom, 0px));
		border-radius: 20px;
		box-shadow: 0 18px 56px rgb(7 38 77 / 26%), 0 0 0 1px rgb(255 255 255 / 72%);
		overscroll-behavior: contain;
	}
	.bluegam-ai__new-chat { inline-size: 44px; padding: 0; }
	.bluegam-ai__new-chat > span:last-child { display: none; }
	.bluegam-ai__header { padding: 11px 12px; }
	.bluegam-ai__avatar--header { inline-size: 44px; block-size: 44px; flex-basis: 44px; }
	.bluegam-ai__identity-copy strong { font-size: 15px; }
	.bluegam-ai__identity-copy small { font-size: 10px; }
	.bluegam-ai__messages { padding: 13px; overscroll-behavior: contain; }
	.bluegam-ai__suggestions > div { grid-template-columns: 1fr; }
	.bluegam-ai__form { margin: 9px 10px 6px; padding: 9px 9px 8px; border-radius: 22px; }
	.bluegam-ai__privacy { margin: 0 11px 8px; }
	.bluegam-ai__nudge { inline-size: calc(100vw - 20px); grid-template-columns: 82px 1fr; padding-inline-start: 5px; }
	.bluegam-ai__nudge-image { inline-size: 82px; block-size: 82px; }
}

@media (max-width: 782px) and (max-height: 560px) {
	.bluegam-ai__panel {
		bottom: calc(12px + env(safe-area-inset-bottom, 0px));
		block-size: calc(100vh - 24px - env(safe-area-inset-bottom, 0px));
		max-block-size: calc(100vh - 24px - env(safe-area-inset-bottom, 0px));
		block-size: calc(100dvh - 24px - env(safe-area-inset-bottom, 0px));
		max-block-size: calc(100dvh - 24px - env(safe-area-inset-bottom, 0px));
	}
}

@media (prefers-reduced-motion: reduce) {
	.bluegam-ai *, .bluegam-ai *::before, .bluegam-ai *::after { scroll-behavior: auto; transition: none; animation: none; }
}
