/* Lightweight motion. Transform and opacity only; no lasting will-change. */

.fcp-page .nav-profile {
  position: relative;
}

.fc-tab-indicator {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  width: 0;
  height: 0;
  border-radius: 12px;
  background: rgba(38, 132, 255, 0.15);
  box-shadow: inset 0 -2px 0 #69b1ff, inset 0 0 0 1px rgba(105, 177, 255, 0.32);
  pointer-events: none;
}

.fc-tab-indicator.is-on {
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.fcp-page .nav-profile.has-indicator > li.nav-link {
  z-index: 1;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.14s ease;
}

.fcp-page .nav-profile.has-indicator > li.nav-link.active,
.fcp-page .nav-profile.has-indicator > li.nav-link.active:hover {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

@keyframes fc-feed-in {
  from {
    opacity: 0;
    transform: translate3d(0, 8px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

html.fc-switching .fcp-page .wrap-post,
html.fc-switching .fcp-page .container.py-5 {
  animation: fc-feed-in 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.menuMobile ul {
  position: relative;
}

.fc-mobile-indicator {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  width: 0;
  height: 0;
  border-radius: 14px;
  background: rgba(105, 177, 255, 0.12);
  pointer-events: none;
}

.fc-mobile-indicator.is-on {
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.menuMobile .btn-mobile {
  position: relative;
  z-index: 1;
}

.menuMobile .btn-mobile.is-current {
  color: #69b1ff !important;
  background: transparent !important;
}

.fcp-page .nav-profile > li.nav-link:active {
  transform: scale(0.97);
}

.fcp-page .d-flex-user .btn-profile:active {
  transform: translateY(0) scale(0.98);
}

.fcp-page .btn-arrow-expand i {
  display: inline-block;
  transition: transform 0.2s ease;
}

.fcp-page .btn-arrow-expand[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.fcc-sidebar-card .btn-category {
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.14s ease;
}

.fcc-sidebar-card .btn-category:active,
.fcc-card:active,
.fcp-page .link-shop:active .card-user-profile,
.fcp-page .video-grid .video-thumbnail:active {
  transform: scale(0.98);
}

@media (prefers-reduced-motion: reduce) {
  .fc-tab-indicator.is-on,
  .fc-mobile-indicator.is-on,
  html.fc-switching .fcp-page .wrap-post,
  html.fc-switching .fcp-page .container.py-5,
  .fcp-page .btn-arrow-expand i,
  .fcp-page .nav-profile > li.nav-link:active,
  .fcp-page .d-flex-user .btn-profile:active,
  .fcc-card:active,
  .fcc-sidebar-card .btn-category:active {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}
