/* Art-led book pages. Paper, cards, textures and shadows are raster assets.
   CSS only places/crops those assets and styles the editable text. */
@font-face{font-family:BookEditorial;src:url('/fonts/playfair-display-latin.woff2') format('woff2');font-weight:400 900;font-display:swap}
@font-face{font-family:BookStory;src:url('/fonts/purple-purse.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:BookLiterary;src:url('/fonts/cormorant-garamond-latin.woff2') format('woff2');font-weight:300 700;font-display:swap}
@font-face{font-family:BookPortrait;src:url('/fonts/bodoni-moda-latin.woff2') format('woff2');font-weight:400 900;font-display:swap}
.book-world{--book-heading:BookEditorial,Georgia,serif;--edition-width:1180px;--hero-art:none;--copy-art:none;--button-row:66.6667%;--button-ink:#fff9ed;--reading-art:none;--header-art:url('/libros/art/papel-crema-v1.webp');--note-art:url('/libros/art/nota-cinta.webp')}
.book-world[data-book-world=mi-primer-libro-de-enigmas]{--book-heading:BookStory,Georgia,serif;--paper:#fffaf0;--ink:#214d4e;--muted:#405b58;--accent:#236655;--hero-art:url('/libros/art/enigmas-jardin-v1.webp');--note-art:url('/libros/art/tarjeta-mira-salvia-v1.webp')}
.book-world[data-book-world=rastros]{--paper:#fcf6e9;--ink:#372a2b;--muted:#64594f;--accent:#8e2632;--hero-art:url('/libros/art/rastros-biblioteca.webp');--copy-art:url('/libros/art/papel-vertical.webp')}
.book-world[data-book-world=rostros]{--book-heading:BookPortrait,Georgia,serif;--paper:#f4ede0;--ink:#372a2b;--muted:#63554e;--accent:#8b2d36;--hero-art:url('/libros/art/rostros-identidades.webp');--copy-art:url('/libros/art/registro-clip.webp');--note-art:url('/libros/art/papel-horizontal.webp')}
.book-world[data-book-world=la-version-imposible]{--book-heading:BookLiterary,Georgia,serif;--paper:#f7f0e2;--ink:#3f2b2a;--accent:#882f3a;--hero-art:url('/libros/art/imposible-escritorio.webp');--copy-art:url('/libros/art/papel-vertical.webp')}
.book-world[data-book-world=los-ocho-minutos]{--book-heading:Inter,Arial,sans-serif;--paper:#142220;--ink:#f6eddb;--muted:#d4cbb9;--accent:#efb17f;--hero-art:url('/libros/art/ocho-minutos-noche-v1.webp');--note-art:url('/libros/art/ticket-termico.webp')}
.book-world[data-book-world=rastros-kids]{--book-heading:BookEditorial,Georgia,serif;--paper:#fbf7e9;--ink:#284e3d;--muted:#4b6250;--accent:#3d644a;--hero-art:url('/libros/art/rastros-kids-bosque-v1.webp');--note-art:url('/libros/art/tarjeta-mira-salvia-v1.webp')}
.book-world[data-book-world=rostros-kids]{--book-heading:BookStory,Georgia,serif;--paper:#fff7e6;--ink:#553a2b;--muted:#735a42;--accent:#a03b32;--hero-art:url('/libros/art/rostros-kids-galeria-v1.webp');--note-art:url('/libros/art/tarjeta-cuenta-coral-v1.webp')}
.book-world[data-book-world=la-version-imposible-kids]{--book-heading:'DM Sans',Arial,sans-serif;--paper:#fffbed;--ink:#26485c;--muted:#4c6471;--accent:#a54933;--hero-art:url('/libros/art/imposible-kids-pueblo-v1.webp');--note-art:url('/libros/art/tarjeta-escucha-mostaza-v1.webp')}
.book-world[data-book-world=hashinato]{--book-heading:BookLiterary,Georgia,serif;--hero-art:url('/libros/art/hashinato-islas-v2.webp');--button-row:0%;--paper:#efe1ee;--ink:#3c2950;--muted:#655270;--accent:#6e407c;--note-art:url('/libros/art/papel-horizontal.webp')}

/* Three blocks: full cover, readable explanation with actions, recommendations. */
.book-world[data-book-world=mi-primer-libro-de-enigmas],
.book-world[data-book-world$="-kids"]{--header-art:url('/libros/art/cabecera-jardin-v1.webp');--reading-art:url('/libros/art/lectura-menta-v1.webp');--button-row:33.3333%;--muted:var(--ink)}
.book-world[data-book-world=rostros-kids],.book-world[data-book-world=la-version-imposible-kids]{--button-row:100%;--button-ink:#3c2515}
.book-world[data-book-world=los-ocho-minutos]{--button-row:100%;--button-ink:#3c2515;--note-art:url('/libros/art/papel-horizontal.webp')}
.book-world .site-header{height:94px;padding-inline:max(24px,calc((100vw - 1180px)/2));background:#f5e6cb var(--header-art) center 80%/cover no-repeat;color:#302237;border:0;box-shadow:none}
.book-world .brand img{width:170px}
.book-world[data-book-world] .site-header nav a{font:600 .94rem/1.4 Inter,Arial,sans-serif;color:#302237}
.book-world .site-header nav{gap:23px}
.book-world .back-bar{padding:4px max(24px,calc((100vw - 1180px)/2)) 0}
.book-world .breadcrumbs{width:min(1180px,calc(100% - 48px));margin:2px auto 12px;font-size:.875rem;line-height:1.6;color:var(--ink)}
.book-world .breadcrumbs a{text-underline-offset:4px}
.book-world .book-showcase{margin:0;padding:28px 24px 36px;background:var(--hero-art) center/cover no-repeat}
.book-world .edition-cover{display:grid;place-items:center;min-height:560px}
.book-world .edition-cover img{width:auto;height:560px;max-width:100%;object-fit:contain;border:0;filter:none;box-shadow:none;transform:none}
.book-world[data-book-world=mi-primer-libro-de-enigmas] .edition-cover img{height:560px;width:560px}
.book-world[data-book-world=hashinato] .book-showcase{background-position:center 58%}
.book-world .book-details{padding:45px 24px;background:var(--reading-art) center/100% 100% no-repeat}
.book-world .edition-inner{width:min(1120px,100%);margin:auto;display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:42px;align-items:start}
.book-world .edition-copy{min-width:0}
.book-world[data-book-world] .edition-copy h1{font:500 clamp(2.6rem,4.6vw,4.5rem)/1.1 var(--book-heading);letter-spacing:-.025em;text-wrap:balance;margin:0 0 18px;color:var(--ink)}
.book-world[data-book-world=hashinato] .edition-copy h1{font-weight:650;font-size:clamp(3.4rem,5.6vw,5.5rem)}
.book-world[data-book-world=los-ocho-minutos] .edition-copy h1{font-weight:650}
.book-world .edition-copy .book-subtitle{display:block;font:500 clamp(1.3rem,2.5vw,1.9rem)/1.35 Inter,Arial,sans-serif;margin-top:9px;letter-spacing:0}
.book-world .edition-copy .eyebrow{font-size:.875rem;font-weight:650;letter-spacing:.05em;line-height:1.6;margin:0 0 12px;color:var(--accent)}
.book-world .edition-copy p{max-width:none;margin:0 0 18px;font-size:1.125rem;line-height:1.7;color:var(--ink)}
.book-world .edition-copy .lead{font-size:1.2rem;line-height:1.6}
.book-world .edition-copy .tagline{font:600 1.6rem/1.3 var(--book-heading);margin:0 0 16px;color:var(--accent)}
.book-world .edition-copy .hashinato-subtitle{font-size:1.4rem;margin-top:-8px}
.book-world .edition-how{margin:24px 0 12px}
.book-world[data-book-world] .edition-how h2{font:650 1.2rem/1.4 Inter,Arial,sans-serif;margin:0 0 8px;letter-spacing:0;color:var(--ink)}
.book-world .edition-actions{display:flex;flex-wrap:wrap;gap:0 8px;margin:16px -10px 0}
.book-world[data-book-world] .edition-actions .button{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;min-width:0;width:290px;max-width:100%;min-height:84px;margin:0;padding:26px 43px 14px 28px;background:none;border:0;color:var(--button-ink);font:650 1.0625rem/1.3 Inter,Arial,sans-serif;letter-spacing:0;text-transform:none;text-decoration:none;text-align:center;box-shadow:none;filter:none}
.book-world .edition-actions .button:before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:url('/libros/art/botones-papel-v1.webp') center var(--button-row)/100% 400% no-repeat;clip-path:inset(8% 0 2% 0)}
.book-world[data-book-world] .edition-actions .button:hover{text-decoration:underline;text-underline-offset:4px}
.book-world .edition-actions .button span{display:none}
.book-world[data-book-world] .edition-actions .edition-play{--button-row:100%;--button-ink:#3c2515}
.book-world .edition-summary{padding:50px 34px 60px;background:var(--note-art) center/100% 100% no-repeat;color:#302b27}
.book-world .edition-facts{display:grid;grid-template-columns:1fr;gap:18px;list-style:none;padding:0;margin:0}
.book-world .edition-facts li{padding:0;border:0}
.book-world .edition-facts strong{display:block;font-size:.875rem;line-height:1.5;letter-spacing:.03em;color:#54433c;text-transform:uppercase;margin-bottom:3px}
.book-world .edition-facts span{display:block;font-size:1.125rem;line-height:1.5;font-weight:550;color:#302b27}
.book-world .edition-rules{margin:20px 0 0;scroll-margin-top:24px}
.book-world .edition-rules>summary{font-size:1rem;font-weight:650;cursor:pointer;padding:12px 0;color:var(--accent)}
.book-world .edition-rules-content{padding-top:15px}
.book-world .edition-rules :is(.rules-examples,.rules-steps,.rules-legend){grid-template-columns:1fr;border:0}
.book-world .edition-rules :is(.rules-examples figure,.rules-legend>div,.rules-steps>li,.rules-note,.rules-help){border:0;background:none;padding:12px 0}
.book-world .edition-rules .rules-examples figcaption{padding:0}
.book-world .edition-rules .rule-picture{padding:12px 0}
.book-world .edition-rules p{font-size:1.0625rem}
.book-world .edition-copy .edition-resource{margin:12px 0 0;font-size:1rem}
.book-world .edition-resource a{text-decoration:underline;text-underline-offset:5px}
.book-world .more-books{width:100%;margin:0;padding:34px max(24px,calc((100vw - 1120px)/2)) 45px;background:#b9e9df url('/libros/art/papel-aguamarina-v1.webp') center/cover no-repeat;color:#302237;border:0}
.book-world[data-book-world=hashinato] .more-books,.book-world[data-book-world=mi-primer-libro-de-enigmas] .more-books,.book-world[data-book-world$="-kids"] .more-books,.book-world[data-book-world=los-ocho-minutos] .more-books{background:#b9e9df url('/libros/art/papel-aguamarina-v1.webp') center/cover no-repeat;color:#302237}
.book-world .more-books h2{font:500 clamp(1.9rem,3vw,2.6rem)/1.2 var(--book-heading);letter-spacing:-.02em;margin:0 0 24px}
.book-world .book-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,230px));gap:24px}
.book-world .book-links a{display:flex;flex-direction:column;gap:12px;border:0;padding:0;background:none;color:inherit;font-size:1rem;line-height:1.45;font-weight:600}
.book-world .related-cover{display:grid;place-items:center;height:210px}
.book-world .related-cover img{width:auto;height:auto;max-height:210px;max-width:100%;object-fit:contain;filter:none;box-shadow:none}
.book-world .book-links a:hover .related-title{text-decoration:underline;text-underline-offset:4px}
.book-world .book-links a:not(:has(.related-cover)){justify-content:center;text-decoration:underline;text-underline-offset:5px}
.book-world footer{background:#6f2038 url('/libros/art/cabecera-libros-burdeos-v1.webp') center/cover no-repeat;padding-block:34px;color:#fff7ed;border:0;box-shadow:none}
.book-world footer img{content:url('/brand/falsum-official-dark.png')}
.book-world footer a{color:#fff7ed;text-decoration-color:#f2adb0;text-underline-offset:5px}
.book-world footer a:hover,.book-world footer a:focus-visible{color:#ffd9cc}
.book-world main :is(a,button,summary):focus-visible{outline:3px solid var(--accent);outline-offset:4px;box-shadow:none}

@media(min-width:761px) and (max-width:1100px){
 .book-world .site-header{padding-inline:20px}
 .book-world .site-header nav{gap:13px}
 .book-world .brand img{width:135px}
 .book-world[data-book-world] .site-header nav a{font-size:.83rem}
 .book-world .edition-inner{gap:26px;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}
 .book-world .edition-summary{padding:45px 28px 55px}
}
@media(max-width:760px){
 .book-world .site-header{height:76px;padding-inline:20px}
 .book-world .brand img{width:145px}
 .book-world .menu-button{border:0;background:none}
 .book-world .menu-button i{background:#302237}
 .book-world .site-header nav,.book-world .site-header nav.open{background:#f5e6cb var(--header-art) center/cover no-repeat;gap:10px}
 .book-world[data-book-world] .site-header nav a{font-size:1.4rem;min-height:44px}
 .book-world .back-bar{padding:0 20px}
 .book-world .breadcrumbs{width:calc(100% - 40px);font-size:.8125rem;margin:0 auto 10px}
 .book-world .book-showcase{padding:25px 20px 30px}
 .book-world .edition-cover{min-height:0}
 .book-world .edition-cover img{height:min(116vw,470px);width:auto;max-width:100%}
 .book-world[data-book-world=mi-primer-libro-de-enigmas] .edition-cover img{height:auto;width:min(100%,470px)}
 .book-world .book-details{padding:30px 20px;background-size:auto 100%}
 .book-world .edition-inner{grid-template-columns:1fr;gap:18px}
 .book-world[data-book-world] .edition-copy h1{font-size:clamp(2.3rem,9.5vw,3.4rem)}
 .book-world[data-book-world=hashinato] .edition-copy h1{font-size:3.7rem}
 .book-world .edition-copy p,.book-world .edition-copy .lead{font-size:1.125rem;line-height:1.65}
 .book-world .edition-actions{margin:12px 0 0;gap:0}
 .book-world[data-book-world] .edition-actions .button{width:300px;max-width:100%;min-height:82px}
 .book-world .edition-summary{max-width:440px;width:100%;margin:auto;padding:45px 32px 60px}
 .book-world .edition-facts{grid-template-columns:1fr 1fr;gap:18px}
 .book-world .edition-facts strong{font-size:.8125rem}
 .book-world .edition-facts span{font-size:1rem}
 .book-world .more-books{padding:28px 20px 35px}
 .book-world .book-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px}
 .book-world .book-links a{font-size:.94rem}
 .book-world .related-cover{height:185px}
 .book-world .related-cover img{max-height:185px}
 .book-world footer{gap:20px;align-items:flex-start}
}
@media(max-width:360px){.book-world .edition-facts{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.book-world main *{scroll-behavior:auto}}

/* Una cabecera editorial única: marca, navegación y contexto comparten eje. */
.book-world .site-header{
 height:82px;
 padding-inline:max(24px,calc((100vw - var(--edition-width))/2));
 background:#6f2038 url('/libros/art/cabecera-libros-burdeos-v1.webp') center/cover no-repeat;
 color:#fff7ed;
 border:0;
 box-shadow:none;
}
.book-world .site-header .brand img{
 content:url('/brand/falsum-official-dark.png');
 width:164px;
 height:auto;
}
.book-world[data-book-world] .site-header nav a{
 color:#fff7ed;
 text-decoration-color:#f2adb0;
}
.book-world .site-header nav a:hover,
.book-world .site-header nav a:focus-visible{
 color:#ffd9cc;
}
.book-world .back-bar{
 display:grid;
 grid-template-columns:auto minmax(0,1fr) auto;
 align-items:center;
 gap:22px;
 min-height:42px;
 padding:0 max(24px,calc((100vw - var(--edition-width))/2)) 8px;
 background:#6f2038 url('/libros/art/cabecera-libros-burdeos-v1.webp') center bottom/cover no-repeat;
 border-bottom:1px solid #d77883;
 color:#fff7ed;
}
.book-world .back-button{
 display:none;
 min-height:40px;
 padding:0;
 border:0;
 border-radius:0;
 background:transparent;
 color:#6d2945;
 font-weight:750;
 text-decoration:none;
}
.book-world .back-button:hover,
.book-world .back-button:focus-visible{
 background:transparent;
 color:#2d173e;
 text-decoration:underline;
 text-underline-offset:4px;
}
.book-world .back-languages{
 grid-column:3;
 justify-self:end;
 gap:12px;
}
.book-world .back-languages a{
 color:#fff7ed;
 padding:8px 0;
}
.book-world .back-breadcrumbs{
 grid-column:1/3;
 width:auto;
 min-width:0;
 margin:0;
 color:#f4d9d6;
 overflow:hidden;
 white-space:nowrap;
 text-overflow:ellipsis;
}
.book-world .back-breadcrumbs a{color:#fff7ed}

@media(max-width:760px){
 .book-world .site-header{height:72px;padding-inline:18px}
 .book-world .site-header .brand img{width:145px}
 .book-world .menu-button{border:0;border-radius:0;background:transparent}
 .book-world .menu-button i{background:#fff8ed}
 .book-world .site-header nav,
 .book-world .site-header nav.open{background:#6f2038 url('/libros/art/cabecera-libros-burdeos-v1.webp') center/cover no-repeat;color:#fff7ed}
 .book-world .menu-button i{background:#fff8ed}
 .book-world .back-bar{
  grid-template-columns:1fr auto;
  gap:0 14px;
  min-height:0;
  padding:0 20px 10px;
 }
 .book-world .back-languages{grid-column:2;grid-row:1}
 .book-world .back-breadcrumbs{
  grid-column:1;
  grid-row:1;
  width:100%;
  margin:0;
  padding:1px 0 3px;
  font-size:.78rem;
 }
}
