/* V315 — Seamless host for the self-contained Ritual of Embers document. */
#firstFlameRitualFrameV315{
  position:fixed;
  inset:0;
  z-index:10050;
  display:block;
  width:100vw;
  width:100dvw;
  height:100vh;
  height:100dvh;
  margin:0;
  border:0;
  background:transparent;
  color-scheme:dark;
}
#firstFlameRitualFrameV315[hidden]{display:none!important}
body.firstFlameRitualOpenV315{overflow:hidden!important}
#firstFlameRitualBackdropV323{
  position:fixed;
  inset:0;
  z-index:10049;
  pointer-events:none;
  background:
    radial-gradient(circle at 50% 62%,rgba(31,12,7,.24),transparent 48%),
    rgba(0,2,5,.72);
}
#firstFlameRitualBackdropV323[hidden]{display:none!important}
body.firstFlameRitualOpenV315 #game{
  filter:blur(5px) saturate(.68) brightness(.52);
  transform:scale(1.012);
}
@media(max-width:680px) and (orientation:landscape){
  #firstFlameRitualFrameV315{height:100dvh}
}
/* V498: no celular a barra de acoes (z 10050) ficava por cima do Ritual.
   O Ritual fica acima do HUD e abaixo das janelas. */
@media (pointer:coarse) and (orientation:landscape) and (max-height:520px){
  #firstFlameRitualFrameV315{z-index:999950}
  #firstFlameRitualBackdropV323{z-index:999949}
}
