/* The story's own rounded type. All painted surfaces are image assets. */
@font-face{font-family:EnigmasRounded;src:url('/my-first-mystery-book/listen/fonts/fredoka.woff2') format('woff2');font-weight:300 700;font-display:swap}
.book-world[data-book-world=mi-primer-libro-de-enigmas]{--book-heading:EnigmasRounded,Arial,sans-serif;--ink:#26345b;--accent:#26345b;font-family:EnigmasRounded,Arial,sans-serif}
.book-world[data-book-world=mi-primer-libro-de-enigmas] .book-details{padding:48px 24px;background:#ffd326 url('/libros/art/enigmas-amarillo-v1.webp') center/cover no-repeat}
.book-world[data-book-world=mi-primer-libro-de-enigmas] .edition-inner{display:block;max-width:1000px}
.book-world[data-book-world=mi-primer-libro-de-enigmas] .edition-copy{text-align:center}
.book-world[data-book-world=mi-primer-libro-de-enigmas] .edition-copy h1{font:600 clamp(2.6rem,4.8vw,4.2rem)/1.08 EnigmasRounded,Arial,sans-serif;letter-spacing:0;max-width:850px;margin:0 auto 20px;text-wrap:balance}
.book-world[data-book-world=mi-primer-libro-de-enigmas] .edition-copy .eyebrow{font:500 1rem/1.5 EnigmasRounded,Arial,sans-serif;letter-spacing:.03em;color:#26345b}
.book-world[data-book-world=mi-primer-libro-de-enigmas] .edition-copy .lead{font-size:1.65rem;line-height:1.4;max-width:780px;margin:0 auto 26px;font-weight:400}
.book-world[data-book-world=mi-primer-libro-de-enigmas] .edition-summary{padding:10px 0;margin:0 0 25px;max-width:none;background:none;color:#26345b}
.book-world[data-book-world=mi-primer-libro-de-enigmas] .edition-facts{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;text-align:center}
.book-world[data-book-world=mi-primer-libro-de-enigmas] .edition-facts strong{font:500 1rem/1.45 EnigmasRounded,Arial,sans-serif;text-transform:none;letter-spacing:0;color:#26345b;margin-bottom:6px}
.book-world[data-book-world=mi-primer-libro-de-enigmas] .edition-facts span{font:500 1.4rem/1.3 EnigmasRounded,Arial,sans-serif;color:#26345b}
.book-world[data-book-world=mi-primer-libro-de-enigmas] .edition-how{max-width:800px;margin:28px auto 12px}
.book-world[data-book-world=mi-primer-libro-de-enigmas] .edition-how h2{font:600 2rem/1.2 EnigmasRounded,Arial,sans-serif;letter-spacing:0;margin-bottom:12px}
.book-world[data-book-world=mi-primer-libro-de-enigmas] .edition-how p{font:400 1.4rem/1.5 EnigmasRounded,Arial,sans-serif}
.book-world[data-book-world=mi-primer-libro-de-enigmas] .edition-actions{justify-content:center;margin:14px 0 0;gap:4px 14px}
.book-world[data-book-world=mi-primer-libro-de-enigmas] .edition-actions .button{font:500 1.25rem/1.3 EnigmasRounded,Arial,sans-serif;width:300px}
.book-world[data-book-world=mi-primer-libro-de-enigmas] .edition-actions .edition-play{--button-row:0%;--button-ink:#fff9ed}
.book-world[data-book-world=mi-primer-libro-de-enigmas] :is(.site-header nav a,footer a){font-family:EnigmasRounded,Arial,sans-serif}

/* Same slides, scrolling, drag and pause behavior as the home carousel. */
.book-world[data-book-world=mi-primer-libro-de-enigmas] .more-books{padding:44px 0 40px;background:#b9e9df url('/libros/art/papel-aguamarina-v1.webp') center/cover no-repeat;color:#26345b;overflow:hidden}
.book-world[data-book-world=mi-primer-libro-de-enigmas] .more-books h2{font:600 clamp(2.2rem,4vw,3.4rem)/1.15 EnigmasRounded,Arial,sans-serif;text-align:center;letter-spacing:0;margin:0 24px 28px}
.more-books[data-book-carousel] .adult-book-grid{display:flex;position:relative;align-items:stretch;gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;padding:5px max(24px,calc((100vw - 1120px)/2)) 24px;scroll-padding-inline:max(24px,calc((100vw - 1120px)/2));cursor:grab;touch-action:pan-x pan-y}
.more-books[data-book-carousel] .adult-book-grid::-webkit-scrollbar{display:none}
.more-books[data-book-carousel] .adult-book{position:relative;isolation:isolate;display:grid;grid-template-columns:1.1fr 1fr;align-items:center;flex:0 0 86%;min-width:0;min-height:470px;gap:30px;padding:40px;overflow:hidden;scroll-snap-align:start;color:#26345b}
.more-books[data-book-carousel] .book-scene{position:absolute;inset:0;z-index:-1;width:100%;height:100%;object-fit:cover}
.more-books[data-book-carousel] .adult-cover{grid-column:2;grid-row:1;display:grid;place-items:center;height:380px}
.more-books[data-book-carousel] .adult-cover img{width:auto;height:auto;max-height:380px;max-width:100%;object-fit:contain;transform:rotate(3deg);filter:none;box-shadow:none}
.more-books[data-book-carousel] .adult-book:nth-child(even) .adult-cover img{transform:rotate(-3deg)}
.more-books[data-book-carousel] .adult-book-copy{grid-column:1;grid-row:1;display:flex;flex-direction:column;gap:14px;min-width:0;padding:38px 34px 45px;background:url('/libros/art/papel-horizontal.webp') center/100% 100% no-repeat}
.book-world[data-book-world] .more-books .adult-book-copy b{font:600 clamp(2rem,3vw,3rem)/1.1 EnigmasRounded,Arial,sans-serif;letter-spacing:0;color:#26345b}
.more-books[data-book-carousel] .adult-book-copy small{font:400 1.25rem/1.4 EnigmasRounded,Arial,sans-serif;color:#26345b}
.more-books[data-book-carousel] .book-invitation{font-size:1.1rem;font-weight:500;line-height:1.4;text-decoration:underline;text-underline-offset:4px}
.more-books[data-book-carousel] .book-invitation i{font-style:normal}
.more-books[data-book-carousel] .adult-book:is(:hover,:focus-visible) .book-invitation{text-decoration-thickness:2px}
.more-books[data-book-carousel] .is-dragging{cursor:grabbing;scroll-snap-type:none;user-select:none}
.more-books[data-book-carousel] .library-bottom{width:min(1120px,calc(100% - 48px));margin:auto;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;font-size:1.125rem;line-height:1.5}
.more-books[data-book-carousel] .library-bottom>a{text-decoration:underline;text-underline-offset:5px}
.more-books[data-book-carousel] .carousel-controls[hidden]{display:none}
.more-books[data-book-carousel] .carousel-controls button{font:500 1.125rem EnigmasRounded,Arial,sans-serif;min-height:44px;padding:8px;background:none;border:0;color:#26345b;text-decoration:underline;text-underline-offset:5px}
@media(max-width:760px){
 .book-world[data-book-world=mi-primer-libro-de-enigmas] .book-details{padding:34px 22px}
 .book-world[data-book-world=mi-primer-libro-de-enigmas] .edition-copy h1{font-size:clamp(2.3rem,9.4vw,3.2rem)}
 .book-world[data-book-world=mi-primer-libro-de-enigmas] .edition-copy .lead{font-size:1.4rem}
 .book-world[data-book-world=mi-primer-libro-de-enigmas] .edition-facts{grid-template-columns:1fr 1fr;gap:22px 18px}
 .book-world[data-book-world=mi-primer-libro-de-enigmas] .edition-facts span{font-size:1.25rem}
 .book-world[data-book-world=mi-primer-libro-de-enigmas] .edition-how p{font-size:1.25rem;text-align:left}
 .book-world[data-book-world=mi-primer-libro-de-enigmas] .edition-actions{gap:0}
 .more-books[data-book-carousel] .adult-book-grid{gap:16px;padding-inline:20px;scroll-padding-inline:20px}
 .more-books[data-book-carousel] .adult-book{flex-basis:90%;grid-template-columns:1fr;grid-template-rows:280px auto;gap:16px;padding:24px 18px;min-height:0}
 .more-books[data-book-carousel] .adult-cover{grid-column:1;grid-row:1;height:280px}
 .more-books[data-book-carousel] .adult-cover img{max-height:280px}
 .more-books[data-book-carousel] .adult-book-copy{grid-column:1;grid-row:2;padding:32px 25px 38px;gap:10px}
 .book-world[data-book-world] .more-books .adult-book-copy b{font-size:2rem}
 .more-books[data-book-carousel] .adult-book-copy small{font-size:1.125rem}
 .more-books[data-book-carousel] .library-bottom{width:calc(100% - 40px)}
}

/* Compact cover-only shelf, shared with the other book pages. */
.book-world[data-book-world=mi-primer-libro-de-enigmas] .edition-actions .button{min-height:54px;padding:14px 24px;background:#26345b;border:2px solid #26345b;border-radius:0;color:#fff9ed;box-shadow:none}
.book-world[data-book-world=mi-primer-libro-de-enigmas] .edition-actions .button:before{content:none}
.book-world[data-book-world=mi-primer-libro-de-enigmas] .edition-actions .edition-play{background:#f06f5d;border-color:#f06f5d;color:#26345b}
.book-world[data-book-world=mi-primer-libro-de-enigmas] .more-books{padding:34px 0 24px}
.book-world[data-book-world=mi-primer-libro-de-enigmas] .more-books h2{margin-bottom:22px}
.book-world[data-book-world=mi-primer-libro-de-enigmas] .more-books[data-book-carousel] .adult-book-grid{align-items:center;gap:28px;padding-block:2px 16px}
.book-world[data-book-world=mi-primer-libro-de-enigmas] .more-books[data-book-carousel] .adult-book{display:block;flex:0 0 250px;height:245px;min-height:0;padding:0}
.book-world[data-book-world=mi-primer-libro-de-enigmas] .more-books[data-book-carousel] :is(.book-scene,.adult-book-copy){display:none}
.book-world[data-book-world=mi-primer-libro-de-enigmas] .more-books[data-book-carousel] .adult-cover{display:grid;width:100%;height:245px;place-items:center}
.book-world[data-book-world=mi-primer-libro-de-enigmas] .more-books[data-book-carousel] .adult-cover img{max-height:235px;transform:none;filter:drop-shadow(0 8px 8px rgba(38,52,91,.24))}
.book-world[data-book-world=mi-primer-libro-de-enigmas] .more-books[data-book-carousel] .library-bottom{padding:4px 0 8px;font-size:1rem}
.book-world[data-book-world=mi-primer-libro-de-enigmas] .more-books[data-book-carousel] .library-bottom{width:min(1120px,calc(100% - 48px));margin:8px auto -24px;padding:16px 0;border-top:1px solid #9d6371;background:transparent;color:#6b1831;font-weight:750}
.book-world[data-book-world=mi-primer-libro-de-enigmas] .more-books[data-book-carousel] .library-bottom :is(a,span,button){color:#6b1831;font-weight:750}
.book-world[data-book-world=mi-primer-libro-de-enigmas] footer{background:#6f2038 url('/libros/art/cabecera-libros-burdeos-v1.webp') center/cover no-repeat!important;color:#fff7ed!important;border:0;min-height:140px}
.book-world[data-book-world=mi-primer-libro-de-enigmas] footer img{content:url('/brand/falsum-official-dark.png')}
.book-world[data-book-world=mi-primer-libro-de-enigmas] footer a{color:#fff7ed!important;font-weight:650;text-decoration-color:#f2adb0}
@media(max-width:760px){
 .book-world[data-book-world=mi-primer-libro-de-enigmas] .more-books{padding-top:30px}
 .book-world[data-book-world=mi-primer-libro-de-enigmas] .more-books[data-book-carousel] .adult-book-grid{gap:20px}
 .book-world[data-book-world=mi-primer-libro-de-enigmas] .more-books[data-book-carousel] .adult-book{flex-basis:145px;height:220px}
 .book-world[data-book-world=mi-primer-libro-de-enigmas] .more-books[data-book-carousel] .adult-cover{height:220px}
 .book-world[data-book-world=mi-primer-libro-de-enigmas] .more-books[data-book-carousel] .adult-cover img{max-height:210px}
 .book-world[data-book-world=mi-primer-libro-de-enigmas] .more-books[data-book-carousel] .library-bottom{margin-bottom:-24px;padding:18px 20px 22px}
}
