/*
 * AFM Virtual Guide 1.1.5
 * Plugin-owned styles. No theme dependency.
 */

.afm-guide {
	--afm-guide-safe-bottom: 24px;
	--afm-guide-keyboard-offset: 0px;
	--afm-aura-cyan: #49eee2;
	--afm-aura-blue: #54a8ff;
	--afm-aura-violet: #956cff;
	--afm-aura-ink: #04101f;
	--afm-aura-panel: rgba(4, 13, 29, 0.94);
	position: fixed;
	right: 22px;
	bottom: var(--afm-guide-safe-bottom);
	z-index: 2147482000;
	display: grid;
	justify-items: end;
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: #f5fbff;
	opacity: 1;
	transform: none;
	transition: opacity 0.32s ease, transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
	isolation: isolate;
}

.afm-guide.is-ready {
	opacity: 1;
	transform: none;
}

.afm-guide--left {
	right: auto;
	left: 22px;
	justify-items: start;
}

.afm-guide[hidden],
.afm-guide [hidden] {
	display: none !important;
}

.afm-guide *,
.afm-guide *::before,
.afm-guide *::after {
	box-sizing: border-box;
}

.afm-guide__dock-controls {
	position: absolute;
	top: -15px;
	right: 8px;
	z-index: 5;
	display: flex;
	gap: 5px;
	opacity: 0;
	transform: translateY(4px);
	transition: opacity .2s ease, transform .2s ease;
}

.afm-guide--left .afm-guide__dock-controls,
.afm-guide--user-left .afm-guide__dock-controls {
	right: auto;
	left: 8px;
}

.afm-guide:hover .afm-guide__dock-controls,
.afm-guide:focus-within .afm-guide__dock-controls,
.afm-guide.is-dragging .afm-guide__dock-controls {
	opacity: 1;
	transform: none;
}

.afm-guide__dock-controls button,
.afm-guide__header-actions button {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border: 1px solid rgba(180,235,255,.18);
	border-radius: 10px;
	background: rgba(4,13,29,.92);
	color: #dff;
	box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 8px 22px rgba(0,0,0,.28);
	cursor: pointer;
	-webkit-backdrop-filter: blur(18px);
	backdrop-filter: blur(18px);
}

.afm-guide__dock-controls [data-afm-guide-drag-handle] {
	cursor: grab;
	touch-action: none;
}

.afm-guide.is-dragging,
.afm-guide.is-dragging * {
	user-select: none;
}

.afm-guide.is-dragging {
	transition: none !important;
}

.afm-guide.is-dragging [data-afm-guide-drag-handle] {
	cursor: grabbing;
}

.afm-guide.is-minimized .afm-guide__launcher {
	grid-template-columns: 54px;
	width: 64px;
	min-width: 64px;
	height: 64px;
	min-height: 64px;
	padding: 5px;
	border-radius: 50%;
}

.afm-guide.is-minimized .afm-guide__launcher-copy,
.afm-guide.is-minimized .afm-guide__pulse {
	display: none;
}

.afm-guide.is-minimized .afm-guide__aura {
	width: 54px;
	height: 54px;
}

.afm-guide.is-minimized .afm-guide__dock-controls button:not([data-afm-guide-minimize]) {
	display: none;
}

.afm-guide__header-actions {
	display: flex;
	align-items: center;
	gap: 6px;
}

.afm-guide__header-actions button {
	width: 36px;
	height: 36px;
}

.afm-guide__footer > div {
	display: flex;
	align-items: center;
	gap: 8px;
}

.afm-guide__footer button:disabled {
	opacity: .45;
	cursor: not-allowed;
}

.afm-guide__footer button.is-active {
	color: #4cece1;
	text-shadow: 0 0 12px rgba(76,236,225,.5);
}

.afm-guide--user-left {
	right: auto !important;
	justify-items: start;
}

.afm-guide--user-right {
	left: auto !important;
	justify-items: end;
}

.afm-guide--user-left .afm-guide__panel,
.afm-guide--user-left .afm-guide__invite {
	right: auto;
	left: 0;
}

