/* 藏書閣 v6：保留 v5 背景提亮和卡片置中，主圖尺寸還原 v4。 */
/* 繼續使用原本月夜圖，不重畫、不替換任何原始圖片。 */
.library-shell::before{filter:brightness(1.12) saturate(1.04)}
.library-shell::after{
  background:linear-gradient(180deg,rgba(21,13,35,.08),rgba(21,13,35,.12) 55%,rgba(16,11,26,.17))!important;
}
.library-journeys-shade{
  background:linear-gradient(180deg,rgba(24,15,33,.12),rgba(24,15,33,.06) 48%,rgba(19,13,27,.17))!important;
}
.library-journeys::before{
  box-shadow:inset 0 8px 20px rgba(15,9,19,.12),inset 0 -22px 35px rgba(15,9,19,.13)!important;
}
/* 原本整塊深紫色背景蓋住壁畫；改成輕微陰影，保留可讀文字的卡面。 */
.library-collection{
  width:min(100%,900px);
  max-width:900px;
  margin:24px auto 56px!important;
  padding:28px 24px 46px!important;
  background:linear-gradient(180deg,rgba(26,18,39,.14),rgba(25,18,35,.18))!important;
  border:1px solid rgba(235,189,122,.19);
  border-radius:22px!important;
  box-shadow:0 7px 28px rgba(12,8,21,.12);
}
.library-collection::before{opacity:.16!important}
.library-grid{
  width:100%;margin:0 auto;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.library-card{
  min-height:215px;
  padding:19px 19px 16px;
  background:linear-gradient(150deg,rgba(62,43,65,.91),rgba(36,28,48,.94));
  box-shadow:0 8px 20px rgba(10,7,16,.24),inset 0 0 0 1px rgba(244,210,161,.08);
}
.library-card h3{font-size:18px}
.collection-heading h2,.library-results-label,.collection-heading p{text-shadow:0 2px 8px rgba(11,5,19,.65)}
@media(max-width:900px){
 .library-collection{width:calc(100% - 32px);padding:25px 19px 39px!important}
}
@media(max-width:650px){
 .library-collection{width:calc(100% - 20px);margin:14px auto 34px!important;padding:20px 12px 33px!important;border-radius:16px!important}
 .library-grid{grid-template-columns:1fr;gap:11px}
 .library-card{min-height:195px;padding:16px 15px 14px}
 .library-card h3{font-size:17px}
}
