.zm-stage {
  display: grid;
  gap: .85rem;
  min-width: 0;
  margin-bottom: .85rem;
}

.zm-film {
  position: relative;
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #0c0b12;
  min-width: 0;
  cursor: pointer;
}

.zm-film--lg { max-width: 22rem; }

.zm-film.zm-ans__film {
  aspect-ratio: 16 / 9;
  max-width: none;
  margin: 0 0 12px;
  border-radius: 20px;
  box-shadow: 0 0 0 1px rgba(212, 175, 95, .5), 0 18px 36px -22px rgba(0, 0, 0, .85);
}

.zm-film video,
.zm-film img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  background: #0c0b12;
}

.zm-film__cap {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: .45rem .55rem .4rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, .78));
  color: #fff;
  font-size: .8rem;
  line-height: 1.35;
  text-align: center;
}

.zm-films {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 7.5rem), 1fr));
  gap: .55rem;
  min-width: 0;
  margin: .8rem 0;
}

.rv-sign-film {
  width: 100%;
  max-width: 9rem;
  aspect-ratio: 1;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  background: #0c0b12;
}

.tarot-card--film {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #100d18;
}

.tarot-card--film .tarot-card-film {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: 0;
  z-index: 0;
  pointer-events: none;
  background: #100d18;
}

.tarot-card--film::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 6, 18, .42) 0%, rgba(8, 6, 18, .72) 48%, rgba(8, 6, 18, .9) 100%);
}

.tarot-card--film .tarot-card-img,
.tarot-card--film .tarot-card-meta {
  position: relative;
  z-index: 2;
}

.pf-pet-spotlight-emoji video,
.pf-pet-card-emoji img {
  width: 78%;
  height: 78%;
  max-width: none;
  object-fit: cover;
  border-radius: 50%;
}

.daily-films { margin: 1rem 0 1.4rem; }

@media (min-width: 840px) {
  .zm-stage--split {
    grid-template-columns: minmax(0, 18rem) minmax(0, 1fr);
    align-items: center;
  }
}

@media (max-width: 640px) {
  .zm-film--lg { max-width: none; }
}

/* ورود و کسوف — one column, no split scene beside the dates */
.cx {
  width: 100%;
  min-width: 0;
  container-type: inline-size;
}
.cx > .engine-plain-explain { margin: 0; }
.cx-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(11rem, 16rem);
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid var(--border, rgba(255, 255, 255, .08));
  background: var(--surface, #14121c);
  min-width: 0;
}
.cx-hero__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .55rem;
}
.cx-hero__title {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.7;
  font-weight: 800;
}
.cx-hero__meta {
  margin: 0;
  color: var(--muted, #a8a3b5);
  font-size: .9rem;
  line-height: 1.7;
}
.cx-hero .zm-film {
  width: 100%;
  max-width: none;
  margin: 0;
}
.cx-block { min-width: 0; }
.cx-block > h3 {
  margin: 0 0 .7rem;
  font-size: 1rem;
  font-weight: 800;
}
.cx-block .zm-films {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
}
.cx-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
  gap: .6rem;
}
.cx-item {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: .7rem;
  align-items: center;
  margin: 0;
  padding: .7rem .8rem;
  border-radius: 14px;
  border: 1px solid var(--border, rgba(255, 255, 255, .08));
  background: rgba(255, 255, 255, .03);
  min-width: 0;
}
.cx-item img {
  width: 3rem;
  height: 3rem;
  max-width: none;
  object-fit: cover;
  border-radius: 10px;
  background: #0c0b12;
}
.cx-item strong {
  display: block;
  font-size: .95rem;
  line-height: 1.45;
}
.cx-item time {
  display: block;
  margin-top: .15rem;
  color: var(--muted, #a8a3b5);
  font-size: .8rem;
  line-height: 1.45;
}
.cx-empty,
.cx-note {
  margin: 0;
  color: var(--muted, #a8a3b5);
  font-size: .82rem;
  line-height: 1.7;
}

@container (max-width: 760px) {
  .cx-hero { grid-template-columns: 1fr; }
  .cx-hero .zm-film { max-width: 16rem; margin-inline: auto; }
  .cx-block .zm-films { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@container (max-width: 480px) {
  .cx-block .zm-films { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cx-list { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .cx-hero { grid-template-columns: 1fr; }
  .cx-hero .zm-film { max-width: 16rem; margin-inline: auto; }
  .cx-block .zm-films { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .cx-block .zm-films { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cx-list { grid-template-columns: 1fr; }
}
