/* jinanph.com 补丁 */

.video-frame--play .video-el,
.video-frame--play video {
  display: block;
  width: 100%;
  margin: 0 auto;
}

/* 分类/题材筛选 — 手机端横向滚动 */
.filter-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.filter-row::-webkit-scrollbar {
  display: none;
}

.filter-row .filter-chip {
  flex: 0 0 auto;
}

/* 静态页 / 登录注册 */
.static-prose {
  color: var(--text-soft, #cfcabf);
  line-height: 1.75;
}

.static-prose h2 {
  color: var(--text, #f4efe6);
  font-size: 1.125rem;
  margin: 0 0 1rem;
}

.static-prose h3 {
  color: var(--text, #f4efe6);
  font-size: 1rem;
  margin: 0 0 0.5rem;
}

.static-prose p {
  margin: 0 0 1rem;
}

.static-faq-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line, rgba(244, 239, 230, 0.08));
}

.static-faq-item:last-of-type {
  border-bottom: none;
}

.static-contact {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line, rgba(244, 239, 230, 0.08));
}

.auth-page {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--card, #181826);
  border: 1px solid var(--line, rgba(244, 239, 230, 0.08));
  border-radius: var(--radius-md, 10px);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-md, 0 12px 32px -10px rgba(0, 0, 0, 0.65));
}

