.ssfcb {
  --ssfcb-gold: #f4b85f;
  --ssfcb-gold-bright: #ffe7ad;
  --ssfcb-gold-deep: #9c6425;
  --ssfcb-violet: #7e5bd6;
  --ssfcb-violet-soft: #d2c4ff;
  --ssfcb-text: #f4f2ed;
  --ssfcb-muted: #b7bdc0;
  --ssfcb-surface: rgba(9, 11, 12, 0.97);
  --ssfcb-card: rgba(232, 238, 238, 0.065);
  --ssfcb-line: rgba(210, 196, 255, 0.58);
  --ssfcb-shadow: 0 26px 68px rgba(0, 0, 0, 0.48), 0 0 28px rgba(126, 91, 214, 0.2);
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999999;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.ssfcb,
.ssfcb * {
  box-sizing: border-box;
}

.ssfcb__toggle {
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(226, 218, 255, 0.82);
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(255, 231, 173, 0.76), rgba(244, 184, 95, 0.56) 34%, rgba(126, 91, 214, 0.82) 70%, rgba(12, 13, 15, 0.98));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.36), 0 0 24px rgba(126, 91, 214, 0.3), inset 0 1px 0 rgba(255, 231, 173, 0.32), inset 0 -1px 0 rgba(80, 56, 128, 0.28);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.ssfcb__toggle:hover {
  transform: translateY(-2px) scale(1.04);
  border-color: rgba(255, 239, 194, 0.92);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.42), 0 0 34px rgba(126, 91, 214, 0.44), 0 0 18px rgba(240, 183, 105, 0.22), inset 0 1px 0 rgba(255, 239, 194, 0.42);
}

.ssfcb.is-open .ssfcb__toggle {
  transform: scale(0.96);
}

.ssfcb__toggle-image {
  width: 28px;
  height: 28px;
  display: block;
}

.ssfcb__panel {
  position: absolute;
  right: 0;
  bottom: 82px;
  width: min(312px, calc(100vw - 24px));
  padding: 0;
  border: 1px solid var(--ssfcb-line);
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(126, 91, 214, 0.16), transparent 22%, transparent 74%, rgba(240, 183, 105, 0.08)),
    linear-gradient(145deg, rgba(226, 232, 232, 0.065), rgba(7, 8, 9, 0.035)),
    var(--ssfcb-surface);
  box-shadow: var(--ssfcb-shadow);
  overflow: hidden;
}

.ssfcb__panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--ssfcb-violet), var(--ssfcb-violet-soft) 32%, var(--ssfcb-gold) 70%, transparent);
  opacity: 0.82;
  pointer-events: none;
}

.ssfcb__panel[hidden] {
  display: none !important;
}

.ssfcb__header {
  position: relative;
  padding: 22px 22px 17px;
  border-bottom: 1px solid rgba(210, 196, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 225, 166, 0.08);
  background:
    linear-gradient(90deg, rgba(126, 91, 214, 0.24), transparent 24%, transparent 72%, rgba(240, 183, 105, 0.06)),
    linear-gradient(180deg, rgba(255, 225, 166, 0.06), rgba(255, 255, 255, 0.01));
}

.ssfcb__title {
  margin: 0;
  color: var(--ssfcb-text);
  max-width: 220px;
  font-size: 0.92rem;
  font-weight: 840;
  line-height: 1.18;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.42), 0 0 10px rgba(126, 91, 214, 0.16);
}

.ssfcb__subtitle {
  margin: 8px 0 0;
  color: var(--ssfcb-gold);
  font-size: 0.82rem;
  line-height: 1.35;
  font-weight: 680;
  text-shadow: 0 0 8px rgba(240, 183, 105, 0.12);
}

.ssfcb__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(226, 218, 255, 0.36);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #f4f2ed;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 225, 166, 0.12), 0 10px 24px rgba(0, 0, 0, 0.28);
}

