/* acus-tech 补丁：按钮筛选、分页、静态页、认证、移动端 */
body.cy-body {
  background: #0f172a;
  color: #e2e8f0;
  -webkit-text-size-adjust: 100%;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.cy-filterbar__opts button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--cy-text-3);
  transition: color 0.15s, background 0.15s;
}

.cy-filterbar__opts button:hover {
  color: #fff;
  background: rgba(168, 85, 247, 0.15);
}

.cy-filterbar__opts button.is-active {
  color: #fff;
  background: var(--cy-grad);
  box-shadow: 0 4px 12px rgba(217, 70, 239, 0.35);
}

.cy-pager button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #c4b5fd;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.35);
  cursor: pointer;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}

.cy-pager button:hover {
  color: #fff;
  background: rgba(168, 85, 247, 0.18);
  border-color: rgba(168, 85, 247, 0.4);
}

.cy-search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--cy-line);
  border-radius: 14px;
}

.cy-search-form svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--cy-text-4);
}

.cy-search-form input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 15px;
  outline: none;
}

.cy-search-form button {
  flex-shrink: 0;
  padding: 8px 16px;
  border: none;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--cy-grad);
  cursor: pointer;
}

.cy-search-hot {
  margin-bottom: 24px;
}

.cy-search-hot__lbl {
  font-size: 12px;
  font-weight: 700;
  color: var(--cy-text-4);
  margin-bottom: 10px;
}

.cy-search-hot__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cy-search-hot__chip {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--cy-text-3);
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.2);
  text-decoration: none;
}

.cy-search-hot__chip:hover {
  color: #fff;
  background: rgba(168, 85, 247, 0.16);
}

.cy-hub-card {
  display: block;
  padding: 20px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--cy-line);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, background 0.15s;
}

.cy-hub-card:hover {
  border-color: rgba(168, 85, 247, 0.35);
  background: rgba(168, 85, 247, 0.06);
}

.cy-hub-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}

.cy-hub-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--cy-text-4);
}

.cy-static__panel {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--cy-line);
  border-radius: 16px;
  padding: 20px 22px;
}

.cy-static__panel h2,
.cy-static__panel h3 {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin: 1.2em 0 0.6em;
}

.cy-static__panel h2:first-child,
.cy-static__panel h3:first-child {
  margin-top: 0;
}

.cy-static__panel p,
.cy-static__panel li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--cy-text-3);
}

.cy-empty-page {
  text-align: center;
  padding: 64px 20px 80px;
}

.cy-empty-page h1 {
  font-size: 56px;
  font-weight: 900;
  margin: 0 0 12px;
  background: var(--cy-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cy-empty-page p {
  color: var(--cy-text-4);
  margin: 0 0 24px;
}

.cy-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--cy-grad);
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.cy-auth {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 32px 16px 48px;
}

.cy-auth__card {
  width: 100%;
  max-width: 400px;
  padding: 28px 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--cy-line);
}

.cy-auth__card h1 {
  margin: 0 0 20px;
  font-size: 22px;
  font-weight: 800;
  text-align: center;
}

.cy-auth__field {
  margin-bottom: 14px;
}

.cy-auth__field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--cy-text-3);
  margin-bottom: 6px;
}

.cy-auth__field input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--cy-line);
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  font-size: 15px;
}

.cy-auth__err {
  color: #f87171;
  font-size: 13px;
  margin: 0 0 12px;
}

.cy-auth__submit {
  width: 100%;
  margin-top: 6px;
}

.cy-auth__switch {
  margin: 16px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--cy-text-4);
}

.cy-auth__switch a {
  color: var(--cy-pri-2);
  text-decoration: none;
  margin-left: 4px;
}

.cy-show-story:not(.is-open) p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 640px) {
  .cy-filterbar__opts {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }

  .cy-filterbar__opts::-webkit-scrollbar {
    display: none;
  }

  .cy-filterbar__opts button {
    flex-shrink: 0;
  }

  .cy-search-form input,
  .cy-hero__form input,
  .cy-search input,
  .cy-overlay__form input {
    font-size: 16px;
  }

  .cy-show-actions {
    flex-wrap: wrap;
    gap: 8px;
  }

  .cy-show-poster {
    max-width: 220px;
    margin: 0 auto;
  }

  .cy-player--v2 video {
    width: 100%;
    max-height: 56vh;
    object-fit: contain;
    background: #000;
  }

  .cy-top {
    right: max(14px, env(safe-area-inset-right, 0px));
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  }

  .cy-stage-bar--v2 .cy-stage-bar__r {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap;
  }

  .cy-stage-bar--v2 .cy-stage-bar__r::-webkit-scrollbar {
    display: none;
  }
}

.app-shell {
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh;
}

/* ABABSEO 飞行小飞机 — 无链接、非胶囊 */
.ababseo-fly {
  position: fixed;
  left: max(14px, env(safe-area-inset-left, 0px));
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  z-index: 54;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  pointer-events: none;
  user-select: none;
}

.ababseo-fly__plane {
  width: 34px;
  height: 34px;
  transform-origin: 55% 45%;
  filter: drop-shadow(0 6px 14px rgba(168, 85, 247, 0.42));
  animation: ababseo-plane-fly 4.8s ease-in-out infinite;
}

.ababseo-fly__trail {
  position: absolute;
  left: 50%;
  top: 2px;
  width: 52px;
  height: 52px;
  transform: translateX(-28%);
  pointer-events: none;
}

.ababseo-fly__trail i {
  position: absolute;
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c4b5fd, #f472b6);
  opacity: 0;
  animation: ababseo-trail-dot 4.8s ease-in-out infinite;
}

.ababseo-fly__trail i:nth-child(1) {
  left: 8px;
  top: 28px;
  animation-delay: 0.6s;
}

.ababseo-fly__trail i:nth-child(2) {
  left: 2px;
  top: 20px;
  width: 3px;
  height: 3px;
  animation-delay: 1.2s;
}

.ababseo-fly__trail i:nth-child(3) {
  left: 14px;
  top: 34px;
  width: 2px;
  height: 2px;
  animation-delay: 1.8s;
}

.ababseo-fly__text {
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  line-height: 1;
  background: linear-gradient(92deg, #ddd6fe 0%, #c084fc 42%, #f472b6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.9;
  animation: ababseo-text-shimmer 4.8s ease-in-out infinite;
}

@keyframes ababseo-plane-fly {
  0%,
  100% {
    transform: translate(0, 0) rotate(-18deg) scale(1);
  }
  20% {
    transform: translate(10px, -14px) rotate(-10deg) scale(1.04);
  }
  45% {
    transform: translate(18px, -6px) rotate(-22deg) scale(0.98);
  }
  70% {
    transform: translate(8px, -18px) rotate(-8deg) scale(1.06);
  }
}

@keyframes ababseo-trail-dot {
  0%,
  100% {
    opacity: 0;
    transform: translate(0, 0) scale(0.6);
  }
  35% {
    opacity: 0.75;
    transform: translate(-6px, 4px) scale(1);
  }
  65% {
    opacity: 0;
    transform: translate(-14px, 10px) scale(0.4);
  }
}

@keyframes ababseo-text-shimmer {
  0%,
  100% {
    opacity: 0.72;
    filter: brightness(1);
  }
  50% {
    opacity: 1;
    filter: brightness(1.15);
  }
}

@media (max-width: 640px) {
  .ababseo-fly {
    left: max(10px, env(safe-area-inset-left, 0px));
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    transform: scale(0.92);
    transform-origin: left bottom;
  }

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

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