/* Décors originaux des romans, inspirés d'ambiances, non de fichiers Pinterest.
   Optimisés pour privilégier l'atmosphère sans compromettre le texte. */
body.book-body{background-attachment:fixed}
.book-body.theme-requiem{
 --book-bg:#10121a;--book-glow:#84546d;
 --book-accent:#dfbdaf;--book-smoke:rgba(94,108,133,.18);
 --book-line:rgba(187,185,198,.3);
 background:
 radial-gradient(ellipse 69% 28% at 80% 8%,rgba(113,82,112,.35),transparent 70%),
 radial-gradient(ellipse 55% 32% at 15% 65%,rgba(111,71,53,.09),transparent 74%),
 linear-gradient(155deg,#06070b 0%,#161923 51%,#07070c 100%);
}
.book-body.theme-interpolis{
 --book-bg:#061423;--book-glow:#147ea3;
 --book-accent:#87e7f4;--book-smoke:rgba(11,122,160,.24);
 --book-line:rgba(105,206,234,.3);
 background:
 radial-gradient(ellipse 76% 26% at 86% 11%,rgba(31,101,159,.25),transparent 70%),
 radial-gradient(ellipse 38% 40% at 7% 63%,rgba(151,29,126,.12),transparent 69%),
 linear-gradient(150deg,#050812 0%,#0b2031 48%,#060a15 100%);
}
.book-body .book-hero{min-height:760px}
.book-body .book-hero::after{
 content:"";position:absolute;inset:0;pointer-events:none;
 background-size:cover;background-repeat:no-repeat;
 background-position:65% center;z-index:-1;
 transform:none;mask-image:none;-webkit-mask-image:none;
 opacity:1;
}
.book-body.theme-requiem .book-hero::after{background-image:url("assets/decor/requiem-victorian-rain.svg");opacity:.88}
.book-body.theme-interpolis .book-hero::after{background-image:url("assets/decor/interpolis-neon-rain.svg");opacity:.91}
.book-body .book-hero::before{
 content:"";position:absolute;inset:0;pointer-events:none;z-index:0;
 transform:none;opacity:1;
 background:
 linear-gradient(0deg,rgba(5,7,14,.77),transparent 32%,transparent 78%,rgba(5,7,14,.22)),
 linear-gradient(90deg,rgba(6,7,13,.99) 0%,rgba(6,7,13,.93) 20%,rgba(6,7,13,.78) 41%,rgba(6,7,13,.29) 70%,rgba(6,7,13,.08) 100%);
}
.book-body.theme-interpolis .book-hero::before{
 background:
 linear-gradient(0deg,rgba(3,8,18,.88),transparent 38%,rgba(4,7,17,.23) 93%),
 linear-gradient(90deg,rgba(3,7,17,.99) 0%,rgba(3,7,17,.94) 22%,rgba(3,7,17,.72) 44%,rgba(3,7,17,.22) 80%,rgba(3,7,17,.05) 100%);
}
.book-body .book-hero-content{z-index:3}
.book-body .book-hero-content .book-super{
 letter-spacing:.21em;text-shadow:0 3px 12px rgba(0,0,0,.7);
}
.book-body .book-hero h1{text-shadow:0 7px 38px rgba(0,0,0,.84)}
.theme-requiem .book-tagline{color:#e9c5b0;text-shadow:0 3px 21px rgba(0,0,0,.85)}
.theme-requiem .book-hero .book-intro{color:#e0d9dc}
.theme-interpolis .book-tagline{color:#92eeff;text-shadow:0 0 20px rgba(58,174,220,.19)}
.theme-interpolis .book-hero .book-intro{color:#d4e3ea}
.book-body .book-hero-data{
 position:relative;border-top:1px solid var(--book-line);
 background:rgba(4,8,13,.26);backdrop-filter:blur(7px);
}
.book-body .book-cover-display{z-index:3}
.theme-requiem .book-cover-halo{
 border:1px solid rgba(232,185,141,.43);
 background:linear-gradient(130deg,rgba(219,195,186,.18),rgba(9,10,17,.4));
 box-shadow:0 35px 95px rgba(0,0,0,.67),0 0 72px rgba(211,157,111,.13);
}
.theme-interpolis .book-cover-halo{
 border:1px solid rgba(121,221,246,.46);
 background:linear-gradient(130deg,rgba(57,172,211,.22),rgba(7,9,31,.47));
 box-shadow:0 35px 95px rgba(0,0,0,.64),0 0 75px rgba(46,215,248,.17);
}
.book-body .book-reading-shell{overflow:hidden}
.book-body .book-reading-shell::after{
 content:"";position:absolute;pointer-events:none;z-index:-1;
 width:min(88vw,1040px);height:920px;right:-24%;top:130px;
 background-size:cover;background-repeat:no-repeat;background-position:center;
 opacity:.105;filter:grayscale(.25);
 mask-image:radial-gradient(ellipse at center,#000 10%,transparent 73%);
 -webkit-mask-image:radial-gradient(ellipse at center,#000 10%,transparent 73%);
}
.theme-requiem .book-reading-shell::after{background-image:url("assets/decor/requiem-victorian-rain.svg")}
.theme-interpolis .book-reading-shell::after{background-image:url("assets/decor/interpolis-neon-rain.svg");opacity:.13}
.theme-requiem .book-world-strap{
 background:linear-gradient(90deg,#11141b,#29202a 50%,#1a151b);
 border-top:1px solid rgba(211,179,153,.25);
}
.theme-interpolis .book-world-strap{
 background:linear-gradient(90deg,#071928,#11263f 52%,#081725);
 border-top:1px solid rgba(64,195,230,.27);
}
.theme-requiem .book-character,.theme-requiem .book-motif{
 background:linear-gradient(143deg,rgba(35,31,40,.95),rgba(13,14,21,.98));
 box-shadow:inset 0 1px rgba(235,204,173,.08),0 12px 40px rgba(0,0,0,.15);
}
.theme-interpolis .book-character,.theme-interpolis .book-motif{
 background:linear-gradient(140deg,rgba(13,39,57,.96),rgba(5,14,29,.97));
 box-shadow:inset 0 1px rgba(111,216,241,.11),0 12px 40px rgba(0,0,0,.16);
}
.theme-requiem .book-editorial h2{text-shadow:0 4px 32px rgba(3,3,8,.4)}
.theme-interpolis .book-editorial h2{text-shadow:0 0 33px rgba(46,154,202,.11)}
.theme-requiem .book-anchor-nav a{border-radius:2px}
.theme-interpolis .book-anchor-nav a{border-radius:2px;box-shadow:inset 0 1px rgba(71,190,216,.08)}
.theme-requiem .book-order{border-color:rgba(212,171,137,.4)}
.theme-interpolis .book-order{border-color:rgba(82,201,227,.42)}
/* La priorité passe aux visuels sur mobile mais les zones de lecture restent opaques. */
@media(max-width:900px){
 .book-body .book-hero::after{background-position:66% center}
 .book-body .book-hero::before{
  background:linear-gradient(180deg,rgba(5,7,13,.8) 0%,rgba(5,7,13,.74) 45%,rgba(5,7,13,.94) 100%),
             linear-gradient(90deg,rgba(5,7,13,.65),transparent 78%);
 }
 .book-body.theme-interpolis .book-hero::before{
  background:linear-gradient(180deg,rgba(3,7,15,.8),rgba(3,7,15,.73) 53%,rgba(3,7,15,.94)),
             linear-gradient(90deg,rgba(3,7,15,.54),transparent 90%);
 }
 .book-body .book-hero{min-height:auto}
}
@media(max-width:760px){
 .book-body .book-hero::after{background-position:59% top}
 .book-body.theme-requiem .book-hero::after{opacity:.79}
 .book-body.theme-interpolis .book-hero::after{opacity:.84}
 .book-body .book-hero{padding-top:54px}
 .book-body .book-reading-shell::after{right:-78%;top:250px;opacity:.075}
 .book-body .book-hero-data{backdrop-filter:none}
 .book-body .book-intro{max-width:42rem}
}
@media(prefers-reduced-transparency:reduce){
 .book-body .book-hero::before{background:rgba(5,7,13,.88)}
 .book-body .book-hero-data{backdrop-filter:none}
}