.afm-guide--user-right .afm-guide__panel,
.afm-guide--user-right .afm-guide__invite {
	right: 0;
	left: auto;
}

.afm-guide button,
.afm-guide textarea {
	font: inherit;
}

.afm-guide__launcher {
	position: relative;
	text-decoration: none;
	display: grid;
	grid-template-columns: 58px minmax(92px, 1fr);
	align-items: center;
	gap: 10px;
	min-width: 184px;
	min-height: 70px;
	padding: 6px 18px 6px 7px;
	overflow: hidden;
	border: 1px solid rgba(184, 239, 255, 0.24);
	border-radius: 25px;
	background:
		linear-gradient(145deg, rgba(255,255,255,0.13), rgba(255,255,255,0.025)),
		radial-gradient(circle at 14% 20%, rgba(73, 238, 226, 0.18), transparent 48%),
		rgba(4, 13, 29, 0.88);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.27),
		inset 0 -14px 30px rgba(1, 8, 21, 0.36),
		0 18px 52px rgba(0, 0, 0, 0.46),
		0 0 34px rgba(73, 238, 226, 0.12);
	color: #fff;
	cursor: pointer;
	-webkit-backdrop-filter: blur(24px) saturate(155%);
	backdrop-filter: blur(24px) saturate(155%);
	transition:
		transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
		border-color 0.25s ease,
		box-shadow 0.25s ease;
}

.afm-guide__launcher::before {
	content: "";
	position: absolute;
	inset: -70% -35%;
	background: linear-gradient(105deg, transparent 42%, rgba(255,255,255,0.28) 50%, transparent 58%);
	transform: translateX(-42%) rotate(8deg);
	animation: afmg-sheen 7s ease-in-out infinite;
	pointer-events: none;
}

.afm-guide__launcher:hover,
.afm-guide__launcher:focus-visible {
	transform: translateY(-3px) scale(1.015);
	border-color: rgba(106, 245, 235, 0.46);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.32),
		0 23px 58px rgba(0, 0, 0, 0.5),
		0 0 42px rgba(73, 238, 226, 0.2);
	outline: none;
}

.afm-guide__aura {
	position: relative;
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	filter: drop-shadow(0 9px 15px rgba(0, 0, 0, 0.32));
	animation: afmg-breathe 4.8s ease-in-out infinite;
}

.afm-guide__halo,
.afm-guide__ring {
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
}

.afm-guide__halo {
	inset: 2px;
	background: radial-gradient(circle, rgba(85, 239, 230, 0.32), rgba(84, 168, 255, 0.09) 48%, transparent 70%);
	filter: blur(5px);
}

.afm-guide__ring {
	inset: 1px;
	border: 1px solid rgba(141, 238, 246, 0.46);
	box-shadow:
		inset 0 0 12px rgba(73, 238, 226, 0.14),
		0 0 16px rgba(73, 238, 226, 0.16);
	animation: afmg-orbit 10s linear infinite;
}

.afm-guide__ring::after {
	content: "";
	position: absolute;
	top: 2px;
	left: 50%;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #d9ffff;
	box-shadow: 0 0 13px #66eee5;
	transform: translateX(-50%);
}

.afm-guide__antenna {
	position: absolute;
	top: 1px;
	left: 50%;
	z-index: 3;
	width: 2px;
	height: 10px;
	border-radius: 999px;
	background: linear-gradient(#dff, #60e9df);
	transform: translateX(-50%);
}

.afm-guide__antenna::before {
	content: "";
	position: absolute;
	top: -4px;
	left: 50%;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #61f3e8;
	box-shadow: 0 0 13px #61f3e8;
	transform: translateX(-50%);
	animation: afmg-signal 2.3s ease-in-out infinite;
}

.afm-guide__body {
	position: relative;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 42px;
	height: 43px;
	border-radius: 20px 20px 16px 16px;
	background:
		linear-gradient(145deg, rgba(255,255,255,0.72), rgba(150, 247, 242, 0.82) 47%, rgba(158, 130, 255, 0.88));
	box-shadow:
		inset 0 5px 8px rgba(255,255,255,0.62),
		inset 0 -8px 13px rgba(10,40,72,0.23),
		0 6px 17px rgba(6,21,45,0.27);
}

.afm-guide__head {
	position: absolute;
	top: 5px;
	left: 4px;
	width: 34px;
	height: 28px;
	border-radius: 16px 16px 12px 12px;
	background: rgba(239,255,255,0.56);
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.72);
}

