/*
 * Laughtale - Capa & Edição
 * Base 0.1.7
 * Este arquivo estiliza apenas conteúdo específico da capa/edição.
 * A estrutura do leitor e a navegação vivem em style.css/main.js.
 */

:root { --bg-drawer: #f1eee7; }

/* ==========================================================
   VERSO DA CAPA E LOMBADA
   ========================================================== */
.verso-page {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
    background-size: cover;
    background-position: center;
}

.verso-main-area {
    flex: 1 1 auto;
    min-height: 0;
    margin-right: 16px;
    overflow: auto;
    overscroll-behavior: contain;
    font-size: .84rem;
    line-height: 1.5;
}
.verso-main-area p { margin: 0 0 .8rem; }
.verso-main-area a { color: #ffb703; }
.verso-main-area img { display: block; max-width: 100%; max-height: 260px; margin: .5rem auto; object-fit: contain; }

.book-spine-strip {
    position: absolute;
    z-index: 10;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 12px;
    height: 100%;
    padding: 1.3rem 0;
    pointer-events: none;
    background: linear-gradient(to right, #050505, #1a1a1a, #080808);
    border-left: 1px solid rgba(255,255,255,.15);
}
.spine-text {
    color: rgba(255,255,255,.72);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: .5rem;
    font-weight: 800;
    letter-spacing: .08em;
    white-space: nowrap;
    writing-mode: vertical-rl;
}

.verso-isbn-box {
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 55px;
    margin-right: 16px;
    padding: 4px 6px;
    background: #fff;
    color: #000;
    border: 1px solid #111;
}
.verso-isbn-box img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* ==========================================================
   CAPA
   ========================================================== */
.cover-page-right {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 50%;
    height: 100%;
    padding: clamp(1rem, 2vw, 1.8rem);
    overflow: hidden;
    background-position: center;
    background-size: cover;
    color: #fff;
}
.cover-page-right::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(0,0,0,.16), transparent 35%, rgba(0,0,0,.32));
}
.cover-page-right > * { position: relative; z-index: 1; }

.cover-top-logo { order: 1; max-width: 92%; flex-shrink: 0; }
.cover-top-logo img { display: block; width: auto !important; max-height: var(--custom-logo-height, 80px) !important; object-fit: contain; }
.cover-logo-text { color: #fff; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.45rem, 2.7vw, 2.2rem); font-weight: 900; letter-spacing: .04em; }

.cover-main-clean,
.cover-callout { display: block; text-decoration: none; transition: transform .18s ease, opacity .18s ease; }
.cover-main-clean:hover,
.cover-callout:hover { transform: translateY(-2px); opacity: .94; }

.main-pos-top { order: 2; margin-top: .5rem; }
.main-pos-bottom { order: 4; margin-top: auto; }
.cover-main-clean { max-width: 96%; }

.cover-callouts-area { order: 3; display: flex; flex-direction: column; min-height: 0; margin: .4rem 0; overflow: hidden; }
.callouts-vpos-top { margin-bottom: auto; }
.callouts-vpos-bottom { margin-top: auto; margin-bottom: .5rem; }
.cover-callout { max-width: 88%; }

.align-esquerda { align-self: flex-start; margin-right: auto; text-align: left; }
.align-centro { align-self: center; margin-right: auto; margin-left: auto; text-align: center; }
.align-direita { align-self: flex-end; margin-left: auto; text-align: right; }
.is-bold { font-weight: 900 !important; }
.is-normal { font-weight: 400 !important; }
.is-italic { font-style: italic !important; }
.has-white-box {
    display: inline-block;
    margin: 0 0 .18rem !important;
    padding: .08rem .45rem !important;
    border-radius: 2px;
    background: rgba(255,255,255,.94);
    color: #111 !important;
}
.cover-callout h3,
.cover-main-clean h2 { margin: 0 0 .35rem !important; line-height: .98 !important; white-space: pre-line; }
.cover-callout p,
.cover-main-clean p { margin: 0 !important; line-height: 1.15 !important; opacity: .96; white-space: pre-line; }

/* ==========================================================
   CONTRACAPA
   ========================================================== */
.home-left-page {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #0d0d0d;
    background-position: center;
    background-size: cover;
    color: #fff;
}
.backcover-longtext-box {
    z-index: 2;
    max-height: 62%;
    margin: .25rem 0 .75rem;
    padding: 1rem 1.15rem;
    overflow: auto;
    overscroll-behavior: contain;
    border: 1px solid #111;
    background: rgba(255,255,255,.95);
    color: #222;
    font-size: .8rem;
    line-height: 1.5;
}
.backcover-longtext-box p { margin: 0 0 .65rem; }

/* ==========================================================
   ÍNDICE / EXPEDIENTE
   ========================================================== */
.home-right-index {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.15rem 1.45rem !important;
    overflow: hidden;
    background: var(--bg-drawer);
}
.index-custom-topbar { display: flex; flex: 0 0 auto; align-items: stretch; justify-content: space-between; min-height: 54px; margin-bottom: .6rem; }
.index-top-left-box { display: flex; align-items: center; justify-content: center; width: 58%; gap: .85rem; padding: .35rem .55rem; border: 1px solid #111; }
.index-top-logo { display: block; width: auto !important; max-height: 40px !important; object-fit: contain; }
.index-edition-square-badge { display: flex; flex: 0 0 44px; flex-direction: column; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid currentColor; border-radius: 3px; line-height: 1; }
.index-edition-square-badge .edition-number { font-family: 'Playfair Display', Georgia, serif; font-size: .96rem; font-weight: 900; font-style: italic; }
.index-edition-square-badge .edition-date { margin-top: 2px; font-size: .48rem; font-weight: 800; text-transform: uppercase; }
.index-top-right-box-clean { display: flex; align-items: center; justify-content: flex-end; width: 40%; overflow: hidden; }
.index-expediente-text-right { width: 100%; color: #333; font-size: .52rem; line-height: 1.2; text-align: right; }

.index-editorial-body { flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; padding-right: .25rem; }
.index-highlights-list { display: flex; flex-direction: column; gap: .55rem; }
.index-highlight-item.no-border { display: flex; align-items: center; gap: .75rem; padding-bottom: .25rem; }
.index-highlight-item.img-pos-direita { flex-direction: row-reverse; }
.index-highlight-thumb-large { flex: 0 0 80px; width: 80px; height: 80px; overflow: hidden; border: 1px solid #111; }
.index-highlight-thumb-large img { width: 100%; height: 100%; object-fit: cover; }
.index-highlight-content { min-width: 0; flex: 1; }
.index-highlight-content a { display: block; color: #111; text-decoration: none; }
.index-highlight-content h3 { margin: 0 0 .15rem !important; line-height: 1.12; }
.index-highlight-content p { margin: 0; color: #444; line-height: 1.25; }
.index-divider { height: 1px; margin: .6rem 0; background: #111; }
.index-section-title { margin: 0 0 .3rem; font-family: 'Playfair Display', Georgia, serif; font-size: .8rem; }
.index-recent-posts-list ul { margin: 0; padding: 0; list-style: none; }
.index-recent-posts-list li { margin-bottom: .22rem; padding-bottom: .16rem; border-bottom: 1px dotted #c7c1b7; font-size: .72rem; }
.index-recent-posts-list .post-date { margin-right: .35rem; color: var(--accent-red); font-size: .62rem; font-weight: 800; }
.index-recent-posts-list a { color: #111; text-decoration: none; font-weight: 650; }

.index-bottom-footer-menu { flex: 0 0 auto; margin-top: .45rem; padding-top: .4rem; border-top: 1px solid #111; }
.index-menu-two-columns ul { display: grid; grid-template-columns: 1fr 1fr; gap: .1rem .6rem; margin: 0; padding: 0; list-style: none; }
.index-menu-two-columns a { color: #111; text-decoration: none; font-size: .62rem; font-weight: 800; text-transform: uppercase; }

/* ==========================================================
   MOBILE: nesta primeira base a capa prioriza a frente e a
   página Edição prioriza o índice. O verso/contracapa será
   transformado em páginas navegáveis numa etapa posterior.
   ========================================================== */
@media (max-width: 900px) {
    .home-magazine-viewport .verso-page { display: none; }
    .home-magazine-viewport .cover-page-right { display: flex; width: 100%; }
    .edicao-magazine-viewport .home-left-page { display: none; }
    .edicao-magazine-viewport .home-right-index { display: flex; width: 100%; }
    .book-spine-strip { display: none; }
    .cover-main-clean,
    .cover-callout { max-width: 94%; }
}

/* Keep discovery reachable on short screens while using the free lower area. */
.index-editorial-body { display:flex; flex-direction:column; }
.index-editorial-body > * { flex-shrink:0; }
@media(max-width:900px) {
    .lt-static-mobile .magazine-spread > .spread-page { display:flex; width:100%; height:100%; }
}

/* 0.1.26: the approved index hierarchy always fits without internal scrolling.
   Item count follows the actual page height, including the admin toolbar. */
.home-right-index { container: lt-index / size; }
.index-editorial-body { overflow:hidden; padding-right:0; }
.index-top-left-box { min-width:0; overflow:hidden; }
.index-top-logo { min-width:0; max-width:calc(100% - 52px)!important; flex:0 1 auto; }
.index-highlights-list { gap:6px; }
.index-highlight-thumb-large { flex-basis:60px; width:60px; height:60px; }
.index-highlight-content h3 { font-size:1rem!important; }
.index-highlight-content p { font-size:.75rem!important; }
.index-divider { margin:6px 0; }
.index-recent-posts-list li { display:flex; align-items:baseline; line-height:1.3; margin-bottom:3px; padding-bottom:3px; }
.index-recent-posts-list .post-date { flex:0 0 auto; }
.index-recent-posts-list li a { min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.index-recent-posts-list li:nth-child(n+3) { display:none; }
.home-right-index .lt-index-shortcuts { margin:4px 0; gap:2rem; }
.home-right-index .lt-index-discovery { margin-top:auto; padding-top:4px; }
.home-right-index .lt-index-start { margin:0; }
.home-right-index .lt-index-start label,
.home-right-index .lt-index-search label { display:block; font-size:.8rem; line-height:1.2; margin:0 0 4px; }
.home-right-index .lt-index-search { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:0 8px; margin-top:8px; }
.home-right-index .lt-index-search label { grid-column:1 / -1; }
.index-bottom-footer-menu:has(nav:empty) { display:none; }
@media(max-width:900px) {
 .home-right-index { padding:12px 16px!important; }
 .index-custom-topbar { gap:8px; }
 .index-top-left-box { gap:6px; }
}
@container lt-index (min-height:480px) {
 .index-recent-posts-list li:nth-child(3) { display:flex; }
}
@container lt-index (min-height:540px) {
 .index-recent-posts-list li:nth-child(4) { display:flex; }
}
@container lt-index (min-height:600px) {
 .index-recent-posts-list li:nth-child(5) { display:flex; }
 .index-highlights-list { gap:9px; }
 .index-divider { margin:10px 0; }
}
@container lt-index (min-height:680px) {
 .index-highlight-thumb-large { flex-basis:80px; width:80px; height:80px; }
 .index-highlight-content h3 { font-size:1.1rem!important; }
 .index-highlight-content p { font-size:.8rem!important; }
}
@container lt-index (max-height:480px) {
 .index-custom-topbar { min-height:46px; margin-bottom:6px; }
 .index-top-left-box { padding:2px 4px; }
 .index-highlight-thumb-large { flex-basis:44px; width:44px; height:44px; }
 .index-highlight-item.no-border { gap:8px; padding-bottom:0; }
 .index-highlight-content h3 { font-size:.9rem!important; }
 .index-highlight-content p { font-size:.68rem!important; line-height:1.2; }
 .index-expediente-text-right { font-size:.46rem; }
 .home-right-index .lt-index-shortcuts a { font-size:1.2rem; }
 .home-right-index .lt-index-search { margin-top:5px; }
}
/* 0.1.36: edition-only sheets. The canonical canvas scales uniformly. */
#edicao-viewport .lt-edition-leaf { padding:0; border:0; background:var(--bg-paper,#f6f3ec); color:#171717; }
#edicao-viewport .lt-edition-sheet { position:absolute; top:0; left:0; width:548px; height:806px; box-sizing:border-box; padding:28px 32px; transform-origin:top left; transform:scale(var(--lt-edition-scale,1)); font:13px/1.4 'Inter',sans-serif; display:flex; flex-direction:column; gap:14px; overflow:hidden; }
#edicao-viewport .lt-edition-sheet * { box-sizing:border-box; min-width:0; }
#edicao-viewport .lt-edition-sheet [hidden] { display:none!important; }
#edicao-viewport .lt-edition-sheet a { color:inherit; text-decoration:none; }
#edicao-viewport .lt-edition-sheet a:hover { text-decoration:underline; }
#edicao-viewport .lt-edition-sheet :is(a,button,input,select):focus-visible { outline:2px solid #a72222; outline-offset:3px; }
#edicao-viewport .lt-edition-sheet h1 { font:800 30px/1.1 'Playfair Display',Georgia,serif; margin:0 0 8px; }
#edicao-viewport .lt-edition-sheet h2 { font:800 14px/1.3 'Inter',sans-serif; text-transform:uppercase; letter-spacing:.06em; margin:0 0 12px; padding-bottom:8px; border-bottom:2px solid #171717; }
#edicao-viewport .lt-edition-sheet p { margin:0; }
#edicao-viewport .lt-edition-masthead { flex:0 0 66px; display:flex; justify-content:space-between; align-items:center; padding:10px 14px; background:#111; color:white; }
#edicao-viewport .lt-edition-masthead strong { font:900 25px/1 'Playfair Display',Georgia,serif; }
#edicao-viewport .lt-edition-masthead img { max-width:76%; max-height:46px; object-fit:contain; }
#edicao-viewport .lt-edition-masthead span { text-align:right; font-weight:800; }
#edicao-viewport .lt-edition-masthead small { display:block; font-size:11px; }
#edicao-viewport .lt-edition-credits { flex:0 0 auto; min-height:90px; display:flex; flex-direction:column; justify-content:space-between; gap:8px; font-size:13px; }
#edicao-viewport .lt-edition-social { display:flex; flex-wrap:wrap; gap:8px 16px; font-weight:600; }
#edicao-viewport :is(.lt-edition-features,.lt-edition-recents) { flex:1; min-height:0; display:flex; flex-direction:column; }
#edicao-viewport .lt-edition-sheet ol { padding:0; margin:0; list-style:none; }
#edicao-viewport .lt-edition-sheet li { margin:0 0 14px; padding:0 0 12px; border-bottom:1px solid #c7c1b7; overflow-wrap:anywhere; }
#edicao-viewport .lt-edition-category { display:block; font-size:11px; line-height:1.3; text-transform:uppercase; color:#a72222; font-weight:800; margin-bottom:4px; }
#edicao-viewport .lt-edition-features li a { display:block; font:700 22px/1.18 'Playfair Display',Georgia,serif; }
#edicao-viewport .lt-edition-recents li a { display:block; font:650 16px/1.25 'Inter',sans-serif; }
#edicao-viewport .lt-edition-institution { flex:0 0 60px; border-top:2px solid #171717; display:flex; flex-wrap:wrap; align-content:center; gap:8px 18px; font-size:12px; font-weight:600; }
#edicao-viewport .lt-edition-institution span { color:#666; }
#edicao-viewport .lt-edition-intro { flex:0 0 94px; }
#edicao-viewport .lt-edition-intro p { max-width:100%; line-height:1.4; }
#edicao-viewport .lt-edition-tools { flex:0 0 174px; border-top:2px solid #171717; padding-top:14px; }
#edicao-viewport .lt-edition-tools .lt-index-shortcuts { display:flex; gap:12px; margin:0 0 12px; }
#edicao-viewport .lt-edition-tools .lt-index-discovery { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
#edicao-viewport .lt-edition-tools form { display:flex; flex-direction:column; gap:6px; margin:0; padding:0; border:0; }
#edicao-viewport .lt-edition-tools label { font:700 13px/1.4 'Inter',sans-serif; }
#edicao-viewport .lt-edition-tools input { width:100%; }
#edicao-viewport .lt-edition-sheet :is(input,select,button) { font:600 13px/1.3 'Inter',sans-serif; min-height:32px; padding:5px 8px; border:1px solid #9a9389; border-radius:0; color:#171717; background:#fff; }
#edicao-viewport .lt-edition-tools .lt-index-start > div { display:flex; gap:6px; }
#edicao-viewport :is(.lt-edition-feature-pager,.lt-edition-recent-pager) { margin-top:auto; display:flex; align-items:center; justify-content:space-between; gap:8px; padding-top:8px; font-size:12px; }
#edicao-viewport .lt-edition-sheet[data-density='compact'] { gap:10px; }
#edicao-viewport .lt-edition-sheet[data-density='compact'] li { margin-bottom:10px; padding-bottom:8px; }
#edicao-viewport .lt-edition-sheet[data-density='safety'] { gap:8px; }
#edicao-viewport .lt-edition-sheet[data-density='safety'] li { margin-bottom:8px; padding-bottom:6px; }

/* 0.1.36-rc.2: scoped editorial refinements, canonical geometry unchanged. */
#edicao-viewport .lt-edition-credits { font-size:11px; line-height:1.38; color:#454545; }
#edicao-viewport .lt-edition-intro h1 { text-align:right; }
#edicao-viewport .lt-edition-recents li { margin-bottom:4px; padding-bottom:3px; }
#edicao-viewport .lt-edition-recents li a { font-size:14px; line-height:1.2; }
#edicao-viewport .lt-edition-recents .lt-edition-category { font-size:11px; margin-bottom:2px; }
#edicao-viewport .lt-feature-item { display:flex; align-items:flex-start; gap:12px; }
#edicao-viewport .lt-edition-features .lt-feature-image { flex:0 0 64px; width:64px; }
#edicao-viewport .lt-feature-image img { display:block; width:64px; height:64px; object-fit:contain; }
#edicao-viewport .lt-feature-copy { flex:1; }
#edicao-viewport .lt-feature-copy .lt-feature-subtitle { margin-top:4px; line-height:1.3; color:#454545; }
#edicao-viewport .lt-edition-sheet[data-density='compact'] .lt-edition-recents li { margin-bottom:6px; padding-bottom:5px; }
#edicao-viewport .lt-edition-sheet[data-density='safety'] .lt-edition-recents li { margin-bottom:5px; padding-bottom:4px; }

/* Credits are complete; density changes columns, never removes their text. */
#edicao-viewport .lt-edition-sheet[data-density="normal"] .lt-edition-credit-copy {columns:2;column-gap:18px;}
#edicao-viewport .lt-edition-sheet:is([data-density="compact"],[data-density="safety"]) .lt-edition-credit-copy {columns:1;}
#edicao-viewport .lt-edition-credit-copy {white-space:normal;overflow-wrap:anywhere;}
#edicao-viewport .lt-edition-recents {position:relative;}
#edicao-viewport .lt-edition-recents > ol {flex:none;}
#edicao-viewport .lt-edition-recent-pager {flex:none;min-height:52px;}
#edicao-viewport .lt-edition-recent-pager button {border:0;background:transparent;font-size:24px;min-width:max(64px,calc(44px / var(--lt-shell-scale,1)));min-height:max(64px,calc(44px / var(--lt-shell-scale,1)));padding:0;}
#edicao-viewport .lt-edition-recent-pager button:disabled {opacity:.25;}
#edicao-viewport .lt-edition-recent-pager span {font-size:11px;color:#666;}
@media(prefers-reduced-motion:no-preference) {#edicao-viewport .lt-edition-recents ol.lt-batch-next {animation:lt-batch-next 240ms ease;}#edicao-viewport .lt-edition-recents ol.lt-batch-prev {animation:lt-batch-prev 240ms ease;}}
@keyframes lt-batch-next {from {opacity:.4;transform:translateX(100%);}to {opacity:1;transform:translateX(0);}}
@keyframes lt-batch-prev {from {opacity:.4;transform:translateX(-100%);}to {opacity:1;transform:translateX(0);}}
/* Without enhancement the edition remains a complete, ordered document. */
body:not(.lt-publication-ready) #edicao-viewport {display:block;}
body:not(.lt-publication-ready) #edicao-viewport .magazine-book-spreads {width:min(1100px,100%);height:auto;overflow:visible;}
body:not(.lt-publication-ready) #edicao-viewport .magazine-spread {position:static;transform:none;opacity:1;visibility:visible;pointer-events:auto;flex-wrap:wrap;}
body:not(.lt-publication-ready) #edicao-viewport .lt-edition-leaf {display:flex;flex:1 1 100%;width:100%;height:auto;overflow:visible;}
body:not(.lt-publication-ready) #edicao-viewport .lt-edition-sheet {position:static;width:100%;height:auto;transform:none;overflow:visible;}

/* Verso V1 consumes Publication Shell leaf geometry; no sheet sizing here. */
#home-viewport .verso-page:has(.lt-verso-v1) {padding:0;color:var(--text-dark);container-type:size;container-name:lt-verso;}
#home-viewport.lt-static-mobile .verso-page:has(.lt-verso-v1) {display:flex;}
.lt-verso-v1 {position:absolute;inset:0;display:flex;flex-direction:column;gap:14px;padding:24px;overflow:hidden;--lt-verso-qr-size:clamp(64px,calc(96px * var(--lt-shell-scale,1)),96px);}
.lt-verso-v1 * {box-sizing:border-box;min-width:0;}
.lt-verso-monetization {position:relative;flex:1 1 0;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden;color:#f8f6f1;}
.lt-verso-image-link,.lt-verso-affiliate-media {display:flex;width:100%;height:100%;align-items:center;justify-content:center;min-height:0;}
.lt-verso-image,.lt-verso-affiliate-media img {display:block;width:100%;height:100%;max-height:100%;object-fit:contain;margin:0;}
.lt-verso-coffee {position:relative;z-index:2;flex:none;display:flex;align-self:flex-start;align-items:center;gap:10px;width:min(100%,330px);padding:8px;background:#fff;color:#111;border:1px solid #111;font:10px/1.3 'Inter',system-ui,sans-serif;}
.lt-verso-v1[data-lt-coffee-corner='right'] .lt-verso-coffee {align-self:flex-end;}
.lt-verso-qr {flex:none;width:var(--lt-verso-qr-size);height:var(--lt-verso-qr-size);display:grid;place-items:center;background:#fff;padding:3px;}
.lt-verso-qr img {display:block;width:100%;height:100%;object-fit:contain;max-height:none;}
.lt-verso-qr>span {font:700 24px/1 monospace;}
.lt-verso-coffee-copy {flex:1;overflow-wrap:anywhere;}
.lt-verso-coffee-copy strong {display:block;font:700 10px/1.2 monospace;letter-spacing:.02em;}
.lt-verso-coffee-copy p {margin:4px 0;font:10px/1.3 'Inter',system-ui,sans-serif;}
.lt-verso-coffee-copy small {display:block;font:9px/1.2 monospace;}
.lt-verso-barcode {display:block;height:12px;margin:4px 0;background:repeating-linear-gradient(90deg,#111 0 2px,#fff 2px 3px,#111 3px 4px,#fff 4px 7px,#111 7px 10px,#fff 10px 12px);}
.lt-verso-full-image .lt-verso-monetization {position:absolute;inset:0;}
.lt-verso-full-image .lt-verso-coffee {margin-top:auto;}
.lt-verso-affiliate {display:flex;flex-direction:column;gap:12px;width:100%;height:100%;min-height:0;background:#f8f6f1;color:#171717;padding:16px;}
.lt-verso-affiliate-media {flex:1 1 0;min-height:0;}
.lt-verso-affiliate-copy {flex:none;overflow-wrap:anywhere;}
.lt-verso-label {display:block;font:600 10px/1.3 'Inter',system-ui,sans-serif;text-transform:uppercase;letter-spacing:.08em;margin-bottom:6px;}
.lt-verso-affiliate-copy h2 {font:700 22px/1.12 'Playfair Display',Georgia,serif;margin:0 0 6px;}
.lt-verso-affiliate-copy p {font:13px/1.35 'Inter',system-ui,sans-serif;margin:0 0 10px;}
.lt-verso-button {display:inline-flex;align-items:center;justify-content:center;min-height:44px;max-width:100%;padding:8px 12px;background:#171717;color:#fff;text-decoration:none;font:600 12px/1.3 'Inter',system-ui,sans-serif;}
.lt-verso-v1 a:focus-visible {outline:3px solid #d90429;outline-offset:-3px;}
.lt-verso-placeholder {max-width:90%;padding:14px;border:1px dashed currentColor;text-align:center;font:13px/1.5 'Inter',system-ui,sans-serif;overflow-wrap:anywhere;}
.lt-verso-empty-note {font:10px/1.4 monospace;letter-spacing:.08em;color:#aaa;}
.lt-verso-ad-region {position:relative;width:100%;height:100%;min-height:0;display:flex;flex-direction:column;justify-content:center;gap:8px;}
.lt-verso-ad {flex:none;}
.lt-verso-ad-status {display:none;font:12px/1.4 system-ui,sans-serif;}
.lt-verso-ad-region[data-lt-ad-state='unavailable'] .lt-verso-ad-status {display:block;}
@container lt-verso (max-height:650px) {
 .lt-verso-v1 {gap:10px;padding:18px;}
 .lt-verso-affiliate {padding:12px;gap:8px;}
 .lt-verso-affiliate-copy h2 {font-size:18px;}
 .lt-verso-affiliate-copy p {font-size:11px;}
 .lt-verso-label {font-size:9px;}
}
@container lt-verso (max-height:480px) {
 .lt-verso-v1 {padding:12px;gap:8px;}
 .lt-verso-affiliate {padding:8px;gap:6px;}
 .lt-verso-affiliate-copy h2 {font-size:15px;}
 .lt-verso-affiliate-copy p {font-size:10px;line-height:1.25;margin-bottom:6px;}
 .lt-verso-coffee {padding:5px;gap:6px;}
 .lt-verso-coffee-copy p {font-size:9px;}
 .lt-verso-coffee-copy strong {font-size:9px;}
 .lt-verso-barcode {height:8px;}
}

/* rc.2: page image shares the 548x806 leaf, without the legacy inner border.
   cover preserves ratio; exact-ratio half-spreads have zero crop. Coffee overlays safe zone. */
#home-viewport .verso-page:has(.lt-verso-full-image) {border-right:0;}
.lt-verso-full-image {padding:0;gap:0;--lt-verso-safe:24px;}
.lt-verso-full-image .lt-verso-image {object-fit:cover;}
.lt-verso-full-image .lt-verso-coffee {position:absolute;bottom:var(--lt-verso-safe);left:var(--lt-verso-safe);margin:0;width:min(calc(100% - 2 * var(--lt-verso-safe)),330px);}
.lt-verso-full-image[data-lt-coffee-corner='right'] .lt-verso-coffee {left:auto;right:var(--lt-verso-safe);}
@container lt-verso (max-height:650px) {.lt-verso-full-image {padding:0;--lt-verso-safe:18px;}}
@container lt-verso (max-height:480px) {.lt-verso-full-image {padding:0;--lt-verso-safe:12px;}}
/* Historical cover.css strip restored as overlay, scaled with the existing Shell. */
#home-viewport .book-spine-strip {width:calc(12px * var(--lt-shell-scale,1));padding:calc(20.8px * var(--lt-shell-scale,1)) 0;}
#home-viewport .book-spine-strip .spine-text {font-size:calc(8px * var(--lt-shell-scale,1));}
#home-viewport.lt-static-mobile .book-spine-strip {display:none;}
