/* AnimeLink V43.4.37 — public shell, ambient petals and messages. */
:root{--al37-red:#f3244e;--al37-bg:#08090d;--al37-card:#11131b;--al37-line:#292c38}
body{background:#08090d;color:#f6f5f9;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
body>.topbar{height:72px;padding:0 24px;gap:22px;background:#0b0c12f5;backdrop-filter:blur(18px);border-bottom:1px solid #292b37}
.topbar .brand-name{font-size:23px;letter-spacing:-.8px}.topbar .brand-name small{font-size:7px;letter-spacing:1.4px;line-height:1.8}
.topbar .global-search input{height:42px;background:#161820;border:1px solid #303340;border-radius:12px;padding-left:16px}.topbar .global-search button{height:42px;border-radius:0 11px 11px 0;background:#f3244e}
.topbar .top-actions{gap:12px}.topbar .top-action{font-size:11px;line-height:1.5;opacity:.9}.topbar .top-action:hover{opacity:1;color:#ff7b98}
body>.layout{max-width:1720px;grid-template-columns:204px minmax(0,1fr) 240px;min-height:calc(100vh - 72px)}
body>.layout>.sidebar{top:72px;height:calc(100dvh - 72px);padding:18px 12px;background:#0b0c12;border-right:1px solid #252733;scrollbar-width:thin}
body>.layout>.sidebar .menu{min-height:44px;border-radius:11px;padding:10px 12px;gap:11px;font-size:13px;font-weight:600;margin:3px 0;color:#b9bbc9}
body>.layout>.sidebar .menu:hover{background:#1c1a28;box-shadow:none;color:#fff}body>.layout>.sidebar .menu.active{background:linear-gradient(100deg,#f3244e24,#f3244e0a);border:1px solid #f3244e47;color:#fff;box-shadow:none}
body>.layout>.content{padding:24px;min-width:0;background:#08090d}
.content>.hero{min-height:390px;height:auto;border:1px solid #4a2738;border-radius:24px;box-shadow:0 22px 65px #0004;margin-bottom:24px}
.content>.hero .hero-bg{background-position:75% center;opacity:.83}.content>.hero .hero-shade{background:linear-gradient(90deg,#0b0b13f5 6%,#0b0b13b3 53%,#0b0b1322),linear-gradient(0deg,#090910b3,transparent)}
.content>.hero .hero-copy{padding:47px 30px;max-width:650px}.content>.hero .eyebrow{font-size:10px;letter-spacing:2px;color:#ff839e}.content>.hero h1{font-size:clamp(35px,3.5vw,54px);line-height:1.08;letter-spacing:-2px;margin:16px 0}.content>.hero h1 em{color:#ff315d}.content>.hero p{font-size:14px;line-height:1.8;color:#c5c3d1}.content>.hero .hero-search{border:1px solid #414250;border-radius:12px;overflow:hidden;background:#14151de8;box-shadow:none}.content>.hero .hero-search input{height:46px;border:0;background:transparent;min-width:0}.content>.hero .hero-search button{border:0;border-radius:0;width:48px;background:#f3244e}.content>.hero .trends{gap:6px;font-size:11px}.content>.hero .trends button{border-radius:20px;padding:6px 10px;background:#ffffff0b;border:1px solid #ffffff1a}
body>.layout>.rightbar{top:72px;height:calc(100dvh - 72px);background:#0b0c12;border-color:#252733;padding:18px 12px;scrollbar-width:thin}.rightbar :is(.ai-side,.profile-card,.right-panel,.right-promo){border:1px solid #2a2d39;border-radius:15px;background:#12141d;margin-bottom:14px;padding:15px}.rightbar .ai-side{background:linear-gradient(145deg,#2a1220,#11131c);border-color:#633044}.rightbar h3{font-size:12px}.rightbar .ai-side button{border-radius:9px;min-height:38px}
.content>.section,.content>.marketplace,.content>.community-section{border-radius:20px}.content .section-title h2{letter-spacing:-.6px}.content .section-title button{font-size:12px}.content>.categories{gap:10px}.content>.categories>button{border-radius:16px;overflow:hidden}.content .product{border-radius:16px;border-color:#2b2d3b;background:#12141c}.content .product button{border-radius:10px}
#manhwalinkHome34.al37-reading-gateway{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:24px;margin:26px 0;padding:28px;border:1px solid #653046;border-radius:22px;background:radial-gradient(ellipse at top right,#671e3b45,transparent 65%),#11121a;text-decoration:none;color:#fff}
.al37-reading-gateway .al37-kicker{font-size:10px;letter-spacing:2px;color:#ff839e;font-weight:700}.al37-reading-gateway h2{font-size:29px;letter-spacing:-1px;margin:9px 0}.al37-reading-gateway p{color:#bab9c8;line-height:1.75;font-size:13px;max-width:420px;margin:0}.al37-reading-gateway nav{display:flex;flex-direction:column;gap:9px}.al37-reading-gateway a{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:43px;border-radius:11px;padding:11px 18px;font-size:12px;font-weight:700;text-decoration:none;color:#fff;background:#f3244e;white-space:nowrap}.al37-reading-gateway a+a{background:#ffffff08;border:1px solid #4a3a49;color:#d8d5e1}
#al37Petals{position:fixed;inset:0;z-index:80;overflow:hidden;pointer-events:none;contain:strict}#al37Petals i,#al37NexusPetals i{position:absolute;top:-24px;left:var(--x);width:var(--size);height:calc(var(--size) * 1.4);border-radius:90% 8% 90% 8%;background:linear-gradient(140deg,#ffe4ed,#ff9abb 55%,#d75380);opacity:0;animation:al37PetalFall var(--duration) linear var(--delay) infinite;will-change:transform,opacity;pointer-events:none}
@keyframes al37PetalFall{0%{transform:translate3d(0,-30px,0) rotate(0);opacity:0}9%{opacity:.68}85%{opacity:.55}100%{transform:translate3d(var(--drift),105dvh,0) rotate(520deg);opacity:0}}
body.al31-open #al37Petals,body:has(dialog[open]) #al37Petals,body.nexus-view-open #al37Petals{display:none}body.al37-paused #al37Petals i,#al37NexusPetals i{animation-play-state:paused}
#nexusV26 .nx-petal-layer{z-index:8!important;pointer-events:none!important}#nexusV26[data-ambient-effect="petals"] .nx-petal{animation:nxPetalFall var(--duration,11s) linear var(--delay,0s) 1 both!important;display:block;width:var(--size,12px);height:calc(var(--size,12px) * 1.35);opacity:0;pointer-events:none!important}
#nx27Launcher.al37-chat-launch{position:fixed!important;bottom:24px!important;right:24px!important;z-index:900!important;display:flex!important;align-items:center;justify-content:center;gap:11px;min-width:0;width:auto;height:58px;padding:0 20px!important;background:#f3244e!important;border:1px solid #ff7895!important;border-radius:19px!important;color:#fff!important;box-shadow:0 8px 28px #0007,0 0 24px #f3244e2a;font:700 13px system-ui!important;transition:transform .18s,box-shadow .18s}
#nx27Launcher.al37-chat-launch:hover{transform:translateY(-3px);box-shadow:0 12px 32px #0007,0 0 30px #f3244e40}#nx27Launcher svg{width:25px;height:25px;flex-shrink:0}#nx27Launcher .al434-counter{position:absolute;top:-8px;right:-5px;min-width:23px;min-height:23px;border:2px solid #0b0c12;background:#fff;color:#b01035;border-radius:20px;font-size:11px;display:grid;place-items:center}#nx27Launcher .al434-counter[hidden]{display:none}
body.al31-open #nx27Launcher,body.nexus-view-open #nx27Launcher,body.al434-hub-open #nx27Launcher,body:has(#v261Chat.open) #nx27Launcher,body:has(dialog[open]) #nx27Launcher{display:none!important}
#v261Chat{border:1px solid #4c3345!important;border-radius:22px 22px 0 0!important;box-shadow:0 22px 70px #0009!important}#v261Chat header{background:#17121f!important;padding:15px!important;border-bottom:1px solid #4a3044!important}#v261Messages{background:#0e1018!important}#v261Messages .v261-msg{border-radius:16px!important}
button:focus-visible,a:focus-visible{outline:2px solid #ff8aa5;outline-offset:4px}
@media(min-width:1600px){body>.layout{grid-template-columns:218px minmax(0,1fr) 262px}.content>.hero .hero-copy{padding:52px 42px}}
@media(max-width:1200px) and (min-width:901px){body>.layout{grid-template-columns:184px minmax(0,1fr)}body>.layout>.rightbar{display:none}.topbar .top-actions{gap:9px}.topbar .global-search{max-width:280px}.content>.hero h1{font-size:43px}}
@media(max-width:900px){body>.topbar{height:62px;padding:0 14px}body>.layout{display:block}.topbar .top-actions{gap:8px}body>.layout>.content{padding:14px}body>.layout>.sidebar,body>.layout>.rightbar{height:auto}.content>.hero{min-height:365px;border-radius:20px}.content>.hero .hero-copy{padding:30px 22px;max-width:540px}.content>.hero h1{font-size:40px;letter-spacing:-1.5px}.content>.hero .hero-bg{background-position:67% center}.content>.hero .hero-shade{background:linear-gradient(90deg,#090a12ed,#090a1280),linear-gradient(0deg,#080910c9,transparent)}#manhwalinkHome34.al37-reading-gateway{padding:23px;gap:18px}.al37-reading-gateway h2{font-size:25px}}
@media(max-width:600px){.content>.hero{min-height:380px}.content>.hero h1{font-size:36px;max-width:300px}.content>.hero p{font-size:13px}.content>.hero .hero-copy{padding:28px 19px}.content>.hero .hero-search{margin-top:18px}.content>.hero .trends{font-size:10px}.content>.hero .hero-quote{display:none}#manhwalinkHome34.al37-reading-gateway{grid-template-columns:1fr;padding:22px;margin:20px 0}.al37-reading-gateway nav{flex-direction:row;flex-wrap:wrap}.al37-reading-gateway a{padding:11px 13px;flex:1;font-size:11px}.al37-reading-gateway p{font-size:12px}#nx27Launcher.al37-chat-launch{bottom:calc(82px + env(safe-area-inset-bottom))!important;right:16px!important;width:54px;height:54px;padding:0!important;border-radius:18px!important}#nx27Launcher .al37-launch-label{display:none}}
@media(prefers-reduced-motion:reduce){#al37Petals{display:none!important}#nexusV26 .nx-petal{animation:none!important;display:none!important}#nx27Launcher.al37-chat-launch{transition:none}}

@media(min-width:901px){#mobileSidebar.sidebar .menu.active{background:linear-gradient(100deg,#f3244e24,#f3244e08)!important;border:1px solid #f3244e47!important;box-shadow:none!important;color:#fff!important}#mobileSidebar.sidebar .menu{border-radius:11px!important}#mobileSidebar.sidebar .menu:hover{box-shadow:none!important}}

#al37NexusPetals{position:absolute;inset:0;z-index:8;overflow:hidden;pointer-events:none!important;contain:strict}#nexusV26 .nx-petal-layer{display:none!important}#nexusV26:not(.open) #al37NexusPetals,#nexusV26:not([data-ambient-effect="petals"]) #al37NexusPetals{display:none}body.al37-paused #al37NexusPetals i{animation-play-state:paused}@media(prefers-reduced-motion:reduce){#al37NexusPetals{display:none!important}}

/* Los pétalos pertenecen a Community Nexus, no a la página principal. */
body>#al37Petals{display:none!important}

/* Evita que el encabezado y los grupos del menú ocupen columnas paralelas. */
#nexusV26 #nxNexusSidebar{flex-direction:column!important;align-items:stretch!important;overflow-x:hidden!important}
#nexusV26 #nxNexusSidebar .nx-nav-group{width:100%;min-width:0}

@media(max-width:760px){#nexusV26 .nx-top-pro .nx-menu-toggle{flex:0 0 48px!important;width:48px!important;min-width:48px!important}#nexusV26 .nx-top-pro .nx-top-action{flex:0 0 38px!important;width:38px!important;min-width:38px!important}#nexusV26 .nx-top-pro .nx-wordmark{min-width:0!important;grid-template-columns:34px minmax(0,1fr)!important;column-gap:5px!important}#nexusV26 .nx-top-pro .nx-wordmark .nx-eye{width:34px!important;height:34px!important}#nexusV26 .nx-top-pro .nx-wordmark b{font-size:13px!important;white-space:nowrap!important}#nexusV26 .nx-top-pro .nx-wordmark small{max-width:100%;overflow:hidden;text-overflow:ellipsis}}

/* Respeta hidden: el aviso solo debe aparecer cuando falla la imagen. */
.market-product-image-wrap [hidden]{display:none!important}
