/* ============================================================
   专辑详情页（CollectionDetail）—— 2026 明亮科技风皮肤
   仅覆盖本页新增类，复用 site.css 的 .gwall / .gcard / .section / .container
   ============================================================ */

.crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--c-muted);
  margin: 0 0 16px;
}
.crumb a { color: var(--c-ink-soft); text-decoration: none; }
.crumb a:hover { color: var(--c-blue); }
.crumb i { font-style: normal; color: var(--c-faint); }
.crumb span { color: var(--c-ink); font-weight: 600; }

/* ---------- 专辑头部 ---------- */
.albhero {
  position: relative;
  padding: 38px 0 44px;
  background:
    radial-gradient(900px 380px at 12% -10%, rgba(43, 107, 255, .14), transparent 62%),
    radial-gradient(700px 320px at 88% 0%, rgba(0, 210, 228, .16), transparent 60%),
    linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
  border-bottom: 1px solid var(--c-line);
  overflow: hidden;
}
.albhero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 40px;
  align-items: center;
}
.albhero h1 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.22;
  letter-spacing: -.01em;
  margin: 10px 0 14px;
  color: var(--c-ink);
}
.albhero p {
  margin: 0 0 18px;
  max-width: 60ch;
  font-size: 15px;
  line-height: 1.78;
  color: var(--c-ink-soft);
}
.albhero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--c-muted);
}
.albhero__meta b { color: var(--c-blue); font-size: 16px; }
.albhero__acts { display: flex; flex-wrap: wrap; gap: 12px; }
.albhero__art {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-3);
  background: linear-gradient(150deg, #dbe8ff, #f2f7ff);
  aspect-ratio: 16 / 10;
}
.albhero__art img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- 主题卡片补充（详情/安装双按钮） ---------- */
.gcard__acts {
  display: flex;
  gap: 8px;
  padding: 0 13px 14px;
  margin-top: auto;
}
.gcard__acts .gcard__dl {
  flex: 1 1 0;
  margin-top: 0;
  padding: 7px 4px;
  font-size: 12px;
  white-space: nowrap;
}
.gcard__dl--alt {
  background: #fff;
  border-color: var(--c-line-strong);
  color: var(--c-ink-soft);
}
.gcard__dl--alt:hover { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }
.gcard__meta { display: block; line-height: 1.6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- 分页（AspNetPager / Table 布局） ---------- */
.pagerbox { margin-top: 28px; overflow-x: auto; }
.pagerbox table { margin: 0 auto; border-collapse: separate !important; border-spacing: 6px 0 !important; }
.pagerbox table td { border: 0 !important; padding: 0 !important; }
.pagerbox a,
.pagerbox span,
.pagerbox .current {
  display: inline-block;
  min-width: 40px;
  height: 38px;
  line-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--c-line-strong);
  border-radius: 11px;
  background: #fff;
  color: var(--c-ink-soft);
  font-size: 13px;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}
.pagerbox a:hover { border-color: var(--c-blue); color: var(--c-blue); }
.pagerbox .current {
  background: var(--g-brand);
  border-color: transparent;
  color: #fff;
  font-weight: 700;
}
.pagerbox input[type="text"] {
  height: 38px;
  padding: 0 8px;
  border: 1px solid var(--c-line-strong);
  border-radius: 10px;
  font-size: 13px;
}
.pagerctrl { display: flex; justify-content: center; gap: 10px; margin-top: 12px; }
.pagerctrl input[type="submit"] { min-width: 96px; }

/* ---------- 相关文章 / 推荐专辑 ---------- */
.section--tight { padding-top: 6px; }
.twocol {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 26px;
}
.artbox {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 20px 22px 16px;
  box-shadow: var(--sh-1);
}
.artbox h3 { font-size: 17px; margin: 0; color: var(--c-ink); }
.artbox .sec-head { margin-bottom: 8px; }
.linkmore { font-size: 13px; color: var(--c-blue); text-decoration: none; }
.linkmore:hover { text-decoration: underline; }
.artlist { list-style: none; margin: 4px 0 0; padding: 0; }
.artlist li { border-bottom: 1px dashed var(--c-line); }
.artlist li:last-child { border-bottom: 0; }
.artlist a {
  display: block;
  padding: 10px 0;
  font-size: 14px;
  color: var(--c-ink-soft);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.artlist a:hover { color: var(--c-blue); }
.albrow {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
  gap: 14px;
  margin-top: 12px;
}
.albrow__item { display: block; text-decoration: none; color: var(--c-ink-soft); font-size: 13px; }
.albrow__item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 13px;
  border: 1px solid var(--c-line);
  display: block;
  margin-bottom: 7px;
  transition: transform .3s var(--e-out, ease), box-shadow .3s;
}
.albrow__item:hover img { transform: translateY(-3px); box-shadow: var(--sh-2); }
.albrow__item span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.albrow__item:hover span { color: var(--c-blue); }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .albhero__inner { gap: 28px; }
  .albhero h1 { font-size: 30px; }
}
@media (max-width: 900px) {
  .albhero { padding: 28px 0 32px; }
  .albhero__inner { grid-template-columns: minmax(0, 1fr); min-width: 0; gap: 22px; }
  .albhero__art { max-width: min(460px, 100%); width: 100%; order: -1; margin: 0 auto; }
  .twocol { grid-template-columns: 1fr; }
  .artbox { padding: 16px 16px 12px; }
}
@media (max-width: 640px) {
  .albhero h1 { font-size: 24px; }
  .albhero p { font-size: 14px; }
  .albhero__acts .btn { flex: 1 1 auto; text-align: center; }
  .gcard__acts { flex-direction: column; }
  .pagerbox a, .pagerbox .current { min-width: 34px; height: 34px; line-height: 32px; padding: 0 9px; }
}


/* ---------- 封面占位 / 标题栏对齐 ---------- */
.albhero__ph {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  color: var(--c-ink);
  background:
    radial-gradient(600px 300px at 20% 10%, rgba(43, 107, 255, .18), transparent 60%),
    linear-gradient(140deg, #eaf2ff, #ffffff 60%, #e7f8ff);
}
.albhero__ph span { font-size: 26px; font-weight: 800; letter-spacing: .02em; }
.albhero__ph small { font-size: 12px; color: var(--c-muted); letter-spacing: .14em; }
.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 18px; flex-wrap: wrap; width: 100%;
}
.sec-head__side { flex: 0 0 auto; }
/* 小屏防溢出 */
.albhero__text, .albhero p, .sec-head, .sec-head > div { min-width: 0; }
@media (max-width: 640px) {
  .sec-head { align-items: flex-start; }
  .sec-head h2 { font-size: 22px; }
  .albhero__meta { font-size: 12px; }
}