/* 特效浏览页。沿用落地页变量，不引入框架和外网字体。 */

.fx-hero { padding-bottom: 18px; }

.fx-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 22px 0;
}

.fx-tab {
  appearance: none;
  border: 1px solid var(--card-edge);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}

.fx-tab.is-on {
  color: #241a04;
  background: linear-gradient(135deg, #ffd979, var(--accent) 45%, #f0a83c);
  border-color: transparent;
}

.fx-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 16px 22px 28px;
}

.fx-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(180deg, var(--card), var(--bg-soft));
  border: 1px solid var(--card-edge);
  border-radius: 16px;
  overflow: hidden;
}

.fx-card:active { transform: scale(0.985); }

.fx-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #0e1224;
}

.fx-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 10px 12px;
  min-width: 0;
}

.fx-name {
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
}

.fx-type {
  font-size: 12px;
  color: var(--muted);
}

.fx-card.is-hidden { display: none; }

.fx-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  padding: 28px 0;
}

.footer a { color: var(--accent); }

@media (min-width: 720px) {
  .fx-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .fx-tabs { padding-left: 36px; padding-right: 36px; }
  .fx-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 20px 36px 40px;
  }
}

/* 返工新增：卡片现在是 div（不再是默认跳转的 <a>），只有配了跳转地址才有手型。 */
.fx-card { cursor: default; }
.fx-card.has-action { cursor: pointer; }

/* 当前页播放视频的浮层 */
.fx-player {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 18, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 50;
}
.fx-player[hidden] { display: none; }
.fx-player-box {
  width: min(880px, 100%);
  background: #0b0e1a;
  border: 1px solid var(--card-edge);
  border-radius: 16px;
  padding: 14px;
}
.fx-player-box video {
  width: 100%;
  max-height: 70vh;
  border-radius: 10px;
  background: #000;
}
.fx-player-close {
  appearance: none;
  border: 1px solid var(--card-edge);
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  font: inherit;
  font-size: 13px;
  border-radius: 999px;
  padding: 6px 14px;
  cursor: pointer;
  margin-bottom: 10px;
}
.fx-player-name {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}
