html, body { overflow-x: clip; }
.mb-featured[hidden], .mb-catalog[hidden] { display: none !important; }
html.mb-home-start #catalogo { display: none !important; }
app-megabanana-home .mb-ad:not(.mb-ad--filled) { visibility: hidden !important; }
app-megabanana-home .mb-home .mb-ad.mb-ad--filled { display: block !important; visibility: visible !important; }
app-megabanana-home .mb-home .mb-ad:has(ins.adsbygoogle iframe) { display: block !important; visibility: visible !important; }
.mb-featured { box-sizing: border-box; width: 100%; margin: 0 auto; padding: 24px clamp(16px, 2vw, 32px) 72px; color: #f8f6ff; font-family: Inter, system-ui, sans-serif; }
.mb-featured-section + .mb-featured-section { margin-top: 54px; }
.mb-featured-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.mb-featured-heading h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: clamp(1.3rem, 1.7vw, 1.7rem); line-height: 1.2; }
.mb-featured-heading h2::before { content: ''; display: block; width: 4px; height: 1.25em; border-radius: 4px; background: #ff742e; }
.mb-featured-heading a { flex: none; color: #ff9b67; font-weight: 800; text-decoration: none; }
.mb-featured-heading a:hover, .mb-featured-heading a:focus-visible { text-decoration: underline; }
.mb-featured-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.mb-featured-card { box-sizing: border-box; display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; min-width: 0; min-height: 158px; padding: 10px; overflow: hidden; border: 1px solid #35405a; border-radius: 12px; background: #1d2639; color: #f8f6ff; text-decoration: none; }
.mb-featured-card:hover, .mb-featured-card:focus-visible { border-color: #ff8b4d; background: #253047; }
.mb-featured-card:focus-visible { outline: 2px solid #ff9b67; outline-offset: 3px; }
.mb-featured-cover { display: block; overflow: hidden; width: 92px; height: 136px; border-radius: 5px; background: #302a4e; }
.mb-featured-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mb-featured-info { display: flex; flex-direction: column; min-width: 0; }
.mb-featured-info strong { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: .91rem; line-height: 1.28; }
.mb-featured-category { overflow: hidden; margin-top: 5px; color: #ff8b4d; font-size: .68rem; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.mb-featured-chapters { display: grid; gap: 4px; margin-top: auto; padding-top: 10px; }
.mb-featured-chapter { display: block; overflow: hidden; padding: 5px 7px; border-radius: 4px; background: #303d52; color: #eef1f8; font-size: .73rem; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.mb-featured-excerpt { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; margin-top: 8px; color: #b8bfd1; font-size: .77rem; line-height: 1.35; }
.mb-featured-section--posters .mb-featured-grid { grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 12px; }
.mb-featured-section--posters .mb-featured-card { display: block; position: relative; min-height: 0; aspect-ratio: 2 / 3; padding: 0; background: #121a2a; }
.mb-featured-section--posters .mb-featured-cover { width: 100%; height: 100%; border-radius: 0; }
.mb-featured-section--posters .mb-featured-info { position: absolute; inset: auto 0 0; min-height: 32%; justify-content: end; padding: 32px 8px 10px; background: linear-gradient(transparent, #080b12 80%); }
.mb-featured-section--posters .mb-featured-info strong { font-size: .78rem; }
.mb-featured-section--posters .mb-featured-category { margin-top: 4px; }
.mb-featured-skeleton-section .mb-featured-heading h2 { color: transparent; }
.mb-featured-skeleton-section .mb-featured-heading h2::after { content: ''; width: 210px; height: 1em; border-radius: 5px; background: #27243b; animation: mb-home-pulse 1.1s ease-in-out infinite alternate; }
.mb-featured-skeleton-card { display: block; min-width: 0; min-height: 158px; border-radius: 12px; background: linear-gradient(100deg,#1b2031 25%,#282d42 42%,#1b2031 60%); background-size: 220% 100%; animation: mb-home-shimmer 1.2s linear infinite; }
.mb-featured-section--posters .mb-featured-skeleton-card { aspect-ratio: 2 / 3; min-height: 0; }
@keyframes mb-home-shimmer { to { background-position-x: -220%; } }
@keyframes mb-home-pulse { to { opacity: .45; } }
@media (max-width: 1650px) { .mb-featured-section--posters .mb-featured-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
@media (max-width: 1250px) { .mb-featured-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .mb-featured-section--posters .mb-featured-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 900px) { .mb-featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mb-featured-section--posters .mb-featured-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 620px) { .mb-featured { padding: 20px 12px 56px; } .mb-featured-section + .mb-featured-section { margin-top: 38px; } .mb-featured-grid { grid-template-columns: minmax(0, 1fr); } .mb-featured-card { grid-template-columns: 86px minmax(0, 1fr); min-height: 142px; padding: 8px; gap: 10px; } .mb-featured-cover { width: 86px; height: 126px; } .mb-featured-heading h2 { font-size: 1.2rem; } .mb-featured-heading a { font-size: .8rem; } .mb-featured-section--posters .mb-featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .mb-featured-section--posters .mb-featured-info strong { font-size: .82rem; } }
