/* K.O. (ko.js, 04/10/2026). Copyright (c) Eclipse. Todos os direitos reservados.
   .koLayer não cria contexto de empilhamento: o fundo fica abaixo do canvas de efeitos (z 10) e as letras, acima. */
#fx .koLayer{position:absolute;inset:0;pointer-events:none}
#fx .koShade{position:absolute;inset:0;z-index:9;background:radial-gradient(ellipse 60% 55% at 50% 46%,#3a0610cc,#140206f0 70%,#050003 100%);mix-blend-mode:normal}
#fx .koLayer.win .koShade{background:radial-gradient(ellipse 60% 55% at 50% 46%,#3a1406cc,#140602f0 70%,#050201 100%)}
#fx .koText{position:absolute;left:0;right:0;top:46%;z-index:20;translate:0 -50%;display:flex;justify-content:center;align-items:center}
#fx .koMain{position:relative;display:flex;align-items:flex-end;will-change:transform}
#fx .koMain canvas{display:block;will-change:transform,opacity}
#fx .koMain canvas.d{margin:0 -4%}
/* Cópias em contorno vermelho e ciano no instante do choque (aberração cromática). */
#fx .koMain.koGhost{position:absolute;left:50%;top:50%;translate:-50% -50%;opacity:.75}
#fx .koSub{position:absolute;left:0;right:0;top:calc(46% + min(17vw,26vh));z-index:20;text-align:center;
 font:700 clamp(16px,2.2vw,34px)/1 'Grenze Gotisch',Georgia,serif;letter-spacing:.35em;text-transform:uppercase;color:#f1e6cc;
 text-shadow:0 2px 0 #000,0 0 12px #ff1a3c}
#fx .koStain{position:absolute;z-index:18;height:auto;will-change:transform,opacity}
#fx .koCracks{position:absolute;inset:0;width:100%;height:100%;z-index:19;overflow:visible}
#fx .koCracks path{fill:none;stroke:#fff;stroke-width:1.6;stroke-opacity:.8;stroke-linejoin:round}
#fx .koCracks path.ring{stroke-width:1;stroke-opacity:.5}
#fx .koFlash{position:absolute;inset:0;z-index:21;background:#fff;mix-blend-mode:screen}
/* Movimento reduzido: só o K.O. parado, sem tremida nem sangue animado. */
#fx .koLayer.still .koShade,#fx .koLayer.still .koSub{opacity:1}
