/* Reading surfaces distilled from the existing blue/gold city and nebula palettes. */
.society-reading {
  --reading-base:#292747;
  --reading-wash:radial-gradient(ellipse at 10% 7%,rgba(178,141,86,.25),transparent 58%),radial-gradient(ellipse at 92% 78%,rgba(115,65,123,.32),transparent 62%),linear-gradient(145deg,#344564 0%,#343352 40%,#372d50 72%,#46334f 100%);
  --reading-panel:linear-gradient(140deg,rgba(44,49,82,.97),rgba(48,38,72,.96) 62%,rgba(57,39,75,.97));
  --reading-secondary:linear-gradient(135deg,#3b3e64,#493755);
  --reading-line:rgba(217,193,236,.24);
  --reading-shadow:rgba(13,11,34,.3);
}
.science-reading {
  --reading-base:#102535;
  --reading-wash:radial-gradient(ellipse at 15% 8%,rgba(100,150,157,.24),transparent 60%),radial-gradient(ellipse at 90% 80%,rgba(172,143,95,.2),transparent 62%),linear-gradient(150deg,#2b4b5b 0%,#1d374b 40%,#172b3f 70%,#343b45 100%);
  --reading-panel:linear-gradient(140deg,rgba(27,52,68,.97),rgba(22,42,59,.96) 64%,rgba(37,47,58,.97));
  --reading-secondary:linear-gradient(135deg,#2d4c5c,#303f50);
  --reading-line:rgba(173,207,219,.25);
  --reading-shadow:rgba(2,13,25,.3);
}
.collection-reading { background:var(--reading-base); }
.collection-reading .app-layout {
  background-color:var(--reading-base);
  background-image:var(--reading-wash);
  background-position:center;
  background-size:cover;
  background-attachment:fixed;
  background-repeat:no-repeat;
}
.collection-reading .app-content { background:transparent; isolation:auto; }
.collection-reading .app-content::before { display:none; }
.collection-reading .navigation-rail {
  background:rgba(15,21,38,.15);
  border-right-color:var(--reading-line);
  box-shadow:inset -1px 0 rgba(245,229,208,.08);
}
.collection-reading .rail-item:hover { background:var(--art-hover); }
.collection-reading .rail-item.selected .rail-indicator,
.collection-reading.rail-expanded .rail-item.selected {
  background:var(--art-selected);
  color:var(--md-sys-color-on-primary-container);
  box-shadow:inset 0 0 0 1px var(--reading-line),0 4px 12px var(--reading-shadow);
}
.collection-reading .rail-item.selected .rail-label { color:var(--md-sys-color-on-primary-container); }
.collection-reading.rail-expanded .rail-item.selected .rail-indicator { background:transparent; box-shadow:none; }
.collection-reading .reading-card,.collection-reading .comments-area {
  background:var(--reading-panel);
  box-shadow:0 12px 32px -18px var(--reading-shadow),inset 0 1px 0 var(--reading-line);
}
.collection-reading .post-navigation a,.collection-reading .member-comment-gate {
  background:var(--reading-secondary);
  color:var(--md-sys-color-on-surface);
  box-shadow:inset 0 1px 0 var(--reading-line);
}
.collection-reading .article-content .article-byline,
.collection-reading .article-content .doc-image-figure figcaption { color:var(--md-sys-color-on-surface-variant); }
.collection-reading .site-footer { text-shadow:none; }
@media(forced-colors:active) {
  .collection-reading,.collection-reading .app-layout,.collection-reading .app-content,
  .collection-reading .navigation-rail,.collection-reading .reading-card,.collection-reading .comments-area,
  .collection-reading .post-navigation a,.collection-reading .member-comment-gate {
    background:Canvas; color:CanvasText; box-shadow:none; border-color:CanvasText;
  }
  .collection-reading .rail-item:not(.selected) { color:CanvasText; text-shadow:none; }
  .collection-reading .rail-item.selected .rail-indicator,
  .collection-reading.rail-expanded .rail-item.selected { background:Highlight; color:HighlightText; box-shadow:none; }
}