.afm-guide__core {
	position: absolute;
	bottom: 4px;
	left: 50%;
	width: 15px;
	height: 5px;
	border-radius: 999px;
	background: linear-gradient(90deg, #45e9df, #8268ff);
	box-shadow: 0 0 11px rgba(73,236,224,0.62);
	transform: translateX(-50%);
}

.afm-guide__eye {
	--afm-eye-x: 0px;
	--afm-eye-y: 0px;
	position: absolute;
	top: 9px;
	width: 5px;
	height: 7px;
	border-radius: 50%;
	background: #061328;
	box-shadow: 0 0 0 1px rgba(255,255,255,0.2);
	transform: translate(var(--afm-eye-x), var(--afm-eye-y));
	transition: transform 0.12s linear;
	animation: afmg-blink 5.7s infinite;
}

.afm-guide__eye--left { left: 7px; }
.afm-guide__eye--right { right: 7px; }

.afm-guide__smile {
	position: absolute;
	left: 50%;
	bottom: 5px;
	width: 12px;
	height: 5px;
	border-bottom: 2px solid #142240;
	border-radius: 0 0 10px 10px;
	transform: translateX(-50%);
}

.afm-guide__launcher-copy {
	position: relative;
	z-index: 2;
	display: grid;
	gap: 4px;
	min-width: 0;
	line-height: 1.08;
	text-align: left;
}

.afm-guide__launcher-copy strong {
	font-size: 15px;
	font-weight: 820;
	letter-spacing: 0.01em;
}

.afm-guide__launcher-copy small {
	color: #99cdd0;
	font-size: 11px;
	font-weight: 640;
	white-space: nowrap;
}

.afm-guide__pulse {
	position: absolute;
	top: 9px;
	right: 9px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #69f2b7;
	box-shadow: 0 0 14px #69f2b7;
}

.afm-guide.is-thinking .afm-guide__core {
	animation: afmg-thinking 0.72s ease-in-out infinite;
}

.afm-guide.is-listening .afm-guide__antenna::before {
	background: #ff7cab;
	box-shadow: 0 0 17px #ff7cab;
	animation: afmg-listen 0.72s ease-in-out infinite;
}

.afm-guide.is-speaking .afm-guide__smile {
	height: 7px;
	border: 2px solid #142240;
	border-top: 0;
	border-radius: 0 0 10px 10px;
	animation: afmg-talk 0.46s ease-in-out infinite;
}

.afm-guide.is-greeting .afm-guide__launcher {
	animation: afmg-greeting 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.afm-guide.is-alert .afm-guide__pulse {
	background: #ffcc6d;
	box-shadow: 0 0 16px #ffcc6d;
}

.afm-guide__panel {
	position: absolute;
	right: 0;
	bottom: 84px;
	display: grid;
	grid-template-rows: auto auto minmax(180px, 1fr) auto auto auto;
	width: min(410px, calc(100vw - 24px));
	height: min(660px, calc(100dvh - 130px));
	overflow: hidden;
	border: 1px solid rgba(167,233,255,0.2);
	border-radius: 31px;
	background:
		radial-gradient(circle at 8% 0, rgba(74,238,226,0.14), transparent 22rem),
		linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.014)),
		rgba(4,13,29,0.97);
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,0.18),
		0 36px 100px rgba(0,0,0,0.62),
		0 0 65px rgba(75,226,234,0.09);
	-webkit-backdrop-filter: blur(30px) saturate(150%);
	backdrop-filter: blur(30px) saturate(150%);
	animation: afmg-open 0.44s cubic-bezier(0.22,1,0.36,1);
}

.afm-guide--left .afm-guide__panel {
	right: auto;
	left: 0;
}

.afm-guide__header {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 12px;
	padding: 16px;
	border-bottom: 1px solid rgba(255,255,255,0.07);
}