.auth-card h1 {
  margin: 0 0 0.5rem;
  font-size: 1.375rem;
  color: var(--text, #f4efe6);
}

.auth-card > p {
  margin: 0 0 1.25rem;
  color: var(--muted, #8e8e9a);
  font-size: 0.875rem;
}

.auth-field {
  margin-bottom: 1rem;
}

.auth-field label {
  display: block;
  margin-bottom: 0.375rem;
  font-size: 0.875rem;
  color: var(--text-soft, #cfcabf);
}

.auth-field input {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border-radius: var(--radius, 4px);
  border: 1px solid var(--line-strong, rgba(244, 239, 230, 0.14));
  background: var(--bg-3, #15151f);
  color: var(--text, #f4efe6);
  font: inherit;
}

.auth-field input:focus {
  outline: 2px solid var(--primary-dim, rgba(225, 29, 72, 0.14));
  border-color: var(--primary-soft, #f43f5e);
}

.auth-err {
  margin: 0 0 0.75rem;
  color: var(--primary-soft, #f43f5e);
  font-size: 0.875rem;
}

.auth-submit {
  width: 100%;
  margin-top: 0.25rem;
}

.auth-switch {
  margin: 1.25rem 0 0;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted, #8e8e9a);
}

.auth-switch a {
  margin-left: 0.35rem;
  color: var(--accent-soft, #f0c074);
}

.error-boundary__log {
  margin: 1rem 0;
  padding: 0.75rem;
  font-size: 0.75rem;
  background: var(--bg-3, #15151f);
  border-radius: var(--radius, 4px);
  overflow: auto;
  color: var(--text-soft, #cfcabf);
  white-space: pre-wrap;
  word-break: break-word;
}

.search-empty {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--muted, #8e8e9a);
}

@media (max-width: 768px) {
  .hero-fsp__title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .card-grid--related {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .result-row {
    flex-wrap: wrap;
  }

  .result-row__play {
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
  }
}

/* ── ABABSEO 页脚 · 星轨联系方式（原创，无链接、无胶囊） ── */

.ababseo-foot {
  position: relative;
  border-top: 1px solid rgba(244, 239, 230, 0.06);
  background: linear-gradient(180deg, transparent 0%, rgba(17, 17, 28, 0.6) 100%), var(--bg, #0a0a10);
  padding: 1.25rem 1rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

.ababseo-foot__inner {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 72px;
}

/* 背景星点 */
.ababseo-foot__stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ababseo-foot__stars span {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(244, 239, 230, 0.35);
  animation: ababseo-twinkle 3s ease-in-out infinite;
}

.ababseo-foot__stars span:nth-child(1) { left: 8%;  top: 30%; animation-delay: 0s; }
.ababseo-foot__stars span:nth-child(2) { left: 22%; top: 70%; animation-delay: 0.6s; width: 1.5px; height: 1.5px; }
.ababseo-foot__stars span:nth-child(3) { left: 48%; top: 18%; animation-delay: 1.2s; }
.ababseo-foot__stars span:nth-child(4) { left: 72%; top: 55%; animation-delay: 0.3s; width: 1.5px; height: 1.5px; }
.ababseo-foot__stars span:nth-child(5) { left: 88%; top: 25%; animation-delay: 1.8s; }
.ababseo-foot__stars span:nth-child(6) { left: 58%; top: 82%; animation-delay: 0.9s; opacity: 0.5; }

/* 飞行弧线 */
.ababseo-foot__arc {
  position: absolute;
  left: 50%;
  top: 0;
  width: min(320px, 88vw);
  height: 56px;
  transform: translateX(-50%);
  opacity: 0.85;
  pointer-events: none;
}

.ababseo-foot__arc-path {
  stroke-dashoffset: 0;
  animation: ababseo-dash 12s linear infinite;
}

/* 主体：TG + 间隔 + 联系方式 */
.ababseo-foot__craft {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  animation: ababseo-drift 7s ease-in-out infinite;
}

.ababseo-foot__tg-orbit {
  position: relative;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: ababseo-tg-rise 5s ease-in-out infinite;
}

.ababseo-foot__orbit-ring {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid rgba(79, 195, 247, 0.25);
  animation: ababseo-orbit-spin 8s linear infinite;
}

.ababseo-foot__orbit-ring::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: #4fc3f7;
  box-shadow: 0 0 8px rgba(79, 195, 247, 0.9);
}

.ababseo-foot__comet {
  position: absolute;
  right: calc(100% - 4px);
  top: 50%;
  width: 48px;
  height: 1px;
  margin-top: -0.5px;
  background: linear-gradient(90deg, transparent, rgba(79, 195, 247, 0.15) 20%, rgba(79, 195, 247, 0.7) 100%);
  transform: rotate(-18deg);
  transform-origin: right center;
  opacity: 0;
  animation: ababseo-comet 5s ease-in-out infinite;
}

.ababseo-foot__tg {
  position: relative;
  z-index: 1;
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 4px 14px rgba(2, 136, 209, 0.45));
}

/* 间隔桥接点 */
.ababseo-foot__bridge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 1.375rem;
  flex-shrink: 0;
}

.ababseo-foot__bridge i {
  display: block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(216, 162, 83, 0.45);
  animation: ababseo-bridge 2.4s ease-in-out infinite;
}

.ababseo-foot__bridge i:nth-child(2) { animation-delay: 0.35s; opacity: 0.7; }
.ababseo-foot__bridge i:nth-child(3) { animation-delay: 0.7s; opacity: 0.45; }

/* 联系方式字标 */
.ababseo-foot__contact {
  display: inline-flex;
  align-items: baseline;
  gap: 0.15rem;
  flex-shrink: 0;
}

.ababseo-foot__label {
  font-family: var(--font-en, 'Bebas Neue', ui-sans-serif, system-ui, sans-serif);
  font-size: 1.125rem;
  color: rgba(79, 195, 247, 0.55);
  line-height: 1;
  transform: translateY(-1px);
}

.ababseo-foot__name {
  font-family: var(--font-en, 'Bebas Neue', ui-sans-serif, system-ui, sans-serif);
  font-size: clamp(1.5rem, 4.8vw, 1.875rem);
  font-weight: 400;
  letter-spacing: 0.32em;
  padding-left: 0.32em;
  line-height: 1;
  color: #ece6dc;
  text-shadow:
    0 0 20px rgba(236, 230, 220, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.08),
    0 -1px 0 rgba(0, 0, 0, 0.4);
}

/* ── 动画 ── */
@keyframes ababseo-twinkle {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  50% { opacity: 0.9; transform: scale(1.2); }
}

@keyframes ababseo-dash {
  to { stroke-dashoffset: -40; }
}

@keyframes ababseo-drift {
  0%, 100% { transform: translateY(6px); }
  50% { transform: translateY(-10px); }
}

@keyframes ababseo-tg-rise {
  0%, 100% { transform: translateY(4px) rotate(-8deg); }
  35% { transform: translateY(-16px) rotate(6deg); }
  65% { transform: translateY(-24px) rotate(-3deg); }
}

@keyframes ababseo-orbit-spin {
  to { transform: rotate(360deg); }
}

@keyframes ababseo-comet {
  0%, 22%, 100% { opacity: 0; width: 12px; }
  40%, 58% { opacity: 0.85; width: 52px; }
  72% { opacity: 0.15; width: 24px; }
}

@keyframes ababseo-bridge {
  0%, 100% { opacity: 0.35; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.15); }
}

@media (prefers-reduced-motion: reduce) {
  .ababseo-foot__stars span,
  .ababseo-foot__arc-path,
  .ababseo-foot__craft,
  .ababseo-foot__tg-orbit,
  .ababseo-foot__orbit-ring,
  .ababseo-foot__comet,
  .ababseo-foot__bridge i {
    animation: none;
  }

  .ababseo-foot__craft {
    transform: translateY(-4px);
  }

  .ababseo-foot__tg-orbit {
    transform: translateY(-8px);
  }
}

@media (max-width: 480px) {
  .ababseo-foot__craft {
    margin-top: 14px;
  }

  .ababseo-foot__tg-orbit {
    width: 36px;
    height: 36px;
  }

  .ababseo-foot__tg {
    width: 30px;
    height: 30px;
  }

  .ababseo-foot__bridge {
    margin: 0 1rem;
    gap: 5px;
  }

  .ababseo-foot__name {
    font-size: 1.375rem;
    letter-spacing: 0.26em;
    padding-left: 0.26em;
  }

  .ababseo-foot__label {
    font-size: 1rem;
  }
}

@media print {
  .ababseo-foot {
    display: none !important;
  }
}

