/* Independent fit proposal. Existing text, assets and real header are preserved. */
@layer mobile-review-important {
 html:root body[data-horizontal-book][data-book-fit] #contenido.atelier-index-main{min-height:calc(100svh - 2px)!important;padding:calc(var(--index-header-height,164px) + 4px) 24px 14px!important;overflow:visible!important;}
 html:root body[data-horizontal-book][data-book-fit] .atelier-index-heading{height:32px!important;margin:0 auto 4px!important;max-width:1180px!important;}
 html:root body[data-horizontal-book][data-book-fit] .atelier-index-back{min-height:32px!important;font-size:14px!important;}
 html:root body[data-horizontal-book][data-book-fit] #em-atelier-book{--fit-paper-height:min(640px,calc(100svh - var(--index-header-height,164px) - 114px));--horizontal-spread-width:1180px;--horizontal-cover-width:min(900px,calc(var(--fit-paper-height)*1.75),calc(100vw - 74px));--fit-note-font:18px;}
 html:root body[data-horizontal-book][data-book-fit] #em-atelier-book .spread,
 html:root body[data-horizontal-book][data-book-fit] #em-atelier-book .architecture-spread{height:var(--fit-paper-height)!important;min-height:0!important;overflow:visible!important;}
 html:root body[data-horizontal-book][data-book-fit] #em-atelier-book .paper,
 html:root body[data-horizontal-book][data-book-fit] #em-atelier-book .paper:first-child,
 html:root body[data-horizontal-book][data-book-fit] #em-atelier-book .paper:last-child,
 html:root body[data-horizontal-book][data-book-fit] #em-atelier-book .architecture-spread .paper{min-height:0!important;padding:30px 25px 25px!important;}
 html:root body[data-horizontal-book][data-book-fit] #em-atelier-book .running-brand{top:9px!important;right:18px!important;font-size:10px!important;}
 html:root body[data-horizontal-book][data-book-fit] #em-atelier-book h2{font-size:28px!important;line-height:1.13!important;margin:0 0 13px!important;}
 html:root body[data-horizontal-book][data-book-fit] #em-atelier-book .author-note-heading{margin:0 0 13px!important;}
 html:root body[data-horizontal-book][data-book-fit] #em-atelier-book .author-note-heading h2{margin:0!important;}
 html:root body[data-horizontal-book][data-book-fit] #em-atelier-book .author-note p{font-size:var(--fit-note-font)!important;line-height:1.34!important;margin:0 0 12px!important;}
 html:root body[data-horizontal-book][data-book-fit] #em-atelier-book .author-note-portrait{width:84px!important;height:105px!important;margin:0 14px 5px 0!important;}
 html:root body[data-horizontal-book][data-book-fit] #em-atelier-book .author-note-close{grid-template-columns:minmax(0,1fr) 62px!important;gap:12px!important;margin-top:10px!important;}
 html:root body[data-horizontal-book][data-book-fit] #em-atelier-book .author-note .author-name{font-size:11px!important;line-height:1.3!important;margin:0 0 4px!important;}
 html:root body[data-horizontal-book][data-book-fit] #em-atelier-book .author-signature{width:83px!important;max-height:43px!important;}
 html:root body[data-horizontal-book][data-book-fit] #em-atelier-book .author-note-seal{width:62px!important;height:62px!important;}
 html:root body[data-horizontal-book][data-book-fit] #em-atelier-book .page-number{bottom:7px!important;left:20px!important;right:20px!important;font-size:10px!important;}
 html:root body[data-horizontal-book][data-book-fit] #em-atelier-book .book-kicker{font-size:10px!important;margin:0 0 8px!important;}
 html:root body[data-horizontal-book][data-book-fit] #em-atelier-book .contents-list{margin:14px 0 0!important;}
 html:root body[data-horizontal-book][data-book-fit] #em-atelier-book .contents-list li{padding:6px 0!important;font-size:23px!important;}
 html:root body[data-horizontal-book][data-book-fit] #em-atelier-book .contents-label{min-height:38px!important;}
 html:root body[data-horizontal-book][data-book-fit] #em-atelier-book .architecture-spread h2{margin-bottom:14px!important;}
 html:root body[data-horizontal-book][data-book-fit] #em-atelier-book .architecture-tree{padding-top:28px!important;margin-top:4px!important;gap:12px!important;}
 html:root body[data-horizontal-book][data-book-fit] #em-atelier-book .chapter-label{font-size:11px!important;min-height:15px!important;}
 html:root body[data-horizontal-book][data-book-fit] #em-atelier-book .tree-branch h3{font-size:23px!important;margin:4px 0 10px!important;}
 html:root body[data-horizontal-book][data-book-fit] #em-atelier-book .tree-branch ul{gap:4px!important;}
 html:root body[data-horizontal-book][data-book-fit] #em-atelier-book .tree-branch li{font-size:18px!important;line-height:1.32!important;}
 html:root body[data-horizontal-book][data-book-fit] #em-atelier-book .tree-branch li a{min-height:36px!important;padding:4px 0!important;}
 html:root body[data-horizontal-book][data-book-fit] #em-atelier-book .book-controls{margin:12px auto 0!important;min-height:44px!important;padding:0 2px!important;}
 html:root body[data-horizontal-book][data-book-fit] #em-atelier-book .book-controls button{min-height:44px!important;}
 html:root body[data-horizontal-book][data-book-fit] #em-atelier-book[data-page="0"] .book-controls{margin-top:12px!important;}
 html:root body[data-horizontal-book][data-book-fit] #em-atelier-book .book-cover{box-shadow:inset 1px 1px 2px #f7dfbf99,inset -3px -3px 5px #57352188,3px 3px 0 #b58b66,6px 5px 0 #e9dfcb,9px 8px 0 #785039,0 22px 22px -12px #38271e77!important;}
 html:root body[data-horizontal-book][data-book-fit] #em-atelier-book .book-cover::before{width:34px!important;background:linear-gradient(90deg,#392117,#7d5038 14%,#c79972 25%,#503020 31%,#865b3c 56%,#b29375 100%)!important;box-shadow:inset 1px 0 2px #d8ba92,4px 0 6px #3d231b77!important;}
 @media(min-width:1400px){
  html:root body[data-horizontal-book][data-book-fit] #em-atelier-book{--fit-note-font:20px;--horizontal-spread-width:1240px;}
  html:root body[data-horizontal-book][data-book-fit] #em-atelier-book .author-note p{line-height:1.4!important;}
 }
 @media(min-width:1600px){
  html:root body[data-horizontal-book][data-book-fit] #em-atelier-book{--fit-note-font:21px;}
  html:root body[data-horizontal-book][data-book-fit] .atelier-index-heading{max-width:1240px!important;}
 }
 @media(max-width:900px){
  html:root body[data-horizontal-book][data-book-fit] #contenido.atelier-index-main{padding:calc(var(--index-header-height,80px) + 8px) 14px 145px!important;}
  html:root body[data-horizontal-book][data-book-fit] #em-atelier-book{--horizontal-cover-width:min(660px,calc(100vw - 44px));--horizontal-spread-width:680px;--fit-note-font:20px;}
  html:root body[data-horizontal-book][data-book-fit] #em-atelier-book .spread{display:block!important;height:auto!important;min-height:0!important;}
  html:root body[data-horizontal-book][data-book-fit] #em-atelier-book .spread::after{display:none!important;}
  html:root body[data-horizontal-book][data-book-fit] #em-atelier-book .paper,
  html:root body[data-horizontal-book][data-book-fit] #em-atelier-book .paper:first-child,
  html:root body[data-horizontal-book][data-book-fit] #em-atelier-book .paper:last-child{padding:40px 24px 34px!important;}
  html:root body[data-horizontal-book][data-book-fit] #em-atelier-book .author-note p{font-size:20px!important;line-height:1.45!important;margin-bottom:18px!important;}
  html:root body[data-horizontal-book][data-book-fit] #em-atelier-book .author-note .author-name{font-size:11px!important;line-height:1.35!important;margin-bottom:5px!important;}
  html:root body[data-horizontal-book][data-book-fit] #em-atelier-book .author-note-portrait{width:80px!important;height:100px!important;}
  html:root body[data-horizontal-book][data-book-fit] #em-atelier-book .architecture-tree{display:grid!important;grid-template-columns:1fr!important;padding:0 0 0 16px!important;gap:24px!important;}
  html:root body[data-horizontal-book][data-book-fit] #em-atelier-book .tree-branch .chapter-label,
  html:root body[data-horizontal-book][data-book-fit] #em-atelier-book .tree-branch h3{text-align:left!important;}
  html:root body[data-horizontal-book][data-book-fit] #em-atelier-book .tree-branch h3 a{justify-content:flex-start!important;}
  html:root body[data-horizontal-book][data-book-fit] #em-atelier-book .tree-branch li{font-size:20px!important;line-height:1.4!important;}
  html:root body[data-horizontal-book][data-book-fit] #em-atelier-book .tree-branch li a{min-height:44px!important;}
  html:root body[data-horizontal-book][data-book-fit] #em-atelier-book .book-controls{flex-wrap:wrap!important;gap:8px!important;}
 }
 @media(max-width:350px){
  html:root body[data-horizontal-book][data-book-fit] #em-atelier-book .paper,
  html:root body[data-horizontal-book][data-book-fit] #em-atelier-book .paper:first-child,
  html:root body[data-horizontal-book][data-book-fit] #em-atelier-book .paper:last-child{padding-inline:18px!important;}
 }
 @media(prefers-reduced-motion:reduce){
  html:root body[data-horizontal-book][data-book-fit] #em-atelier-book *,html:root body[data-horizontal-book][data-book-fit] #em-atelier-book *::before,html:root body[data-horizontal-book][data-book-fit] #em-atelier-book *::after{animation:none!important;transition:none!important;}
 }
}

@layer mobile-review-important {
 html:root body[data-horizontal-book][data-book-fit] #em-atelier-book .book-cover{background:transparent url('/assets/img/cubierta-ante-cafe-lomo-cobre-v2.png') center/100% 100% no-repeat!important;border:0!important;box-shadow:none!important;}
 html:root body[data-horizontal-book][data-book-fit] #em-atelier-book .book-cover::before,html:root body[data-horizontal-book][data-book-fit] #em-atelier-book .book-cover::after{content:none!important;}
}

@layer mobile-review-important {html:root body[data-horizontal-book][data-book-fit] #em-atelier-book [hidden]{display:none!important;}}

@layer mobile-review-important {
 @media(max-width:360px){
  html:root body[data-horizontal-book][data-book-fit] #em-atelier-book .author-note-portrait{float:none!important;display:block!important;width:96px!important;height:120px!important;margin:0 0 16px!important;}
 }
}
