@charset "UTF-8";
/* 图片完成解码前，用极小预览图遮住逐行显示的清晰图。 */
.media-position-context { position: relative; }
.media-preview-layer {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: var(--media-preview-fit, cover) !important;
  filter: blur(15px) !important;
  transform: scale(1.035) !important;
  opacity: 1;
  pointer-events: none;
  z-index: 5;
  transition: opacity .42s ease;
}
.media-preview-layer.is-finished { opacity: 0; }
.hero-card__plate.media-preview-layer {
  filter: blur(15px) brightness(.5) !important;
  transform: scale(1.06) !important;
}
.hero-card__person.media-preview-layer {
  inset: auto !important;
  left: 50% !important;
  bottom: 0 !important;
  width: auto !important;
  height: 132% !important;
  object-fit: contain !important;
  transform: translateX(-50%) translate3d(0, var(--py, 0px), 0) scale(var(--pys, 1)) !important;
}
.media-load-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 8;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: rgba(17, 30, 50, .55);
  backdrop-filter: blur(8px);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.media-load-indicator::before {
  content: "";
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255,255,255,.36);
  border-top-color: #fff;
  border-radius: 50%;
  animation: media-spin .85s linear infinite;
}
.media-load-indicator.is-error {
  width: auto;
  height: auto;
  padding: 9px 12px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  white-space: nowrap;
}
.media-load-indicator.is-error::before { display: none; }
@keyframes media-spin { to { transform: rotate(360deg); } }

.lightbox-inner { position: relative; }
.lightbox-media { position: relative; display: inline-flex; max-width: 100%; max-height: 82vh; }
.lightbox-media > img { width: auto; height: auto; }
.lightbox-inner.is-media-pending .lightbox-media > img { filter: blur(12px); }
.lightbox-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: none;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  background: rgba(12, 24, 43, .72);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 12px;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.lightbox-inner.is-media-waiting .lightbox-loader { display: flex; }
.lightbox-loader__ring {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: media-spin .85s linear infinite;
}
.lightbox-inner.is-media-error .lightbox-loader__ring { display: none; }
.lightbox-download {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 44px;
  height: 44px;
  overflow: hidden;
  padding: 0 13px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(24,36,54,.62);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  color: #fff;
  box-shadow: 0 8px 28px rgba(0,0,0,.22);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: width .32s ease, background-color .25s ease;
}
.lightbox-download:hover, .lightbox-download:focus-visible { width: 138px; background: rgba(45,60,80,.86); }
.lightbox-download svg { flex: none; width: 16px; height: 16px; fill: currentColor; }
.lightbox-download span { opacity: 0; transition: opacity .18s ease; }
.lightbox-download:hover span, .lightbox-download:focus-visible span { opacity: 1; }
@media (max-width: 640px) {
  .hero-card__person.media-preview-layer { height: 128% !important; }
  .lightbox-download { right: 10px; bottom: 10px; }
}
@media (max-width: 640px), (hover: none) {
  .lightbox-download,
  .lightbox-download:hover,
  .lightbox-download:focus-visible { width: 44px; }
  .lightbox-download span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .media-preview-layer { transition: none; }
  .media-load-indicator::before, .lightbox-loader__ring { animation: none; }
}
