/* WR-HALLOWEEN-2026 · Wordfall layer. Self-contained so the Messages bundle can load it without hw26.css. */
.wf-board-wrap{--hw26wf-black:var(--black,"WRArchivoBlack","Archivo Black",system-ui,sans-serif)}
.hw26wf-ghost{position:absolute;z-index:6;pointer-events:none;width:22px;height:26px;transition:left .32s cubic-bezier(.3,.7,.4,1),top .32s cubic-bezier(.3,.7,.4,1),opacity .3s}
.hw26wf-ghost svg{width:100%;height:100%;overflow:visible;animation:hw26wfbob 1.6s ease-in-out infinite;filter:drop-shadow(0 3px 4px rgba(0,0,0,.35))}
@keyframes hw26wfbob{0%,100%{transform:translateY(0) rotate(-4deg)}50%{transform:translateY(-4px) rotate(4deg)}}
.hw26wf-ghost.in{animation:hw26wfin .45s cubic-bezier(.2,.8,.3,1.2) both}
@keyframes hw26wfin{from{opacity:0;scale:.4}to{opacity:1;scale:1}}
.hw26wf-ghost.caught{animation:hw26wfpoof .5s ease-out forwards}
@keyframes hw26wfpoof{to{opacity:0;scale:1.9;translate:0 -10px}}
.wf-tile.hw26wf-haunt{box-shadow:inset 0 0 0 2px rgba(168,132,255,.8),0 0 12px rgba(168,132,255,.5),0 3px #b8905c!important}
.hw26wf-plus{position:absolute;z-index:7;pointer-events:none;font:400 13px/1 var(--hw26wf-black);color:#ffcf6a;text-shadow:0 1px 0 #2a1608,0 0 6px rgba(0,0,0,.4);white-space:nowrap;animation:hw26wfrise 1.1s ease-out forwards}
@keyframes hw26wfrise{0%{opacity:0;transform:translate(-50%,0)}15%{opacity:1}100%{opacity:0;transform:translate(-50%,-34px)}}
.hw26wf-hud{position:absolute;left:50%;top:-11px;translate:-50% 0;z-index:8;display:flex;align-items:center;gap:6px;padding:4px 10px 4px 7px;border-radius:999px;background:#241b2e;color:#efe6ff;font:400 11px/1 var(--hw26wf-black);letter-spacing:.06em;box-shadow:0 0 0 1.5px #8d74c7,0 4px 10px rgba(0,0,0,.3);pointer-events:none;white-space:nowrap}
.hw26wf-hud svg{width:13px;height:15px}
.hw26wf-hud.pulse{animation:hw26wfpulse .5s ease-out}
@keyframes hw26wfpulse{40%{scale:1.15}}
body.hw26-jack #board .cell.hw26wf-haunt{box-shadow:0 4px 0 #7a3a07,inset 0 0 0 2px rgba(190,160,255,.95),0 0 14px rgba(168,132,255,.7)!important}
/* Jack-o'-Lantern on Wordfall tiles: the tile set's own rules reach #board .cell; this adds the candle pulse */
body.hw26-jack .wf-tile.hw26wf-glow{animation:hw26wfcandle .7s ease-out}
@keyframes hw26wfcandle{30%{filter:brightness(1.35)}}
body.hw26-jack .wf-tile.wf-empty{background:none!important;box-shadow:none!important}
body.hw26-jack .wf-tile.wf-empty::before,body.hw26-jack .wf-tile.wf-empty::after{display:none}
/* results line */
.hw26wf-strip{display:flex;align-items:center;gap:10px;margin:0 auto 14px;max-width:420px;padding:9px 14px;border-radius:12px;background:#241b2e;color:#efe6ff;box-shadow:0 3px 0 #120d18;text-align:left}
.hw26wf-strip b{font:400 13px/1 var(--black,"WRArchivoBlack","Archivo Black",system-ui,sans-serif);letter-spacing:.06em}
.hw26wf-strip span{font:600 12px/1.3 var(--sans,system-ui,sans-serif);color:#cbbde8}
.hw26wf-strip svg.g{width:20px;height:23px;flex:none}
.hw26wf-candy{margin-left:auto;display:inline-flex;align-items:center;gap:4px;font:400 13px/1 var(--black,"WRArchivoBlack","Archivo Black",system-ui,sans-serif)!important;color:#ffcf6a!important}
.hw26wf-candy svg{width:18px;height:12px}
/* lobby note (app and website Wordfall home) */
.hw26wf-note{display:flex;align-items:center;gap:10px;margin:0 0 12px;padding:10px 14px;border-radius:12px;background:#241b2e;color:#efe6ff;box-shadow:0 3px 0 #120d18}
.hw26wf-note>svg{width:24px;height:28px;flex:none;animation:hw26wfbob 1.6s ease-in-out infinite}
.hw26wf-note b{display:block;font:400 13px/1 var(--black,"Archivo Black",system-ui,sans-serif);letter-spacing:.06em;margin-bottom:3px}
.hw26wf-note span{font:600 12px/1.3 var(--sans,system-ui,sans-serif);color:#cbbde8}
.hw26wf-note em{margin-left:auto;font:400 15px/1 var(--black,"Archivo Black",system-ui,sans-serif);font-style:normal;color:#ffcf6a;text-align:center;white-space:nowrap}
.hw26wf-note em small{display:block;margin-top:3px;font:600 10px/1 var(--sans,system-ui,sans-serif);color:#cbbde8;letter-spacing:.04em}
@media (prefers-reduced-motion:reduce){.hw26wf-ghost svg,.hw26wf-note>svg{animation:none!important}.hw26wf-ghost{transition:opacity .3s}}
