/* Rastros: one clear reading line from premise to play, then the full rules. */
.book-world[data-book-world=rastros]{--book-heading:BookEditorial,Georgia,serif;--ink:#302529;--muted:#54494a;--accent:#8e2632}
.book-world[data-book-world=rastros] .book-showcase{overflow:hidden;padding-block:30px 42px;background-position:center 62%}
.book-world[data-book-world=rastros] .edition-cover{position:relative;isolation:isolate;min-height:600px}
.book-world[data-book-world=rastros] .edition-cover:before{content:none}
.book-world[data-book-world=rastros] .edition-cover img{position:relative;z-index:1;height:600px;filter:none}
.book-world[data-book-world=rastros] .rastros-inside{padding:34px 24px;background:#efd3cc url('/libros/art/papel-rosa-claro-v1.webp') center/cover no-repeat;color:#551522;overflow:hidden}
.book-world[data-book-world=rastros] .rastros-inside__inner{display:grid;grid-template-columns:250px minmax(0,1fr);align-items:center;gap:28px;width:min(1180px,100%);margin:auto}
.book-world[data-book-world=rastros] .rastros-inside__copy p{margin:0 0 8px;font:800 .78rem/1.4 Inter,Arial,sans-serif;letter-spacing:.09em;text-transform:uppercase;color:#8e2632}
.book-world[data-book-world=rastros] .rastros-inside__copy h2{margin:0 0 12px;font:700 clamp(2rem,3.5vw,3.1rem)/1.02 BookEditorial,Georgia,serif;color:#551522}
.book-world[data-book-world=rastros] .rastros-inside__copy span{display:block;font:550 1rem/1.6 Inter,Arial,sans-serif;color:#654147}
.book-world[data-book-world=rastros] .rastros-inside picture{display:block;min-width:0}
.book-world[data-book-world=rastros] .rastros-inside picture img{display:block;width:100%;height:auto;max-height:390px;object-fit:contain}
.book-world[data-book-world=rastros] .book-details{padding:58px 24px 64px;background:#551522;color:#fff8e9}
.book-world[data-book-world=rastros] .edition-inner{display:block;width:min(940px,100%)}
.book-world[data-book-world=rastros] .edition-copy{text-align:center}
.book-world[data-book-world=rastros] .edition-copy h1{font:700 clamp(3.8rem,7vw,6.6rem)/.95 BookEditorial,Georgia,serif;letter-spacing:-.045em;margin:0 0 16px;color:#fff8e9}
.book-world[data-book-world=rastros] .edition-copy .tagline{font:700 clamp(1.8rem,3vw,2.7rem)/1.15 BookEditorial,Georgia,serif;color:#e7a2a6;margin:0 0 20px}
.book-world[data-book-world=rastros] .edition-copy .lead{font:500 1.45rem/1.5 Inter,Arial,sans-serif;margin:0 auto 18px;max-width:650px;color:#fff8e9}
.book-world[data-book-world=rastros] .edition-copy .intro-copy{font-size:1.125rem;line-height:1.7;max-width:760px;margin:0 auto 32px;color:#fff8e9}
.book-world[data-book-world=rastros] .edition-summary{max-width:none;margin:0 auto 38px;padding:0;background:none;color:#fff8e9}
.book-world[data-book-world=rastros] .edition-facts{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;text-align:center}
.book-world[data-book-world=rastros] .edition-facts strong{font-size:.8rem;line-height:1.5;letter-spacing:.07em;color:#e7a2a6}
.book-world[data-book-world=rastros] .edition-facts span{font-size:1.05rem;line-height:1.45;color:#fff8e9}
.book-world[data-book-world=rastros] .edition-how{max-width:760px;margin:0 auto 18px}
.book-world[data-book-world=rastros] .edition-how h2{font:700 clamp(1.8rem,3vw,2.4rem)/1.2 BookEditorial,Georgia,serif;margin:0 0 12px;color:#fff8e9}
.book-world[data-book-world=rastros] .edition-how p{font-size:1.125rem;line-height:1.7;color:#fff8e9}
.book-world[data-book-world=rastros] .edition-actions{justify-content:center;margin:28px 0 8px;gap:0 24px}
.book-world[data-book-world=rastros] .edition-actions .button{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;align-items:center;justify-content:stretch;width:270px;min-width:0;min-height:74px;padding:13px 2px;background:transparent!important;background-image:none!important;border:0;border-block:1px solid #bd6976;border-radius:0;color:#fff8e9;text-align:left;box-shadow:none}
.book-world[data-book-world=rastros] .edition-actions .button:before{content:none}
.book-world[data-book-world=rastros] .edition-actions .button small{grid-column:1;display:block;margin-bottom:3px;color:#e7a2a6;font-size:.72rem;font-weight:750;letter-spacing:.08em;text-transform:uppercase}
.book-world[data-book-world=rastros] .edition-actions .button b{grid-column:1;display:block;font-size:1.05rem;line-height:1.3}
.book-world[data-book-world=rastros] .edition-actions .button span{display:block;grid-column:2;grid-row:1/3;padding-left:16px;color:#e7a2a6;font-size:1.3rem}
.book-world[data-book-world=rastros] .edition-actions .edition-play{background:transparent!important;border-color:#bd6976;color:#fff8e9}
.book-world[data-book-world=rastros] .edition-actions .button:hover{color:#fff;background:transparent!important;border-color:#fff8e9;text-decoration:none}
.book-world[data-book-world=rastros] .edition-rules{max-width:860px;margin:24px auto 0;text-align:left}
.book-world[data-book-world=rastros] .edition-rules>summary{display:flex;align-items:center;gap:12px;width:max-content;max-width:100%;margin:auto;padding:10px 0;list-style:none;font-size:.95rem;font-weight:800;color:#fff}
.book-world[data-book-world=rastros] .edition-rules>summary::-webkit-details-marker{display:none}
.book-world[data-book-world=rastros] .edition-rules>summary:after{content:'+';font-size:1.3rem;font-weight:400;line-height:1}
.book-world[data-book-world=rastros] .edition-rules[open]>summary:after{content:'−'}
.book-world[data-book-world=rastros] .edition-rules-content{padding-top:28px}
.book-world[data-book-world=rastros] .edition-rules .rules-examples{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:0 0 42px}
.book-world[data-book-world=rastros] .edition-rules .rules-examples figure{padding:0;background:none}
.book-world[data-book-world=rastros] .edition-rules .rule-picture{height:230px;padding:0}
.book-world[data-book-world=rastros] .edition-rules .rules-examples figcaption{padding:14px 8px 0}
.book-world[data-book-world=rastros] .edition-rules .rules-examples h3{font-size:1.35rem;color:#fff8e9}
.book-world[data-book-world=rastros] .edition-rules .rules-examples p{font-size:1rem;line-height:1.65}
.book-world[data-book-world=rastros] .edition-rules .rules-legend{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0 0 42px}
.book-world[data-book-world=rastros] .edition-rules .rules-legend>div{padding:20px 4px 24px;border-block:1px solid #b9606f}
.book-world[data-book-world=rastros] .edition-rules .rules-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 44px}
.book-world[data-book-world=rastros] .edition-rules .rules-steps>li{padding-top:18px;border-top:1px solid #b9606f}
.book-world[data-book-world=rastros] .edition-rules .rules-note{margin-top:38px;padding:28px 4px;border-block:1px solid #b9606f}
.book-world[data-book-world=rastros] .edition-copy .edition-resource{margin:10px auto 0;font-size:.92rem;text-align:center}
.book-world[data-book-world=rastros] .edition-copy .edition-resource a,.book-world[data-book-world=rastros] .rules-help summary{color:#fff;font-weight:750;text-decoration-color:currentColor}
.book-world[data-book-world=rastros] .edition-copy .edition-resource a{text-decoration:none}
.book-world[data-book-world=rastros] .edition-copy .edition-resource a:hover{text-decoration:underline;text-underline-offset:5px}

/* The same self-moving, draggable carousel used on the home page. */
.book-world[data-book-world=rastros] .more-books{padding:34px 0 24px;background:#b9e9df url('/libros/art/papel-aguamarina-v1.webp') center/cover no-repeat;color:#302529;overflow:hidden}
.book-world[data-book-world=rastros] .more-books h2{font:700 clamp(2rem,3.5vw,3rem)/1.1 BookEditorial,Georgia,serif;text-align:center;margin:0 24px 22px;color:#551522}
.book-world[data-book-world=rastros] .adult-book-grid{display:flex;position:relative;align-items:center;gap:28px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;padding:2px max(24px,calc((100vw - 1120px)/2)) 16px;scroll-padding-inline:max(24px,calc((100vw - 1120px)/2));cursor:grab;touch-action:pan-x pan-y}
.book-world[data-book-world=rastros] .adult-book-grid::-webkit-scrollbar{display:none}
.book-world[data-book-world=rastros] .adult-book{position:relative;display:block;flex:0 0 250px;min-width:0;height:245px;padding:0;scroll-snap-align:start;color:#302529}
.book-world[data-book-world=rastros] .adult-book>.book-scene,.book-world[data-book-world=rastros] .adult-book-copy{display:none}
.book-world[data-book-world=rastros] .adult-cover{display:grid;place-items:center;width:100%;height:245px}
.book-world[data-book-world=rastros] .adult-cover img{width:auto;height:auto;max-height:235px;max-width:100%;object-fit:contain;transform:none;filter:drop-shadow(0 8px 8px rgba(58,27,22,.24));box-shadow:none}
.book-world[data-book-world=rastros] .adult-book:nth-child(even) .adult-cover img{transform:none}
.book-world[data-book-world=rastros] .adult-book-copy b{font:700 clamp(2rem,3vw,3rem)/1.08 BookEditorial,Georgia,serif;color:#302529}
.book-world[data-book-world=rastros] .adult-book-copy small{font:400 1.1rem/1.5 Inter,Arial,sans-serif;color:#54494a}
.book-world[data-book-world=rastros] .book-invitation{font-size:1rem;font-weight:650;line-height:1.4;text-decoration:underline;text-underline-offset:5px}
.book-world[data-book-world=rastros] .book-invitation i{font-style:normal}
.book-world[data-book-world=rastros] .adult-book-grid.is-dragging{cursor:grabbing;scroll-snap-type:none;user-select:none}
.book-world[data-book-world=rastros] .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;padding:4px 0 8px;color:#6b1831;font-size:.95rem;font-weight:750;line-height:1.5}
.book-world[data-book-world=rastros] .library-bottom>a{text-decoration:underline;text-underline-offset:5px}
.book-world[data-book-world=rastros] .carousel-controls[hidden]{display:none}
.book-world[data-book-world=rastros] .carousel-controls button{min-height:44px;padding:8px;background:none;border:0;color:#6b1831;font:750 1rem Inter,Arial,sans-serif;text-decoration:underline;text-underline-offset:5px}

@media(max-width:760px){
 .book-world[data-book-world=rastros] .book-showcase{padding:20px 18px 26px}
 .book-world[data-book-world=rastros] .edition-cover{min-height:0}
 .book-world[data-book-world=rastros] .edition-cover img{height:min(124vw,500px);filter:none}
 .book-world[data-book-world=rastros] .rastros-inside{padding:30px 18px 22px}
 .book-world[data-book-world=rastros] .rastros-inside__inner{grid-template-columns:1fr;gap:16px}
 .book-world[data-book-world=rastros] .rastros-inside__copy{text-align:center}
 .book-world[data-book-world=rastros] .rastros-inside__copy h2{font-size:2.35rem}
 .book-world[data-book-world=rastros] .rastros-inside picture img{max-height:420px}
 .book-world[data-book-world=rastros] .book-details{padding:38px 20px 44px}
 .book-world[data-book-world=rastros] .edition-copy h1{font-size:3.6rem}
 .book-world[data-book-world=rastros] .edition-copy .tagline{font-size:2rem}
 .book-world[data-book-world=rastros] .edition-copy .lead{font-size:1.25rem}
 .book-world[data-book-world=rastros] .edition-copy .intro-copy,.book-world[data-book-world=rastros] .edition-how p{text-align:left;font-size:1.06rem}
 .book-world[data-book-world=rastros] .edition-facts{grid-template-columns:1fr 1fr;gap:22px 18px}
 .book-world[data-book-world=rastros] .edition-actions{gap:0}
 .book-world[data-book-world=rastros] .edition-actions .button{width:min(100%,310px)}
 .book-world[data-book-world=rastros] .edition-rules .rules-examples,.book-world[data-book-world=rastros] .edition-rules .rules-legend,.book-world[data-book-world=rastros] .edition-rules .rules-steps{grid-template-columns:1fr}
 .book-world[data-book-world=rastros] .more-books{padding-top:30px}
 .book-world[data-book-world=rastros] .adult-book-grid{gap:20px;padding-inline:20px;scroll-padding-inline:20px}
 .book-world[data-book-world=rastros] .adult-book{flex-basis:145px;height:220px}
 .book-world[data-book-world=rastros] .adult-cover{height:220px}
 .book-world[data-book-world=rastros] .adult-cover img{max-height:210px}
 .book-world[data-book-world=rastros] .library-bottom{width:calc(100% - 40px);padding:18px 0 24px}
}
