/* V0.9 — Identidade visual, imagens locais e capas coerentes, sem reestilizar a navegação existente. */
.autor-site .hero {background-image:linear-gradient(90deg,rgba(5,12,29,.98) 0%,rgba(7,15,32,.89) 31%,rgba(8,17,35,.34) 70%,rgba(7,15,32,.17) 100%),url("author-hero.webp");background-position:center,center 46%;background-size:cover;background-repeat:no-repeat;}
.autor-site .hero h1 {max-width:720px;text-shadow:0 3px 18px rgba(2,6,18,.55)}
.autor-site .feature {background-image:linear-gradient(90deg,rgba(13,22,45,.97),rgba(16,20,42,.67)),url("refugio-hero.webp");background-position:center;background-size:cover;}
.community-app.v05 .c-welcome {background-image:linear-gradient(95deg,rgba(18,14,39,.98),rgba(23,16,48,.86) 46%,rgba(20,13,44,.17)),url("refugio-hero.webp");background-position:center;background-size:cover;background-repeat:no-repeat;}
.community-app.v05 .c-auth-intro {background-image:linear-gradient(130deg,rgba(17,15,39,.96),rgba(21,15,40,.72)),url("refugio-hero.webp");background-size:cover;background-position:center;}
/* Capa: proporção 2:3, sem recortar capas editoriais; fallback com o nome da obra. */
.tf-cover-box,.community-app .c-cover,.community-app .c-detail-cover {position:relative;isolation:isolate;overflow:hidden;aspect-ratio:2/3;padding:0!important;border:0;border-radius:11px;background:linear-gradient(145deg,#172b4b,#3c2f54 65%,#8b6484);}
.tf-cover-fallback {position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;padding:11px 8px;background:radial-gradient(circle at 65% 24%,#9583aa77,transparent 48%),linear-gradient(155deg,#24314e,#4a2b50 65%,#14223c);font-family:Georgia,serif;text-align:center;color:#fbe9ca;word-break:normal;overflow-wrap:anywhere;}
.tf-cover-fallback .tf-cover-symbol{font-size:28px;opacity:.85;line-height:1}
.tf-cover-fallback .tf-cover-title{font-size:clamp(12px,1.6vw,18px);font-weight:600;line-height:1.14;max-height:75%;overflow:hidden;display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical}
.tf-cover-fallback .tf-cover-caption{font:600 8px system-ui,sans-serif;letter-spacing:.18em;opacity:.8}
.tf-cover-img{position:absolute;inset:0;width:100%!important;height:100%!important;max-width:100%;max-height:100%;display:block;object-fit:contain!important;background:#16182b;}
.tf-cover-image-failed{display:none!important}
.autor-site .cover{width:105px;min-height:0;height:158px;flex:0 0 105px;box-shadow:0 12px 28px #03071088}
.autor-site .cover.large{width:240px;height:360px;flex:0 0 240px}
.autor-site .cover .tf-cover-title{font-size:15px}
.autor-site .cover.large .tf-cover-title{font-size:24px}
.community-app .c-book .c-cover {width:88px;height:132px;min-height:0;flex-shrink:0;}
.community-app .c-mini-books .c-cover {width:60px;height:90px;min-height:0;}
.community-app .c-detail-cover {width:min(100%,245px);height:auto;min-height:0;aspect-ratio:2/3;}
.community-app .c-book-grid .tf-cover-title {font-size:13px;}
.community-app .c-mini-books .tf-cover-title {font-size:10px;}
.community-app .c-mini-books .tf-cover-symbol {font-size:17px;}
@media(max-width:760px){.autor-site .hero{background-position:65% 46%;background-image:linear-gradient(90deg,rgba(5,12,29,.96),rgba(7,15,31,.66)),url("author-hero.webp")}.autor-site .cover{width:135px;height:203px;flex:0 0 135px}.autor-site .cover.large{width:200px;height:300px;flex:0 0 200px}.community-app.v05 .c-welcome{background-position:62% center}.community-app .c-book-detail .c-detail-cover{width:200px}}
@media(prefers-reduced-motion:reduce){.autor-site .btn,.community-app .btn{transition:none!important;transform:none!important}}
:where(.autor-site,.community-app) a:focus-visible,:where(.autor-site,.community-app) button:focus-visible {outline:3px solid #f2c997;outline-offset:3px}