.afm-guide__mini-avatar {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 15px;
	background: linear-gradient(135deg, rgba(74,238,226,0.23), rgba(143,107,255,0.26));
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.21);
}

.afm-guide__mini-avatar span {
	width: 25px;
	height: 21px;
	border-radius: 12px;
	background: #b6f9f7;
	box-shadow: inset 0 -4px 6px rgba(10,36,62,0.18);
}

.afm-guide__header strong,
.afm-guide__header small {
	display: block;
}

.afm-guide__header strong {
	font-size: 15px;
}

.afm-guide__header small {
	margin-top: 3px;
	color: #91a9bf;
	font-size: 11px;
}

.afm-guide__header small i {
	display: inline-block;
	width: 7px;
	height: 7px;
	margin-right: 6px;
	border-radius: 50%;
	background: #68f2b6;
	box-shadow: 0 0 10px #68f2b6;
}

.afm-guide__header-actions > button {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border: 1px solid rgba(255,255,255,0.09);
	border-radius: 12px;
	background: rgba(255,255,255,0.025);
	color: #fff;
	font-size: 20px;
	cursor: pointer;
}

.afm-guide__context {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 12px 13px 0;
	padding: 11px 12px;
	border: 1px solid rgba(74,238,226,0.11);
	border-radius: 14px;
	background: rgba(74,238,226,0.04);
}

.afm-guide__context > span {
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	margin-top: 5px;
	border-radius: 50%;
	background: #4cece1;
	box-shadow: 0 0 12px #4cece1;
}

.afm-guide__context strong,
.afm-guide__context small {
	display: block;
}

.afm-guide__context strong {
	font-size: 13px;
}

.afm-guide__context small {
	margin-top: 3px;
	color: #8ca4b8;
	font-size: 12px;
	line-height: 1.45;
}

.afm-guide__messages {
	display: grid;
	align-content: start;
	gap: 10px;
	overflow: auto;
	padding: 14px;
	scrollbar-width: thin;
	scrollbar-color: rgba(74,238,226,0.24) transparent;
}

.afm-guide__message {
	max-width: 89%;
	padding: 11px 13px;
	border: 1px solid rgba(255,255,255,0.07);
	border-radius: 16px;
	background: rgba(255,255,255,0.04);
	animation: afmg-message 0.28s ease;
}

.afm-guide__message.is-user {
	justify-self: end;
	background: linear-gradient(135deg, rgba(74,238,226,0.16), rgba(85,198,255,0.11));
	border-bottom-right-radius: 5px;
}

.afm-guide__message.is-assistant {
	justify-self: start;
	border-bottom-left-radius: 5px;
}

.afm-guide__message p {
	margin: 0;
	color: #dce8f2;
	font-size: 13px;
	line-height: 1.56;
	white-space: pre-wrap;
}

.afm-guide__feedback {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 9px;
	padding-top: 8px;
	border-top: 1px solid rgba(255,255,255,0.06);
}

.afm-guide__feedback span {
	margin-right: auto;
	color: #8299ad;
	font-size: 10px;
}

.afm-guide__feedback button {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: 8px;
	background: rgba(255,255,255,0.025);
	cursor: pointer;
}

.afm-guide__feedback.is-sent button {
	opacity: 0.35;
	pointer-events: none;
}

.afm-guide__quick {
	display: flex;
	gap: 7px;
	overflow-x: auto;
	padding: 0 13px 11px;
	scrollbar-width: none;
}

.afm-guide__quick::-webkit-scrollbar {
	display: none;
}

.afm-guide__quick button {
	display: flex;
	align-items: center;
	gap: 7px;
	min-width: max-content;
	min-height: 37px;
	padding: 7px 10px;
	border: 1px solid rgba(255,255,255,0.09);
	border-radius: 12px;
	background: rgba(255,255,255,0.028);
	color: #c8d8e5;
	font-size: 11px;
	font-weight: 750;
	cursor: pointer;
	transition: 0.22s ease;
}

.afm-guide__quick button:hover,
.afm-guide__quick button:focus-visible {
	border-color: rgba(74,238,226,0.26);
	background: rgba(74,238,226,0.07);
	color: #fff;
	outline: none;
}

