/* Halloween ID Federal v2.7 - FIX estrutural (imagem no body, camada visual nao encobre portal) */
html.idf-hw-preview-ready{background-color:#0d1020!important}
html body.idf-halloween-active {position:relative!important;min-height:100vh!important;overflow-x:clip!important;isolation:isolate!important;background-color:#0d1020!important;}
body.idf-halloween-active #idf-hw-moon-stage {display:none!important}
/* Esta camada possui SOMENTE placas e nao carrega imagem ou fundo solido. */
body.idf-halloween-active #idf-hw-story {position:absolute!important;top:0!important;left:0!important;width:100%!important;height:var(--idf-story-height,100vh)!important;z-index:0!important;background:transparent!important;background-image:none!important;opacity:1!important;overflow:hidden!important;pointer-events:none!important;user-select:none!important}
body.idf-halloween-active #idf-hw-story::before,body.idf-halloween-active #idf-hw-story::after{display:none!important;content:none!important}
body.idf-halloween-active #idf-hw-story picture,body.idf-halloween-active #idf-hw-story .idf-story-wallpaper,body.idf-halloween-active #idf-hw-story .idf-story-softener{display:none!important}
/* Placas cenográficas reais, sem texto artificial dentro da imagem. */
body.idf-halloween-active #idf-hw-story .idf-journey-cards{position:absolute;inset:0;z-index:2;pointer-events:none}
body.idf-halloween-active #idf-hw-story .idf-journey-card{box-sizing:border-box;position:absolute;width:clamp(145px,15.3vw,245px);min-width:0;padding:17px 15px 15px;text-align:center;color:#ffe6b8;line-height:1.28;overflow-wrap:break-word;border:5px solid #382012;border-top-color:#8a5628;border-left-color:#6d4127;border-radius:9px;background:repeating-linear-gradient(178deg,transparent 0,transparent 24px,rgba(10,5,4,.30) 25px,transparent 27px),linear-gradient(125deg,#6b4126,#3b241c 46%,#754223);box-shadow:inset 0 1px #c98843,0 12px 32px rgba(2,3,9,.76),0 0 16px rgba(255,137,35,.15);text-shadow:0 2px 3px rgba(8,4,5,.85);font-family:Georgia,serif}
body.idf-halloween-active #idf-hw-story .idf-journey-card::before,body.idf-halloween-active #idf-hw-story .idf-journey-card::after{content:'✦';position:absolute;top:7px;color:#ca9560;font-size:10px}
body.idf-halloween-active #idf-hw-story .idf-journey-card::before{left:8px}body.idf-halloween-active #idf-hw-story .idf-journey-card::after{right:8px}
body.idf-halloween-active #idf-hw-story .idf-journey-card span{display:block;font:700 clamp(12px,1.23vw,18px)/1.17 Georgia,serif;color:#ffd391;text-transform:uppercase}
body.idf-halloween-active #idf-hw-story .idf-journey-card strong{display:block;margin-top:2px;font:800 clamp(12px,1.25vw,19px)/1.15 Georgia,serif;color:#fff0c6;text-transform:uppercase}
body.idf-halloween-active #idf-hw-story .idf-journey-card small{display:block;margin-top:9px;font:500 clamp(11px,.95vw,14px)/1.34 system-ui,sans-serif;color:#efc79b}
body.idf-halloween-active #idf-hw-story .idf-welcome{top:6%;left:2.2%;transform:rotate(-3deg)}
body.idf-halloween-active #idf-hw-story .idf-first{top:14%;right:2.3%;transform:rotate(3deg)}
body.idf-halloween-active #idf-hw-story .idf-second{top:35%;left:2.2%;transform:rotate(-2.5deg)}
body.idf-halloween-active #idf-hw-story .idf-third{top:58%;right:2.3%;transform:rotate(2.5deg)}
body.idf-halloween-active #idf-hw-story .idf-fourth{top:82%;left:2.2%;transform:rotate(-2.5deg)}
body.idf-halloween-active #idf-hw-story.idf-journey-no-space .idf-journey-cards{display:none!important}
body.idf-halloween-active #idf-hw-story[data-mode="short"] .idf-journey-cards{display:none!important}

/* Somente o bloco funcional central recebe painel translucido: nao tocar em seus inputs/canvas/imagens. */
body.idf-halloween-active .idf-hw-portal-root{position:relative!important;z-index:2!important;background-color:rgba(24,17,36,.88)!important;background-image:none!important}
body.idf-halloween-active :is(.marketing-dashboard,.dashboard-wrapper,.portal-container,.portal-main,.marketing-main,.demo-panel){position:relative!important;z-index:2!important}
body.idf-halloween-active :is(.idf-hw-dark-shell,.idf-hw-shell-v19).idf-hw-story-transparent{background-color:transparent!important;background-image:none!important;box-shadow:none!important}
body.idf-halloween-active .idf-hw-story-transparent:not(.idf-hw-portal-root){background-color:transparent!important;background-image:none!important}
body.idf-halloween-active :is(#page,.site,#content,.site-content,.entry-content,.wp-site-blocks,.elementor-section-wrap){background-color:transparent!important}
body.idf-halloween-active :is(.idf-hw-dark-surface,.idf-hw-surface-v19,.art-card,.portal-card,.sidebar-card,.form-card,.demo-sidebar,.demo-art){background-color:rgba(37,29,49,.95)!important}
body.idf-halloween-active #idf-halloween-scene[data-idf-version="2.1"]{z-index:9!important;pointer-events:none!important}
body.idf-halloween-active #wpadminbar{z-index:99999!important}
@media(max-width:1150px){body.idf-halloween-active #idf-hw-story .idf-journey-cards{display:none!important}}
@media(max-width:700px){body.idf-halloween-active .idf-hw-portal-root{background-color:rgba(24,17,36,.93)!important}}
@media(prefers-reduced-motion:reduce){body.idf-halloween-active #idf-halloween-scene .idf-hw-witch-flight{display:none!important}}
