/* 摄影瀑布流、推荐歌单、占位播放器、侧栏「正在听 / 最新作品」——站点级，不改主题源码 */

.photo-page-lead {
  margin: 0 0 1.4rem;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  background: color-mix(in srgb, var(--theme-color) 10%, var(--card-bg, #fff));
  color: var(--font-color);
  line-height: 1.7;
}

.photo-group { margin: 0 0 2.4rem; }
.photo-group__title {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  margin: 0 0 1rem;
  font-size: 1.35rem;
}
.photo-group__count {
  font-size: .85rem;
  opacity: .7;
  font-weight: 400;
}

/* CSS columns waterfall */
.photo-waterfall {
  column-count: 3;
  column-gap: 12px;
}
@media (max-width: 900px) { .photo-waterfall { column-count: 2; } }
@media (max-width: 560px) { .photo-waterfall { column-count: 1; } }

.photo-waterfall a {
  display: block;
  break-inside: avoid;
  margin: 0 0 12px;
  border-radius: 10px;
  overflow: hidden;
  background: color-mix(in srgb, var(--font-color) 6%, transparent);
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
.photo-waterfall img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
  transition: transform .35s ease;
}
.photo-waterfall a:hover img { transform: scale(1.04); }

.playlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  margin: 1rem 0 1.6rem;
}
.playlist-card {
  display: block;
  padding: 1rem 1.1rem 1.05rem;
  border-radius: 14px;
  text-decoration: none !important;
  color: var(--font-color) !important;
  background: color-mix(in srgb, var(--card-bg, #fff) 86%, transparent);
  border: 1px solid color-mix(in srgb, var(--theme-color) 28%, transparent);
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.playlist-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.1); }
.playlist-card__eyebrow {
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--theme-color);
  margin: 0 0 .35rem;
}
.playlist-card__title { margin: 0 0 .45rem; font-size: 1.05rem; }
.playlist-card__songs {
  margin: 0;
  padding-left: 1.1rem;
  opacity: .82;
  font-size: .88rem;
  line-height: 1.6;
}
.playlist-card__note { margin: .6rem 0 0; font-size: .78rem; opacity: .65; }

.fomal-music-placeholder {
  margin: 1rem 0;
  padding: 1.2rem 1.3rem;
  border-radius: 14px;
  border: 1px dashed color-mix(in srgb, var(--theme-color) 45%, transparent);
  background: color-mix(in srgb, var(--theme-color) 8%, var(--card-bg, #fff));
}
.fomal-music-placeholder__title { margin: 0 0 .4rem; font-weight: 600; }
.fomal-music-placeholder__desc { margin: 0; line-height: 1.7; }

/* APlayer：跟 Fomalhaut 卡片走，不用网易云红 */
.fomal-meting--page { margin: 1rem 0 1.5rem; }
body .aplayer {
  border-radius: 14px !important;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.08) !important;
  background: color-mix(in srgb, var(--card-bg, #fff) 90%, transparent) !important;
}
body .aplayer .aplayer-info .aplayer-music .aplayer-title { color: var(--font-color); }
body .aplayer .aplayer-info .aplayer-music .aplayer-author { opacity: .7; }
body .aplayer .aplayer-bar-wrap .aplayer-bar .aplayer-played,
body .aplayer .aplayer-bar-wrap .aplayer-bar .aplayer-played .aplayer-thumb,
body .aplayer .aplayer-volume .aplayer-volume-bar .aplayer-volume {
  background: var(--theme-color) !important;
  background-color: var(--theme-color) !important;
}
body .aplayer.aplayer-fixed { box-shadow: 0 -6px 24px rgba(0,0,0,.12) !important; }

.card-nowplaying .nowplaying-body,
.card-latest-works .latest-works-body { font-size: .92rem; line-height: 1.6; }
.nowplaying-title { font-weight: 600; margin: 0 0 .25rem; }
.nowplaying-meta { margin: 0; opacity: .75; font-size: .82rem; }
.latest-works-list { list-style: none; margin: 0; padding: 0; }
.latest-works-list li { margin: 0 0 .55rem; }
.latest-works-list a {
  display: block;
  color: var(--font-color);
  text-decoration: none;
}
.latest-works-list a:hover { color: var(--theme-color); }
.latest-works-list .lw-date { display: block; font-size: .75rem; opacity: .6; }


/* 空分组 / 整理中：夜间磨砂空状态 */
.photo-empty,
.ft-links-empty {
  margin: 0.8rem 0 1.2rem;
  padding: 1.15rem 1.3rem;
  border-radius: 8px;
  border: 1px dashed color-mix(in srgb, var(--rei-ice, #6AA3B5) 38%, transparent);
  background: color-mix(in srgb, #0B1C2C 72%, transparent);
  color: #E6EDF2;
  text-align: center;
  letter-spacing: 0.06em;
}
html[data-theme="dark"] .photo-empty,
html[data-theme="dark"] .ft-links-empty,
html[data-theme="dark"] .photo-page-lead {
  background: color-mix(in srgb, #0B1C2C 72%, transparent) !important;
  color: #E6EDF2 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}
html[data-theme="dark"] .photo-group {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}
.ft-links-empty {
  margin: 0.4rem 0 0;
  font-size: 0.92rem;
}
