/* OMAL • Myst visual system • 2026-11-21
 * Single shared album appearance. The Fermenting Innards – Myst HTML/CSS is the
 * visual reference. This layer does NOT modify chapter navigation, source
 * popups, interview cards, content, links, translations or reader JavaScript.
 * Myst itself is intentionally excluded from the adaptation selectors.
 */

/* The small, direct interview-catalogue link replaces the separate TTS panel.
   It does NOT replace album-specific interview feature cards. */
.omal-exclusive-cta,
.omal-exclusive-cta:visited{
  box-sizing:border-box; display:flex; gap:13px; align-items:center;
  width:calc(100% - 32px); max-width:var(--gm-width,1000px);
  margin:13px auto 17px; padding:12px 17px;
  border:1px solid #bba078; border-left:4px solid #deb579;
  border-radius:13px;
  background:linear-gradient(110deg,rgba(36,49,61,.96),rgba(23,35,48,.96));
  box-shadow:0 5px 17px rgba(0,0,0,.16);
  color:#f7ead2; text-decoration:none;
  line-height:1.35; cursor:pointer;
}
.omal-exclusive-cta:hover{border-color:#e6ce9e;background:linear-gradient(110deg,#354455,#1c2f3e);color:#fff5df}
.omal-exclusive-cta:focus-visible{outline:3px solid #f2d7a0;outline-offset:3px}
.omal-exclusive-cta__icon{flex:0 0 auto;font-size:1.45rem;line-height:1;filter:saturate(.72)}
.omal-exclusive-cta__text{display:flex;flex:1 1 auto;flex-direction:column;gap:3px;min-width:0}
.omal-exclusive-cta__text strong{font:750 clamp(.93rem,1.3vw,1.07rem)/1.35 system-ui,-apple-system,'Segoe UI',sans-serif;color:#ffe8b8;overflow-wrap:anywhere}
.omal-exclusive-cta__text small{font:400 .79rem/1.4 system-ui,-apple-system,'Segoe UI',sans-serif;color:#d7e0e8}
.omal-exclusive-cta__action{flex:0 0 auto;display:inline-flex;gap:5px;align-items:center;font-size:.82rem;font-weight:700;color:#ffe4ac;white-space:nowrap}
body.catalog-page .hero-intro .omal-exclusive-cta{width:100%;max-width:640px;margin:17px 0 22px}
body.catalog-page .hero-intro .omal-exclusive-cta__text strong{font-size:clamp(.94rem,1.45vw,1.08rem)}

/* The other album readers inherit the geometry and nested-card hierarchy of
   Myst while retaining their own original cover images and album colours. */
body.omal-myst-unified:not(.album-theme-myst) .reader-cover{
  box-sizing:border-box;max-width:var(--gm-width,1000px);
  border-radius:24px!important; border-width:3px!important;
  padding:clamp(19px,3.2vw,33px)!important;
  gap:clamp(18px,2.8vw,26px)!important;
  box-shadow:0 18px 43px rgba(0,0,0,.25)!important;
  overflow:visible;min-width:0;
}
body.omal-myst-unified:not(.album-theme-myst) .reader-cover>.reader-cover-main{
  min-width:0;align-self:start;max-width:100%;
}
body.omal-myst-unified:not(.album-theme-myst) .reader-cover .eyebrow{
  font-size:clamp(.78rem,1.25vw,.93rem);font-weight:800;letter-spacing:.17em;
  line-height:1.6;overflow-wrap:anywhere;
}
body.omal-myst-unified:not(.album-theme-myst) .reader-cover h2{
  font-family:Georgia,'Times New Roman',serif!important;
  font-size:clamp(2.15rem,4vw,3.65rem)!important;
  line-height:1.16!important;margin:13px 0 19px!important;
}
body.omal-myst-unified:not(.album-theme-myst) .reader-cover .reader-release{
  display:flex;gap:7px 12px;flex-wrap:wrap;align-items:baseline;margin-bottom:18px;
}
body.omal-myst-unified:not(.album-theme-myst) .reader-cover-languages{
  display:flex;flex-wrap:wrap;gap:8px;
  border:1px solid var(--album-border,var(--gm-border,#789ab1));
  padding:13px 15px!important;border-radius:15px!important;
  background:rgba(8,20,32,.30);max-width:100%;width:max-content;
}
body.omal-myst-unified:not(.album-theme-myst) .reader-cover>img,
body.omal-myst-unified:not(.album-theme-myst) .reader-cover>.reader-cover-art img{
  display:block;object-fit:contain!important;aspect-ratio:auto!important;
  height:auto!important;max-width:100%!important;max-height:610px;
  border-radius:13px!important;
}
body.omal-myst-unified:not(.album-theme-myst) .reader-cover>.reader-cover-art{
  box-sizing:border-box;min-width:0;max-width:100%;position:static;
  align-self:center;justify-self:center;
}
/* Full original cover copyright, licensing and permission block: inside hero
   where already present; existing outside-hero credits stay after the hero. */
body.omal-myst-unified:not(.album-theme-myst) .reader-cover>.cover-permission-credit{
  grid-column:1/-1;width:100%;margin-top:8px!important;min-width:0;
  border:1px solid #b69d83!important;border-radius:15px!important;
  background:linear-gradient(112deg,rgba(38,24,32,.94),rgba(25,27,34,.97))!important;
  color:#f2e4d4;padding:19px 23px!important;
}
body.omal-myst-unified:not(.album-theme-myst) .reader-column>.cover-permission-credit,
body.omal-myst-unified:not(.album-theme-myst) .reader-column>.bork-credit,
body.omal-myst-unified:not(.album-theme-myst) .reader-column>.atro-credit,
body.omal-myst-unified:not(.album-theme-myst) .reader-column>.iu-hero-credit,
body.omal-myst-unified:not(.album-theme-myst) .reader-column>.anarhia-cover-credit{
  box-sizing:border-box;width:calc(100% - 32px);max-width:var(--gm-width,1000px);
  margin:12px auto 22px;padding:17px 21px;
  border:1px solid #b69d83;border-radius:15px;
  background:linear-gradient(112deg,rgba(38,24,32,.94),rgba(25,27,34,.97));
  color:#f4e6d3;line-height:1.6;overflow-wrap:anywhere;
}
/* Myst album-detail card style, same section hierarchy on every reader. */
body.omal-myst-unified:not(.album-theme-myst) .album-facts{
  box-sizing:border-box;border-radius:24px!important;border-width:3px!important;
  padding:clamp(17px,3vw,30px)!important;
  box-shadow:0 16px 38px rgba(0,0,0,.22)!important;
  overflow-wrap:anywhere;
}
body.omal-myst-unified:not(.album-theme-myst) .album-facts .album-facts-heading{
  font:700 clamp(1.55rem,2.75vw,2.2rem)/1.25 Georgia,serif!important;
  padding-bottom:18px!important;margin:0 0 21px!important;
  border-bottom:1px solid rgba(188,210,224,.5)!important;
}
body.omal-myst-unified:not(.album-theme-myst) .album-facts .bork-facts-grid,
body.omal-myst-unified:not(.album-theme-myst) .album-facts .atro-facts-grid{
  display:grid;grid-template-columns:minmax(0,1fr)!important;
  gap:15px!important;min-width:0;
}
body.omal-myst-unified:not(.album-theme-myst) .album-facts .album-facts-grid{
  display:grid;grid-template-columns:minmax(0,1fr)!important;
  gap:15px!important;min-width:0;
}
body.omal-myst-unified:not(.album-theme-myst) .album-facts .album-facts-panel,
body.omal-myst-unified:not(.album-theme-myst) .album-facts .album-facts-links,
body.omal-myst-unified:not(.album-theme-myst) .album-facts .album-physical{
  box-sizing:border-box;max-width:100%;min-width:0;
  border-radius:17px!important;
  border:1px solid rgba(162,185,213,.55)!important;
  background:linear-gradient(145deg,rgba(49,74,107,.77),rgba(30,49,77,.72))!important;
  padding:clamp(15px,2.2vw,24px)!important;
  margin-block:12px;
}
body.omal-myst-unified:not(.album-theme-myst) .album-facts .album-facts-panel h3,
body.omal-myst-unified:not(.album-theme-myst) .album-facts .album-facts-links h3,
body.omal-myst-unified:not(.album-theme-myst) .album-facts .album-physical h3{
  font-family:Georgia,'Times New Roman',serif!important;
  font-size:clamp(1.17rem,2.1vw,1.55rem);
  line-height:1.35;
}
body.omal-myst-unified:not(.album-theme-myst) .reader-paper{
  border-radius:20px!important;box-shadow:0 13px 35px rgba(4,15,30,.26)!important;
}
body.omal-myst-unified:not(.album-theme-myst) .reader-paper .chapter h2{
  font-family:Georgia,'Times New Roman',serif!important;
  line-height:1.28!important;
}
body.omal-myst-unified:not(.album-theme-myst) .reader-paper .chapter p{
  line-height:1.82!important;overflow-wrap:break-word;
}
/* Preserve the already approved interview integration exactly: no rule here
   targets .iu-interview-feature, .sd-interview-feature or separate Q&A pages. */

/* Sadist is the only different album DOM structure; map its existing album
   panels to the same Myst geometry without touching its interview Q&A. */
body.sadist-page.omal-myst-unified .sd-hero{
  border-radius:24px!important;border-width:3px!important;
  padding:clamp(20px,3.2vw,33px)!important;
  box-shadow:0 18px 43px rgba(0,0,0,.25)!important;
  overflow:visible;min-width:0;
}
body.sadist-page.omal-myst-unified .sd-hero h1{
  font-family:Georgia,'Times New Roman',serif!important;
  font-size:clamp(2.15rem,4vw,3.65rem)!important;
}
body.sadist-page.omal-myst-unified .sd-cover,
body.sadist-page.omal-myst-unified .sd-cover img{
  box-sizing:border-box;max-width:100%!important;height:auto!important;
  object-fit:contain!important;
}
body.sadist-page.omal-myst-unified .sd-etalon-facts{
  border-radius:24px!important;border-width:3px!important;
}
body.sadist-page.omal-myst-unified .sd-etalon-facts>.sd-master-facts-subsection{
  border-radius:17px!important;
}

@media (max-width:1100px){
  body.omal-myst-unified:not(.album-theme-myst) .reader-cover,
  body.sadist-page.omal-myst-unified .sd-hero{
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:auto!important;gap:19px!important;
    align-items:start!important;
  }
  body.omal-myst-unified:not(.album-theme-myst) .reader-cover>.reader-cover-main{
    grid-column:1;grid-row:1;
  }
  body.omal-myst-unified:not(.album-theme-myst) .reader-cover>img,
  body.omal-myst-unified:not(.album-theme-myst) .reader-cover>.reader-cover-art{
    position:static!important;inset:auto!important;transform:none!important;
    grid-column:1!important;grid-row:2!important;
    width:min(100%,440px)!important;max-width:100%!important;
    justify-self:center!important;align-self:center;
    margin-inline:auto!important;
  }
  body.omal-myst-unified:not(.album-theme-myst) .reader-cover>.cover-permission-credit{
    grid-column:1!important;grid-row:3!important;
  }
  body.sadist-page.omal-myst-unified .sd-hero>.sd-hero-copy{grid-column:1!important;grid-row:1!important}
  body.sadist-page.omal-myst-unified .sd-hero>.sd-cover{
    grid-column:1!important;grid-row:2!important;
    width:min(100%,360px)!important;
    position:static!important;justify-self:center!important;
  }
}
@media(max-width:620px){
  .omal-exclusive-cta,.omal-exclusive-cta:visited{
    width:calc(100% - 18px);padding:11px 12px;gap:9px;
    align-items:flex-start;margin:10px auto 14px;
  }
  .omal-exclusive-cta__icon{font-size:1.22rem;padding-top:2px}
  .omal-exclusive-cta__text strong{font-size:.88rem}
  .omal-exclusive-cta__text small{font-size:.73rem}
  .omal-exclusive-cta__action{font-size:.73rem;white-space:normal;max-width:90px;text-align:right;align-self:center}
  body.catalog-page .hero-intro .omal-exclusive-cta{width:100%;padding:12px}
  body.omal-myst-unified:not(.album-theme-myst) .reader-cover,
  body.sadist-page.omal-myst-unified .sd-hero{width:calc(100% - 18px);padding:17px!important}
  body.omal-myst-unified:not(.album-theme-myst) .reader-cover>img,
  body.omal-myst-unified:not(.album-theme-myst) .reader-cover>.reader-cover-art{
    width:min(100%,360px)!important;
  }
  body.omal-myst-unified:not(.album-theme-myst) .album-facts{width:calc(100% - 18px);padding:15px!important}
  body.omal-myst-unified:not(.album-theme-myst) .album-facts .album-facts-panel,
  body.omal-myst-unified:not(.album-theme-myst) .album-facts .album-facts-links,
  body.omal-myst-unified:not(.album-theme-myst) .album-facts .album-physical{padding:14px!important}
}