.ssfcb__close::before,
.ssfcb__close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 15px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
}

.ssfcb__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.ssfcb__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.ssfcb__content {
  padding: 11px;
}

.ssfcb__item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0 0 9px;
  padding: 10px 12px;
  border: 1px solid rgba(210, 196, 255, 0.38);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 240, 200, 0.08), rgba(255, 255, 255, 0.018) 42%, rgba(7, 8, 9, 0.26)),
    linear-gradient(90deg, rgba(15, 16, 18, 0.96), rgba(42, 34, 42, 0.88) 50%, rgba(15, 16, 18, 0.96));
  color: var(--ssfcb-text);
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 225, 166, 0.1), inset 0 -1px 0 rgba(183, 162, 255, 0.16);
  transition: transform 0.18s ease, border-color 0.24s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.ssfcb__item:last-child {
  margin-bottom: 0;
}

.ssfcb__item:hover {
  border-color: rgba(226, 218, 255, 0.78);
  background:
    linear-gradient(180deg, rgba(255, 240, 200, 0.12), rgba(255, 255, 255, 0.02) 42%, rgba(7, 8, 9, 0.22)),
    linear-gradient(90deg, rgba(15, 16, 18, 0.96), rgba(50, 39, 43, 0.9) 50%, rgba(15, 16, 18, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 225, 166, 0.18), inset 0 -1px 0 rgba(183, 162, 255, 0.24), 0 14px 30px rgba(0, 0, 0, 0.24), 0 0 24px rgba(126, 91, 214, 0.18);
  transform: translateY(-1px);
}

.ssfcb__item--featured {
  position: relative;
  background:
    linear-gradient(90deg, rgba(80, 56, 128, 0.24), rgba(17, 18, 20, 0.94) 36%, rgba(156, 100, 37, 0.1)),
    rgba(10, 11, 12, 0.94);
  border-color: rgba(226, 218, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 225, 166, 0.18), inset 0 0 0 1px rgba(183, 162, 255, 0.1), 0 0 24px rgba(126, 91, 214, 0.18);
}

.ssfcb__item--featured::before {
  content: "";
  position: absolute;
  inset: 10px auto 10px 0;
  width: 2px;
  background: linear-gradient(180deg, var(--ssfcb-gold-bright), var(--ssfcb-gold), var(--ssfcb-violet));
  box-shadow: 0 0 12px rgba(240, 183, 105, 0.22), 0 0 12px rgba(126, 91, 214, 0.16);
}

.ssfcb__item--featured:hover,
.ssfcb__item--featured:focus-visible {
  background:
    linear-gradient(90deg, rgba(80, 56, 128, 0.34), rgba(17, 18, 20, 0.94) 36%, rgba(156, 100, 37, 0.14)),
    rgba(10, 11, 12, 0.96);
}

.ssfcb__icon-wrap {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  border-radius: 999px;
  border: 1px solid rgba(226, 218, 255, 0.36);
  background:
    linear-gradient(145deg, rgba(255, 231, 173, 0.82), rgba(244, 184, 95, 0.74) 42%, rgba(126, 91, 214, 0.72));
  box-shadow: inset 0 1px 0 rgba(255, 239, 194, 0.34), inset 0 -1px 0 rgba(80, 56, 128, 0.28), 0 0 14px rgba(126, 91, 214, 0.2);
}

.ssfcb__icon {
  width: 18px;
  height: 18px;
  display: block;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.28));
}

.ssfcb__label {
  font-size: 0.9rem;
  font-weight: 740;
  letter-spacing: 0;
}

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

.ssfcb__toggle:focus-visible,
.ssfcb__close:focus-visible,
.ssfcb__item:focus-visible {
  outline: 3px solid rgba(210, 196, 255, 0.34);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .ssfcb {
    right: 16px;
    bottom: 16px;
  }

  .ssfcb__panel {
    width: min(304px, calc(100vw - 20px));
    bottom: 78px;
  }
}
