.fcb { --fcb-c1: #2563EB; --fcb-c2: #1E3A8A; --fcb-offset: 20px; --fcb-ease: cubic-bezier(.2, .9, .3, 1.25);
	position: fixed; z-index: 99990; bottom: calc(var(--fcb-offset) + env(safe-area-inset-bottom, 0px)); right: 16px;
	font-family: inherit; direction: rtl; -webkit-tap-highlight-color: transparent; }
.fcb.fcb-left { right: auto; left: 16px; }
.fcb *, .fcb *::before, .fcb *::after { box-sizing: border-box; }
@media (min-width: 1025px) { .fcb.fcb-mobile { display: none; } }

/* backdrop */
.fcb-backdrop { position: fixed; inset: 0; background: rgba(11, 20, 40, .28); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
	opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.fcb.is-open .fcb-backdrop { opacity: 1; visibility: visible; }

/* main button */
.fcb-btn { position: relative; display: grid; place-items: center; width: 60px; height: 60px; padding: 0; margin: 0; border: 0;
	border-radius: 22px 22px 6px 22px; cursor: pointer; color: #fff;
	background: linear-gradient(135deg, var(--fcb-c1), var(--fcb-c2)); box-shadow: 0 10px 24px -6px color-mix(in srgb, var(--fcb-c1) 70%, transparent), 0 2px 6px rgba(0,0,0,.15);
	transform: scale(0); animation: fcb-in .55s var(--fcb-ease) .3s forwards; transition: border-radius .35s var(--fcb-ease), box-shadow .2s; }
.fcb-left .fcb-btn { border-radius: 22px 22px 22px 6px; }
.fcb.is-open .fcb-btn { border-radius: 50%; }
.fcb-btn:hover, .fcb-btn:focus { color: #fff; background: linear-gradient(135deg, var(--fcb-c1), var(--fcb-c2)); }
.fcb-btn:active { transform: scale(.92); transition: transform .1s; }
.fcb-btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 6px var(--fcb-c1); }
.fcb-btn svg { position: absolute; width: 28px; height: 28px; transition: transform .4s var(--fcb-ease), opacity .25s; }
.fcb-ic-close { opacity: 0; transform: rotate(-90deg) scale(.5); }
.fcb.is-open .fcb-ic-open { opacity: 0; transform: rotate(90deg) scale(.5); }
.fcb.is-open .fcb-ic-close { opacity: 1; transform: none; }
@keyframes fcb-in { to { transform: scale(1); } }

/* attention: ripple + wiggle */
.fcb-ring { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }
.fcb.is-calling .fcb-ring::before, .fcb.is-calling .fcb-ring::after {
	content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--fcb-c1); animation: fcb-ripple 2.4s ease-out infinite; }
.fcb.is-calling .fcb-ring::after { animation-delay: 1.2s; }
.fcb.is-calling .fcb-ic-open { animation: fcb-wiggle 4s ease-in-out infinite; }
.fcb.is-open .fcb-ring::before, .fcb.is-open .fcb-ring::after, .fcb.is-open .fcb-ic-open { animation: none; }
@keyframes fcb-ripple { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes fcb-wiggle { 0%, 80%, 100% { transform: rotate(0); } 84% { transform: rotate(-14deg) scale(1.08); } 88% { transform: rotate(12deg) scale(1.08); } 92% { transform: rotate(-8deg); } 96% { transform: rotate(4deg); } }

/* panel */
.fcb-panel { position: absolute; bottom: calc(100% + 14px); right: 0; width: min(340px, calc(100vw - 32px));
	background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 24px 60px -12px rgba(11, 37, 69, .35), 0 2px 8px rgba(0,0,0,.06);
	transform-origin: bottom right; transform: translateY(16px) scale(.6); opacity: 0; visibility: hidden;
	transition: transform .45s var(--fcb-ease), opacity .25s, visibility 0s .45s; }
.fcb-left .fcb-panel { right: auto; left: 0; transform-origin: bottom left; }
.fcb-panel[hidden] { display: block; }
.fcb.is-open .fcb-panel { transform: none; opacity: 1; visibility: visible; transition: transform .45s var(--fcb-ease), opacity .2s, visibility 0s; }

.fcb-head { padding: 20px 22px 16px; background: linear-gradient(135deg, color-mix(in srgb, var(--fcb-c1) 14%, #fff), color-mix(in srgb, var(--fcb-c1) 5%, #fff)); }
.fcb-title { margin: 0 0 4px; font-size: 17px; font-weight: 800; color: #0F172A; line-height: 1.6; }
.fcb-sub { margin: 0; font-size: 13.5px; color: #64748B; line-height: 1.8; }

.fcb-list { list-style: none; margin: 0; padding: 12px; display: grid; gap: 8px; max-height: min(60vh, 440px); overflow-y: auto; }
.fcb-list li { margin: 0; padding: 0; opacity: 0; transform: translateX(24px); }
.fcb-left .fcb-list li { transform: translateX(-24px); }
.fcb.is-open .fcb-list li { animation: fcb-item .45s var(--fcb-ease) forwards; animation-delay: calc(.08s + var(--fcb-i) * .06s); }
@keyframes fcb-item { to { opacity: 1; transform: none; } }

.fcb-item { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 14px; border-radius: 16px;
	background: #F5F7FA; color: #16202C !important; text-decoration: none !important; font-size: 15.5px; font-weight: 600;
	transition: background .2s, transform .15s; }
.fcb-item:hover, .fcb-item:focus-visible { background: color-mix(in srgb, var(--fcb-brand) 10%, #fff); }
.fcb-item:active { transform: scale(.97); }
.fcb-item:focus-visible { outline: 2px solid var(--fcb-brand); outline-offset: 1px; }
.fcb-ico { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #fff;
	color: var(--fcb-brand); box-shadow: inset 0 0 0 1px rgba(11, 37, 69, .08); transition: transform .3s var(--fcb-ease), background .2s, color .2s; }
.fcb-ico svg { width: 25px; height: 25px; }
.fcb-item:hover .fcb-ico { transform: rotate(-8deg) scale(1.08); background: var(--fcb-brand); color: #fff; }
.fcb-instagram .fcb-ico { color: #fff; background: radial-gradient(circle at 30% 107%, #FDCB52 0%, #FD5949 45%, #D6249F 65%, #285AEB 95%); box-shadow: none; }
.fcb-label { flex: 1; line-height: 1.6; }
.fcb-rubika .fcb-ico { color: #fff; background: linear-gradient(135deg, #F7B500, #EF4444 35%, #7B3FE4 70%, #2563EB); box-shadow: none; }
.fcb-eitaa .fcb-ico, .fcb-bale .fcb-ico { color: #fff; background: var(--fcb-brand); box-shadow: none; }

@media (prefers-reduced-motion: reduce) {
	.fcb-btn { transform: none; animation: none; }
	.fcb *, .fcb *::before, .fcb *::after { animation: none !important; transition-duration: .01ms !important; }
	.fcb.is-open .fcb-list li, .fcb-list li { opacity: 1; transform: none; }
}

/* keep the button above sticky headers / theme overlays and clickable */
.fcb { isolation: isolate; }
.fcb-btn { z-index: 2; pointer-events: auto; touch-action: manipulation; }
.fcb-panel { z-index: 1; }
.fcb:not(.is-open) .fcb-panel { pointer-events: none; }