.afm-guide__quick button span {
	color: #4cece1;
}

.afm-guide__form {
	display: grid;
	grid-template-columns: 1fr auto auto;
	gap: 7px;
	margin: 0 12px 10px;
	padding: 6px;
	border: 1px solid rgba(255,255,255,0.1);
	border-radius: 16px;
	background: rgba(1,8,18,0.67);
}

.afm-guide__form textarea {
	min-height: 42px;
	max-height: 104px;
	padding: 10px 8px;
	border: 0;
	outline: 0;
	resize: none;
	background: transparent;
	color: #fff;
	font-size: 13px;
	line-height: 1.4;
}

.afm-guide__voice,
.afm-guide__send {
	align-self: end;
	display: grid;
	place-items: center;
	width: 41px;
	height: 41px;
	border: 0;
	border-radius: 12px;
	cursor: pointer;
}

.afm-guide__voice {
	background: rgba(255,255,255,0.05);
	color: #b9e9ed;
}

.afm-guide__voice.is-listening {
	background: rgba(255,98,139,0.18);
	color: #fff;
	box-shadow: 0 0 20px rgba(255,98,139,0.27);
	animation: afmg-pulse 0.8s infinite;
}

.afm-guide__send {
	background: linear-gradient(135deg, #4cece1, #8d6bff);
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,0.42),
		0 7px 20px rgba(74,238,226,0.18);
	color: #04111c;
	font-size: 17px;
	font-weight: 900;
}

.afm-guide__form.is-busy .afm-guide__send {
	opacity: 0.42;
	pointer-events: none;
}

.afm-guide__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 9px 13px 12px;
	color: #788fa3;
	font-size: 10px;
}

.afm-guide__footer button {
	border: 0;
	background: transparent;
	color: #8fcbd0;
	font-size: 10px;
	cursor: pointer;
}

.afm-guide__footer button.is-active {
	color: #4cece1;
}

.afm-guide__invite {
	position: absolute;
	right: 0;
	bottom: 84px;
	display: grid;
	grid-template-columns: 1fr auto;
	width: min(330px, calc(100vw - 28px));
	overflow: hidden;
	border: 1px solid rgba(165,232,255,0.2);
	border-radius: 21px;
	background:
		linear-gradient(145deg, rgba(255,255,255,0.11), rgba(255,255,255,0.018)),
		rgba(5,15,31,0.96);
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,0.15),
		0 20px 60px rgba(0,0,0,0.5),
		0 0 36px rgba(74,238,226,0.09);
	-webkit-backdrop-filter: blur(23px);
	backdrop-filter: blur(23px);
	animation: afmg-invite 0.5s cubic-bezier(0.22,1,0.36,1);
}

.afm-guide--left .afm-guide__invite {
	right: auto;
	left: 0;
}

.afm-guide__invite > button:first-child {
	display: grid;
	gap: 4px;
	padding: 14px 15px;
	border: 0;
	background: transparent;
	color: #fff;
	text-align: left;
	cursor: pointer;
}

.afm-guide__invite strong {
	color: #4cece1;
	font-size: 13px;
}

.afm-guide__invite span {
	color: #bdccd8;
	font-size: 12px;
	line-height: 1.45;
}

.afm-guide__invite > button:last-child {
	width: 40px;
	border: 0;
	border-left: 1px solid rgba(255,255,255,0.07);
	background: transparent;
	color: #9cb0c2;
	cursor: pointer;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0,0,0,0);
	white-space: nowrap;
	border: 0;
}

@keyframes afmg-breathe {
	0%, 100% { transform: translateY(0) scale(1); }
	50% { transform: translateY(-3px) scale(1.045); }
}

@keyframes afmg-blink {
	0%, 44%, 48%, 100% { scale: 1 1; }
	46% { scale: 1 0.08; }
}

@keyframes afmg-orbit {
	to { transform: rotate(1turn); }
}

@keyframes afmg-signal {
	50% { transform: translateX(-50%) scale(0.72); opacity: 0.5; }
}

