/* SaintMU / one shared visual contract. No hero artwork or geometry overrides. */
:root{--saint-global-height:56px;--saint-metal:#82603e;--saint-metal-light:#c69a61;--saint-gold:#f2d5a3;--saint-panel-shadow:inset 0 1px 0 #e7c58c19,0 0 0 1px #090d0d,0 6px 18px #0005}
@media(max-width:480px){:root{--saint-global-height:54px}}
html body.saint-eco-web,html body.saint-eco-forum,html body.saint-eco-shop,html body.saint-eco-intro{--saint-eco-fixed-height:var(--saint-global-height);padding-top:var(--saint-global-height)!important}
html body>#saint-global-bar{box-sizing:border-box!important;isolation:isolate;position:fixed!important;inset:0 0 auto!important;height:var(--saint-global-height)!important;min-height:0!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;z-index:10025!important;border:0!important;border-bottom:1px solid #a77a47!important;box-shadow:0 3px 12px #0009,inset 0 1px #e9c99116!important;background:linear-gradient(90deg,#101818,#2a211d 52%,#111918)!important;color:#f4e7d2!important;font:normal 13px/1.3 Arial,Verdana,sans-serif!important;opacity:1!important;visibility:visible!important;animation:none!important;transition:none!important;transform:none!important;overflow:visible!important}
#saint-global-bar *{box-sizing:border-box}
html body>#saint-global-bar:before{content:none!important}
html body #saint-global-bar .saint-eco-inner{display:grid!important;grid-template-columns:185px 252px 205px 44px;justify-content:center!important;align-items:center!important;gap:18px!important;width:calc(100% - 24px)!important;max-width:1060px!important;height:100%!important;min-height:0!important;margin:0 auto!important;padding:0!important;overflow:visible!important}
html body #saint-global-bar .saint-eco-brand{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:2px!important;width:auto!important;margin:0!important;padding:0!important;white-space:nowrap;color:#f3d59e!important;text-decoration:none!important;background:none!important;border:0!important;box-shadow:none!important;line-height:1!important}
html body #saint-global-bar .saint-eco-brand strong{font:bold 22px/1 Georgia,serif!important;letter-spacing:.07em!important;color:#f3d59e!important;text-shadow:0 2px 6px #000!important}
html body #saint-global-bar .saint-eco-brand strong span{color:#c98949!important}
html body #saint-global-bar .saint-eco-brand small{display:block!important;font:700 9px/1.2 Arial,sans-serif!important;letter-spacing:.10em!important;color:#c4ac83!important}
html body #saint-global-bar .saint-eco-links{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center!important;gap:6px!important;width:auto!important;margin:0!important;padding:0!important}
html body #saint-global-bar .saint-eco-links a{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-width:0!important;min-height:36px!important;height:36px!important;margin:0!important;padding:0!important;border:1px solid #73543b!important;border-radius:5px!important;background:linear-gradient(#302923,#24221f)!important;box-shadow:inset 0 1px #f0d0a318!important;text-decoration:none!important;color:#dfd0b8!important;font:700 12px/1 Arial,Verdana,sans-serif!important;letter-spacing:.04em!important;white-space:nowrap!important;transition:background .15s,border-color .15s,color .15s!important}
html body #saint-global-bar .saint-eco-links a:hover{color:#ffe6b5!important;border-color:#bd8754!important;background:#4b3528!important}
html body #saint-global-bar .saint-eco-links a[aria-current="page"]{color:#ffe1a3!important;background:linear-gradient(#743022,#481b18)!important;border-color:#bd7c47!important;box-shadow:inset 0 0 0 1px #a86c3a55,0 0 9px #0006!important}
#saint-global-bar a:focus-visible{outline:2px solid #f1cb7e!important;outline-offset:2px!important}
html body #saint-global-bar .saint-eco-section{display:block!important;width:auto!important;margin:0!important;padding:0 0 0 15px!important;border-left:1px solid #755439!important;color:#bc9c74!important;font:700 10px/1.25 Arial,sans-serif!important;letter-spacing:.1em!important;text-transform:uppercase!important;white-space:nowrap!important}
html body #saint-global-bar .saint-eco-notification{position:relative!important;display:block!important;width:44px!important;height:42px!important;min-width:0!important;margin:0!important;padding:0!important;overflow:visible!important;z-index:10051!important}
html body #saint-global-bar .saint-eco-notification iframe{position:absolute;top:0;right:0;display:block;width:44px;height:42px;border:0;background:transparent;max-width:none;z-index:10052;color-scheme:dark}
@media(max-width:860px){html body #saint-global-bar .saint-eco-inner{grid-template-columns:minmax(0,1fr) minmax(0,252px) 44px;gap:10px!important;max-width:620px!important}html body #saint-global-bar .saint-eco-section{display:none!important}}
@media(max-width:480px){html body #saint-global-bar .saint-eco-inner{width:calc(100% - 12px)!important;grid-template-columns:minmax(79px,1fr) minmax(0,174px) 40px;gap:5px!important}html body #saint-global-bar .saint-eco-brand strong{font-size:18px!important;letter-spacing:0!important}html body #saint-global-bar .saint-eco-brand small{display:none!important}html body #saint-global-bar .saint-eco-links{gap:3px!important}html body #saint-global-bar .saint-eco-links a{font-size:11px!important;min-height:36px!important}html body #saint-global-bar .saint-eco-notification,html body #saint-global-bar .saint-eco-notification iframe{width:40px!important}html body #saint-global-bar .saint-eco-notification.is-open iframe{width:min(340px,calc(100vw - 12px))!important}}
@media(max-width:335px){html body #saint-global-bar .saint-eco-inner{grid-template-columns:76px minmax(0,1fr) 40px;gap:4px!important}html body #saint-global-bar .saint-eco-brand strong{font-size:16px!important}}
/* Embedded document owns all of its original menus, content and scrolling. */
html.saint-shell-child body.saint-eco-web,html.saint-shell-child body.saint-eco-forum,html.saint-shell-child body.saint-eco-shop,html.saint-shell-child body.saint-eco-intro{--saint-eco-fixed-height:0px!important;padding-top:0!important}
html.saint-shell-child body>#saint-global-bar{display:none!important}
html.saint-shell-child body.saint-eco-web nav.navbar-youplay.navbar-fixed-top,html.saint-shell-child body.saint-eco-web nav.navbar-youplay.navbar-fixed-top.navbar-small{top:0!important}
/* Shared finish: individually scoped to existing panels, not covers or layouts. */
body.saint-eco-intro .si-card,body.saint-eco-web.saint-portal .side-block,body.saint-eco-web.saint-portal .tmp_m_content,body.saint-eco-web.saint-portal .saint-chat-panel,body.saint-eco-web.saint-portal .hof-card,body.saint-eco-forum .sf-forum-main .forumline,body.saint-eco-forum .sf-forum-main .sm2-chat-table,body.saint-eco-forum .sf-forum-main .saint-home-activity,body.saint-eco-shop.shop-refined .panel,body.saint-eco-shop.shop-refined .item-card,body.saint-eco-shop.shop-refined .v9-showcase,body.saint-eco-shop.shop-refined .v11-review-wrap,body.saint-eco-shop.shop-refined .v18-section{border-color:var(--saint-metal)!important;box-shadow:var(--saint-panel-shadow)!important}
body.saint-eco-intro .si-card-head,body.saint-eco-web.saint-portal .side-block .block-title,body.saint-eco-web.saint-portal .tmp_right_title,body.saint-eco-web.saint-portal .saint-chat-panel-heading,body.saint-eco-forum .sf-forum-main .forumline th,body.saint-eco-forum .sf-forum-main .saint-activity-toggle,body.saint-eco-shop.shop-refined .panel-title{background:linear-gradient(110deg,#392c22,#262720 52%,#19211e)!important;border-bottom-color:#9a7044!important;color:var(--saint-gold)!important;text-shadow:0 1px 2px #0008;box-shadow:inset 0 1px #e9c48c18}
body.saint-eco-intro .si-btn,body.saint-eco-web.saint-portal .saint-panel-link,body.saint-eco-forum .sf-nav-link,body.saint-eco-shop.shop-refined .btn:not(.btn-ghost){transition:color .16s,border-color .16s,box-shadow .16s,background .16s;box-shadow:inset 0 1px #f0d2a324,0 2px 5px #0005}
@media(hover:hover){body.saint-eco-intro .si-btn:hover,body.saint-eco-web.saint-portal .saint-panel-link:hover,body.saint-eco-forum .sf-nav-link:hover,body.saint-eco-shop.shop-refined .btn:not(.btn-ghost):not(:disabled):hover{border-color:#c69a61!important;box-shadow:inset 0 1px #f0d2a333,0 0 12px #c48a342c!important;color:#ffe5b6!important}}
body.saint-eco-intro .si-footer,body.saint-eco-forum .sf-forum-footer,body.saint-eco-shop .suf,body.saint-eco-web .suf{border-color:#82603e!important;box-shadow:inset 0 1px #e7c58c20,0 4px 16px #0004}
@media(max-width:767px){body.saint-eco-intro .si-card,body.saint-eco-web.saint-portal .side-block,body.saint-eco-web.saint-portal .saint-chat-panel,body.saint-eco-forum .sf-forum-main .forumline,body.saint-eco-shop.shop-refined .panel{box-shadow:inset 0 1px #e7c58c18,0 3px 9px #0004!important}}
@media(prefers-reduced-motion:reduce){#saint-global-bar *,body.saint-eco-intro .si-btn,body.saint-eco-web .saint-panel-link,body.saint-eco-forum .sf-nav-link,body.saint-eco-shop .btn{transition:none!important}}

/* SaintMU - mismo efecto cinematografico de la portada de SaintForo.
   Solo el arte se anima; texto, marcos, botones y alturas no cambian. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  body.saint-eco-web.saint-portal .saint-portal-hero .saint-portal-art > img,
  body.saint-eco-intro .si-hero > img.si-hero-art,
  body.saint-eco-shop.shop-refined .site-shell .hero.shop-cover .shop-cover-image {
    transition: transform .55s cubic-bezier(.22,.7,.3,1), filter .55s ease !important;
  }
  body.saint-eco-web.saint-portal .saint-portal-hero:hover .saint-portal-art > img,
  body.saint-eco-intro .si-hero:hover > img.si-hero-art,
  body.saint-eco-shop.shop-refined .site-shell .hero.shop-cover:hover .shop-cover-image {
    transform: scale(1.015) !important;
    filter: saturate(1.06) !important;
  }
}
