/* K147 · Biblioteca (pagina publica y staging): Catalogo General en "cortina" vino como la Serie Tetelestai + portadas sin franja clara arriba. Solo estilos; no toca textos ni libros. */
html body.libraryPage #bookGrid{box-sizing:border-box!important;background:linear-gradient(180deg,#0b1118 0%,#19100f 22%,#4a0b0d 50%,#19100f 78%,#0b1118 100%) 0 0/100% 1700px repeat-y!important;border:1px solid rgba(220,178,71,.62)!important;border-radius:24px!important;padding:16px 12px 18px!important;box-shadow:0 28px 64px rgba(0,0,0,.38),inset 0 1px 0 rgba(255,235,173,.1)!important}
html body.libraryPage #bookGrid .book{background:linear-gradient(180deg,#171119 0%,#0f0b14 100%)!important;border:1.5px solid rgba(220,178,71,.5)!important;box-shadow:0 10px 22px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,235,173,.1)!important}
html body.libraryPage #bookGrid .book .body{background:transparent!important}
html body.libraryPage #bookGrid .bookCover{position:relative!important;background:#0b0a12!important;overflow:hidden!important}
html body.libraryPage #bookGrid .bookCover::before{content:"";position:absolute;left:0;right:0;top:0;height:7px;z-index:2;pointer-events:none;background:linear-gradient(180deg,rgba(11,10,18,.97) 0%,rgba(11,10,18,.85) 45%,rgba(11,10,18,0) 100%)}
html body.libraryPage #bookGrid .btn.gold,html body.libraryPage #bookGrid .btn.ghost{border-color:rgba(220,178,71,.6)!important}

/* K148 · marco dorado fino sobre todas las portadas: tapa cualquier linea clara en los bordes. */
html body.libraryPage #bookGrid .bookCover::after,html body.libraryPage .tetelestaiBookCover::after{content:""!important;position:absolute!important;inset:0!important;z-index:3!important;pointer-events:none!important;border-radius:inherit;box-shadow:inset 0 0 0 2px #c9a24a,inset 0 0 0 3px rgba(11,10,18,.55)!important}
html body.libraryPage .tetelestaiBookCover{position:relative!important}
