/* 丰子恺 / 子恺风插画全屏层 */
.theme-layer.illust-host {
  background: #f3eee2;
  overflow: hidden;
}

.illust-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.illust-stage img,
.illust-stage .illust-img {
  position: absolute;
  inset: -8%;
  width: 116%;
  height: 116%;
  object-fit: cover;
  transform-origin: center center;
  animation: kenburns 18s ease-in-out infinite alternate;
  filter: saturate(0.95) contrast(1.02);
}

@keyframes kenburns {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.08) translate(-2%, -1.5%); }
}

.illust-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(20, 16, 12, 0.18) 0%, rgba(20, 16, 12, 0.08) 35%, rgba(20, 16, 12, 0.45) 100%);
  pointer-events: none;
}

.illust-credit {
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 5.8rem;
  z-index: 3;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.78);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.illust-credit strong {
  font-weight: 600;
  color: #fff;
}

/* 诗页文字在画上更清晰 */
.page-poem .poem-title,
.page-poem .poem-author,
.page-poem .poem-lines li,
.page-poem .poem-kicker {
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45), 0 0 2px rgba(0, 0, 0, 0.35);
}

.admin-illust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0 2rem;
}
.admin-illust-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  font-size: 0.8rem;
}
.admin-illust-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  background: #f3eee2;
}
.admin-illust-card .pad {
  padding: 0.5rem 0.6rem 0.7rem;
}