@keyframes afmg-thinking {
	50% { width: 25px; filter: hue-rotate(42deg); }
}

@keyframes afmg-listen {
	50% { transform: translateX(-50%) scale(1.45); }
}

@keyframes afmg-talk {
	50% { height: 3px; }
}

@keyframes afmg-greeting {
	0% { transform: translateY(0) rotate(0); }
	40% { transform: translateY(-8px) rotate(-2deg); }
	75% { transform: translateY(-2px) rotate(1deg); }
	100% { transform: none; }
}

@keyframes afmg-open {
	from { opacity: 0; transform: translateY(16px) scale(0.94); }
	to { opacity: 1; transform: none; }
}

@keyframes afmg-message {
	from { opacity: 0; transform: translateY(7px); }
	to { opacity: 1; transform: none; }
}

@keyframes afmg-pulse {
	50% { opacity: 0.42; transform: scale(0.86); }
}

@keyframes afmg-invite {
	from { opacity: 0; transform: translateY(10px) scale(0.96); }
	to { opacity: 1; transform: none; }
}

@keyframes afmg-sheen {
	0%, 74% { transform: translateX(-55%) rotate(8deg); opacity: 0; }
	80% { opacity: 0.65; }
	92% { transform: translateX(55%) rotate(8deg); opacity: 0; }
	100% { opacity: 0; }
}

@media (max-width: 600px) {
	.afm-guide__dock-controls {
		top: -12px;
		opacity: 1;
		transform: none;
	}

	.afm-guide__dock-controls button {
		width: 28px;
		height: 28px;
	}

	.afm-guide {
		right: auto;
		left: 12px;
		bottom: var(--afm-guide-safe-bottom, max(var(--afm-guide-mobile-bottom), calc(env(safe-area-inset-bottom) + 88px)));
		justify-items: start;
	}

	.afm-guide.afm-guide--mobile-right,
	.afm-guide--mobile-right {
		right: 12px;
		left: auto;
		justify-items: end;
	}

	.afm-guide.afm-guide--mobile-left,
	.afm-guide--mobile-left {
		right: auto;
		left: 12px;
		justify-items: start;
	}

	.afm-guide__launcher {
		grid-template-columns: 54px minmax(90px, 1fr);
		min-width: 172px;
		min-height: 64px;
		padding: 5px 14px 5px 5px;
		border-radius: 23px;
	}

	.afm-guide__aura {
		width: 53px;
		height: 53px;
	}

	.afm-guide__launcher-copy strong {
		font-size: 14px;
	}

	.afm-guide__launcher-copy small {
		font-size: 10px;
	}

	.afm-guide__panel {
		position: fixed;
		inset:
			max(12px, env(safe-area-inset-top))
			12px
			calc(88px + env(safe-area-inset-bottom))
			12px;
		width: auto;
		height: auto;
		border-radius: 26px;
	}

	.afm-guide__invite {
		position: fixed;
		right: 12px;
		bottom: calc(var(--afm-guide-safe-bottom) + 75px);
		left: 12px;
		width: auto;
	}

	.afm-guide__pulse {
		right: 8px;
	}
}

@media (max-width: 380px) {
	.afm-guide__launcher {
		min-width: 158px;
		grid-template-columns: 50px minmax(78px, 1fr);
	}

	.afm-guide__launcher-copy small {
		white-space: normal;
		line-height: 1.15;
	}
}

@media (prefers-reduced-motion: reduce) {
	.afm-guide,
	.afm-guide *,
	.afm-guide *::before,
	.afm-guide *::after {
		animation: none !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

@media (forced-colors: active) {
	.afm-guide__launcher,
	.afm-guide__panel,
	.afm-guide__form,
	.afm-guide__message,
	.afm-guide__invite {
		border: 1px solid CanvasText;
		background: Canvas;
		color: CanvasText;
	}

	.afm-guide__send {
		background: ButtonFace;
		color: ButtonText;
	}
}

@media print {
	.afm-guide {
		display: none !important;
	}
}

@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
	.afm-guide__launcher,
	.afm-guide__panel,
	.afm-guide__invite {
		background: #071326;
	}
}
