/* Immortal – At the Heart of Winter: isolated copper/green/black album theme. */
body.album-theme-immortal{
 --accent:#d6c68f;--album-accent:#c7ad6d;--album-ink:#172018;
 --album-panel:#33171c;--album-border:#994f57;--album-soft:#f1e3e1;
 --album-glow:#d54a44;--album-highlight:#f9dad4;--album-subtle:#cf9e9f;
 --album-mist:#9d4b53;--album-paper:#f6f0ed;--album-text:#2c2021;
 background:radial-gradient(ellipse at 75% 0%,#3b4223 0%,#252218 36%,#15190e 70%,#090b08 100%);
 background-attachment:fixed;
}
body.album-theme-immortal .chapter .ch-label,body.album-theme-immortal .reader-paper h3{color:#813742}
body.album-theme-immortal .reader-paper.dark h3{color:#f3bbb3}
body.album-theme-immortal .reader-release,body.album-theme-immortal .reader-cover-description{color:#f1d4d0}
body.album-theme-immortal .reader-paper.dark{background:#21191c;color:#f8e8e3}
body.album-theme-immortal .reader-paper.dark .chapter h2{color:#fff1e9}
body.album-theme-immortal .reader-paper.dark .ch-label{color:#f0afab}
body.album-theme-immortal .cover-analysis-skip{max-width:835px;margin:.4rem auto 1rem}
body.album-theme-immortal .chapter h3{scroll-margin-top:6rem}

/* Responsive treatment of the physical-purchase group; scoped to Immortal. */
body.album-theme-immortal .album-physical-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.album-theme-immortal .album-physical-card{min-width:0;overflow-wrap:anywhere;word-break:normal}
@media(max-width:720px){body.album-theme-immortal .album-physical-grid{grid-template-columns:minmax(0,1fr)}}

/* V2.0 standalone Immortal refinements. Album-specific identity; no borrowed page template. */
body.album-theme-immortal .album-facts{
 --fact-gold:#efd1a0;--fact-light:#faeff0;--fact-border:rgba(239,193,153,.52);
 background:radial-gradient(ellipse at 96% 1%,rgba(129,59,67,.40),transparent 55%),linear-gradient(145deg,#39252b 0%,#1c2023 75%);
}
body.album-theme-immortal .album-facts-heading{color:#fff2dd;border-bottom-color:rgba(232,186,124,.78)}
body.album-theme-immortal .album-facts-heading-rule{display:block;height:7px;width:7px;flex:none;border:1px solid #e7bf82;background:#ab6c59;transform:rotate(45deg);border-radius:1px}
body.album-theme-immortal .album-facts-panel{background:linear-gradient(135deg,rgba(21,22,23,.45),rgba(31,17,24,.35));border-color:rgba(237,195,159,.30)}
body.album-theme-immortal .album-facts-links{background:rgba(27,18,24,.35);border-color:rgba(237,195,159,.30)}
body.album-theme-immortal .album-facts-total{align-items:center;flex-wrap:wrap;gap:8px}
body.album-theme-immortal .album-facts-total strong{font-size:1.12em;color:#ffedc4;white-space:nowrap;font-variant-numeric:tabular-nums}
body.album-theme-immortal .album-facts-linkgrid{grid-template-columns:repeat(3,minmax(0,1fr))}
body.album-theme-immortal .album-facts-buy{grid-column:auto;background:linear-gradient(130deg,#74532f,#432c31);border-color:#cba775}
body.album-theme-immortal .album-facts-digital{margin-top:12px;padding-top:12px;border-top:1px solid rgba(235,196,144,.23)}
body.album-theme-immortal .album-facts-digital a{max-width:520px}
body.album-theme-immortal .album-facts-link{min-width:0;overflow-wrap:anywhere}
body.album-theme-immortal .album-facts-brand-icon{filter:drop-shadow(0 1px 2px rgba(0,0,0,.34))}
body.album-theme-immortal .reader-top .reader-actions a.flagged-top-language:focus-visible{outline:2px solid #f3c98a;outline-offset:3px}
body.album-theme-immortal .album-facts-panel .album-facts-data{display:grid;gap:6px;margin:0}
body.album-theme-immortal .album-facts-panel .album-facts-data .album-facts-pair{padding:0}
@media(max-width:620px){body.album-theme-immortal .album-facts-linkgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:370px){body.album-theme-immortal .album-facts-linkgrid{grid-template-columns:minmax(0,1fr)}}

/* Ice-blue Immortal palette: isolated from the Gehenna reference implementation. */
body.album-theme-immortal{--accent:#cddcf4;--album-accent:#b7cbe9;--album-ink:#18283e;--album-panel:#202e48;--album-border:#708caf;--album-soft:#d5e4f7;--album-glow:#587eac;--album-highlight:#ddeaff;--album-subtle:#aac3db;--album-mist:#7296ba;--album-paper:#f2f5fb;--album-text:#25344b;background:radial-gradient(ellipse at 65% 0%,#354a66 0%,#1c2b3c 39%,#0e1621 100%)}
body.album-theme-immortal .sidebar{background:linear-gradient(155deg,#182639,#101721);border-color:#496181}
body.album-theme-immortal .reader-cover{background:linear-gradient(140deg,#263e5c 0%,#324b6b 48%,#15253a 100%);border-color:#8ca8d0}
body.album-theme-immortal .reader-top{background:#1c2a3de8;border-bottom-color:#5e7290}
body.album-theme-immortal .reader-cover .eyebrow{color:#c1d7f3}
body.album-theme-immortal .chapter .ch-label,body.album-theme-immortal .reader-paper h3{color:#405d89}
body.album-theme-immortal .reader-paper.dark .chapter .ch-label,body.album-theme-immortal .reader-paper.dark h3{color:#c1d7f3}
body.album-theme-immortal .reader-cover .reader-release,body.album-theme-immortal .reader-cover .reader-cover-description{color:#dbe8fc}
body.album-theme-immortal .reader-paper{background:#f4f6fb;color:#243044}
body.album-theme-immortal .reader-paper.dark{background:#1c2839;color:#e7f1ff}
body.album-theme-immortal .album-facts{background:linear-gradient(140deg,#243750,#182636);--fact-gold:#d6e5fb;--fact-light:#edf4ff;--fact-border:rgba(160,192,230,.48)}
body.album-theme-immortal .album-facts-panel{background:linear-gradient(135deg,#25364d,#1c2b3d);border-color:rgba(173,202,239,.32)}
body.album-theme-immortal .album-facts-links{background:#233348;border-color:#6b86a7}
body.album-theme-immortal .omal-immortal-sources__root{background:linear-gradient(135deg,#253851,#111b2a);border-color:#7994b7}
body.album-theme-immortal .omal-immortal-cite-popup{background:#1b2b41;border-color:#8ba9c7}

body.album-theme-immortal .immortal-cover-permission{margin:18px 0 20px;padding:14px 18px;border:1px solid rgba(166,196,231,.66);border-radius:11px;background:rgba(14,29,49,.63);max-width:690px;color:#e0eafe;font-size:.89rem;line-height:1.6;overflow-wrap:anywhere}
body.album-theme-immortal .immortal-cover-permission__kicker{margin:0 0 7px;letter-spacing:.09em;text-transform:uppercase;color:#b9d1f5;font-size:.76rem;font-weight:700}
body.album-theme-immortal .immortal-cover-permission__line{margin:3px 0}
body.album-theme-immortal .immortal-cover-permission__label{color:#d4e6fa}
body.album-theme-immortal .immortal-cover-permission a{color:#a9d2ff;text-underline-offset:3px}
body.album-theme-immortal .immortal-cover-permission__scope{margin:10px 0 0;color:#c7d7ef}

/* 2026-10-22 – IMMORTAL ONLY: original front cover and fully spanning rights panel.
   The existing two-column cover layout, other albums and reader controls are preserved. */
body.album-theme-immortal .reader-cover > .immortal-cover-permission {
  grid-column: 1 / -1;
  justify-self: stretch;
  align-self: stretch;
  width: 100%;
  max-width: none;
  min-width: 0;
  box-sizing: border-box;
  margin: 0 0 2px;
  padding: 18px clamp(16px,2.5vw,26px);
  overflow-wrap: anywhere;
}
body.album-theme-immortal .immortal-cover-permission__label {margin-right:.18em}
body.album-theme-immortal .reader-cover > img {
  object-fit: contain;
  height: auto;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 100%;
  display: block;
}
@media (max-width:620px) {
 body.album-theme-immortal .reader-cover > .immortal-cover-permission {
  padding: 14px 15px;
  margin: 0;
  font-size: 13px;
 }
}
