/* App shell skeleton — visible before Angular bootstraps */
@keyframes bh-pulse {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.8;
  }
}

#app-skeleton {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: #111;
  z-index: 9999;
  pointer-events: none;
}

#app-skeleton .shell-header {
  height: 64px;
  background: #131313;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 40px;
  flex-shrink: 0;
}

#app-skeleton .shell-logo {
  width: 130px;
  height: 28px;
  background: #2a2a2a;
  border-radius: 4px;
  animation: bh-pulse 1.6s ease-in-out infinite;
}

#app-skeleton .shell-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-left: auto;
}

#app-skeleton .shell-nav-item {
  height: 12px;
  background: #2a2a2a;
  border-radius: 4px;
  animation: bh-pulse 1.6s ease-in-out infinite;
}

#app-skeleton .shell-nav-item:nth-child(1) {
  width: 56px;
  animation-delay: 0s;
}
#app-skeleton .shell-nav-item:nth-child(2) {
  width: 48px;
  animation-delay: 0.15s;
}
#app-skeleton .shell-nav-item:nth-child(3) {
  width: 64px;
  animation-delay: 0.3s;
}

#app-skeleton .shell-nav-avatar {
  width: 32px;
  height: 32px;
  background: #2a2a2a;
  border-radius: 50%;
  animation: bh-pulse 1.6s ease-in-out infinite;
  animation-delay: 0.45s;
}

#app-skeleton .shell-hero {
  width: 100%;
  height: 320px;
  background: #1a1a1a;
  animation: bh-pulse 1.6s ease-in-out infinite;
  flex-shrink: 0;
}

#app-skeleton .shell-content {
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 720px;
}

#app-skeleton .shell-line {
  height: 14px;
  background: #2a2a2a;
  border-radius: 4px;
  animation: bh-pulse 1.6s ease-in-out infinite;
}

#app-skeleton .shell-line:nth-child(1) {
  width: 40%;
  animation-delay: 0.1s;
}
#app-skeleton .shell-line:nth-child(2) {
  width: 65%;
  animation-delay: 0.2s;
}
#app-skeleton .shell-line:nth-child(3) {
  width: 50%;
  animation-delay: 0.3s;
}
