#sctab-mount {}

/* Position/Visibility/Structure */
.sctab {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .9rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  max-width: calc(100vw - 2rem);
  overflow: hidden;
  --tx: 0;
  --ty: 16px;
  transform: translate(var(--tx), var(--ty));
  opacity: 0;
  transition: opacity .2s ease, transform .2s ease;
  z-index: var(--sctab-z, 9999);
}

.sctab--bl {
  right: auto;
  left: 1rem;
}

.sctab--bc {
  right: auto;
  left: 50%;
  --tx: -50%;
}

.sctab--visible {
  opacity: 1;
  --ty: 0;
}

.sctab--hidden {
  pointer-events: none;
}

.sctab__icon {
  display: inline-flex;
  width: 20px;
  height: 20px;
  line-height: 1;
  flex: 0 0 auto;
}

.sctab__svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: currentColor;
  color: #fff;
}

.sctab__label {
  white-space: nowrap;
  display: inline-block;
  flex: 0 1 auto;
}

/* Default Skin: nur ohne Style-Klasse */
.sctab--defaultSkin {
  background: var(--sctab-bg, #111827);
  color: var(--sctab-fg, #ffffff);
}

/* Hover/Active */
.sctab:hover { --ty: -2px; }
.sctab:active { --ty: 0; }

/* Große Screens */
@media (min-width: 1024px) {
  .sctab { bottom: 1.5rem; }
  .sctab--br { right: 1.5rem; }
  .sctab--bl { left: 1.5rem; }
}

/* Bewegungspräferenz */
@media (prefers-reduced-motion: reduce) {
  .sctab { transition: none; }
}
