html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  background: #070707;
  color: #f5f5f5;
  font-family: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

a {
  color: #7fd6ff;
}

.app-shell {
  width: 100%;
}

.shorts-app {
  width: 100%;
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(7, 7, 7, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform 0.2s ease;
}

.top-nav-hidden {
  transform: translateY(-100%);
}

.brand {
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.social-totals {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.total-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: #d6efff;
  white-space: nowrap;
  border: 1px solid rgba(127, 214, 255, 0.35);
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  background: rgba(127, 214, 255, 0.08);
}

.total-pill i {
  color: #7fd6ff;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.9rem;
}

.quick-links a {
  text-decoration: none;
  font-weight: 500;
}


.title-search-wrap {
  position: sticky;
  top: 4.25rem;
  z-index: 18;
  width: min(100%, 560px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.75rem 0.5rem;
  background: rgba(7, 7, 7, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease;
}

.title-search-hidden {
  transform: translateY(-100%);
}

.title-search-label {
  font-size: 0.8rem;
  color: #b6bbc1;
}

.title-search-input {
  width: min(100%, 560px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
  background: rgba(0, 0, 0, 0.5);
  color: #f5f5f5;
}

.title-search-input:focus {
  outline: 2px solid #7fd6ff;
  outline-offset: 1px;
}

.shorts-feed {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.short-card {
  width: min(100%, 560px);
  min-height: 100vh;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.75rem 0.5rem 1.5rem;
}

.short-title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 600;
}

.short-stats {
  margin: 0 0 0.8rem;
  color: #b6bbc1;
  font-size: 0.9rem;
}

.short-comments-link {
  color: #9fdfff;
  text-decoration: underline;
}

.short-comments-link:hover {
  color: #c4ecff;
}

.short-player {
  width: 100%;
  height: min(82vh, 900px);
  border: 0;
  border-radius: 14px;
  background: #000;
}

.feed-status {
  text-align: center;
  color: #b6bbc1;
  padding: 1.5rem 1rem 3rem;
}

@media (max-width: 640px) {
  .top-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .social-totals {
    order: 3;
  }

  .quick-links {
    justify-content: flex-start;
  }

  .title-search-wrap {
    top: 7.4rem;
    width: 100%;
  }

  .short-card {
    padding-inline: 0;
  }

  .short-player {
    border-radius: 0;
    height: 78vh;
  }
}
