/* 精品国产剧 — 补充样式（移动端 / 表单 / 工具类） */
body.nav-open {
  overflow: hidden;
}

.search-panel.has-sort {
  grid-template-columns: 220px 1fr auto;
}

.sort-select {
  border: 1px solid var(--line);
  outline: 0;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 15px;
  background: #fff;
  min-width: 132px;
  color: var(--text);
}

.sort-select:focus {
  border-color: #fb7185;
  box-shadow: 0 0 0 4px rgba(251, 113, 133, 0.12);
}

.page-bottom {
  margin-bottom: 70px;
}

.empty-state {
  text-align: center;
  padding: 48px 0;
  color: var(--muted);
}

.empty-state--lg {
  padding: 64px 0;
}

.load-more-wrap {
  text-align: center;
  margin: 32px 0 64px;
}

.result-count {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.result-count strong {
  color: var(--text);
}

.auth-card,
.info-card,
.not-found-card {
  margin: 0 auto;
}

.auth-card {
  max-width: 440px;
}

.info-card {
  max-width: 760px;
}

.not-found-card {
  max-width: 480px;
  text-align: center;
}

.page-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.auth-brand {
  text-align: center;
  margin-bottom: 24px;
}

.auth-brand .footer-logo {
  justify-content: center;
  margin-bottom: 8px;
}

.auth-brand small {
  color: #9ca3af;
}

.auth-form input {
  width: 100%;
  border: 1px solid var(--line);
  outline: 0;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 15px;
  background: #fff;
  margin-bottom: 12px;
}

.auth-form input:focus {
  border-color: #fb7185;
  box-shadow: 0 0 0 4px rgba(251, 113, 133, 0.12);
}

.auth-form .btn-light {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.form-error {
  color: #e11d48;
  font-size: 14px;
  margin: 0 0 12px;
}

.form-note {
  text-align: center;
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
}

.content-block--first {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}

.info-list {
  padding-left: 20px;
  color: #4b5563;
  line-height: 1.9;
}

.cat-strip-bottom {
  margin-bottom: 64px;
}

.error-boundary {
  min-height: 70dvh;
  display: grid;
  place-items: center;
  padding: 24px 18px;
}

.error-boundary article {
  max-width: 440px;
  width: 100%;
  text-align: center;
}

.error-boundary pre {
  text-align: left;
  font-size: 12px;
  color: var(--muted);
  overflow: auto;
  margin: 0 0 20px;
  padding: 12px;
  background: #fff1f2;
  border-radius: 12px;
}

.menu-btn[aria-expanded='true'] {
  color: var(--rose);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-contact-fly {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.footer-tg-icon {
  width: 18px;
  height: 18px;
  color: #229ed9;
  flex-shrink: 0;
  animation: tg-fly 2.6s ease-in-out infinite;
}

@keyframes tg-fly {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  35% {
    transform: translate(3px, -6px) rotate(-10deg);
  }
  70% {
    transform: translate(6px, -3px) rotate(6deg);
  }
}

@media (max-width: 760px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .search-panel.has-sort {
    grid-template-columns: 1fr;
  }

  .sort-select {
    width: 100%;
  }
}
