













.rl-fundo {
  position: fixed; inset: 0; z-index: 9990;
  display: grid; place-items: center; padding: 16px; overflow-y: auto;
  background:
    radial-gradient(60% 50% at 50% 38%, rgba(228, 38, 38, .16), rgba(228, 38, 38, 0) 70%),
    rgba(8, 7, 7, .82);
  opacity: 0; transition: opacity .25s ease;
}
.rl-fundo.rl-on { opacity: 1; }
.rl-fundo.rl-sai { opacity: 0; }

.rl-capa {
  position: relative; z-index: 1;
  width: min(560px, 100%); padding: 34px 36px 28px; text-align: center;
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 0 1px rgba(228, 38, 38, .28);
  transform: translateY(16px) scale(.96);
  transition: transform .4s cubic-bezier(.2, .9, .3, 1.2);
}
.rl-on .rl-capa { transform: none; }

.rl-coroa {
  width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: var(--accent);
  box-shadow: 0 0 0 9px rgba(228, 38, 38, .16);
}
.rl-coroa svg { width: 34px; height: 34px; }


.rl-nome {
  margin: 0; font-size: 36px; line-height: 1.05; font-weight: 800;
  letter-spacing: -.8px; color: var(--txt);
}
.rl-quando { margin: 6px 0 14px; font-size: 14px; font-weight: 600; color: #ff8b8b; letter-spacing: .02em; }

.rl-titulo { margin: 0 0 8px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.rl-num {
  font-size: 76px; line-height: 1; font-weight: 800; color: var(--txt);
  letter-spacing: -2px; font-variant-numeric: tabular-nums;
}
.rl-titulo span { font-size: 20px; line-height: 1.25; font-weight: 700; color: var(--txt); }
.rl-sub { margin: 0 auto 18px; max-width: 420px; font-size: 14.5px; line-height: 1.5; color: var(--txt-2); }
.rl-sub b { color: var(--txt); }





.rl-carimbo {
  --rl-rot: -10deg;
  display: inline-block; flex: 0 0 auto;
  color: #ff4d4d; border: 3px solid currentColor; border-radius: 11px; padding: 3px;
  transform: rotate(var(--rl-rot));
  font-weight: 900; text-transform: uppercase; letter-spacing: .13em; line-height: 1.02;
  text-align: left; white-space: nowrap; user-select: none;
  background: rgba(255, 77, 77, .06);
  box-shadow: 0 0 22px rgba(255, 77, 77, .18);
}
.rl-carimbo-in {
  display: flex; align-items: center; gap: 8px;
  border: 1.5px solid currentColor; border-radius: 7px; padding: 6px 12px 6px 9px;
}
.rl-carimbo svg { width: 22px; height: 22px; flex: 0 0 auto; }
.rl-carimbo-in > span { font-size: 12.5px; }

.rl-carimbo-capa { --rl-rot: 12deg; position: absolute; top: 20px; right: 18px; z-index: 2; }

.rl-carimbo-topo { --rl-rot: -6deg; }
.rl-carimbo-topo .rl-carimbo-in { padding: 4px 10px 4px 8px; gap: 7px; }
.rl-carimbo-topo svg { width: 18px; height: 18px; }
.rl-carimbo-topo .rl-carimbo-in > span { font-size: 10.5px; }


.nv3-janela.nv3-rel .nv3-cab h2.nv3-rel-h {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px 18px;
  font-size: 30px; line-height: 1.1; font-weight: 800; letter-spacing: -.6px;
}
.nv3-janela.nv3-rel .nv3-cab p { margin-top: 8px; font-size: 13.5px; color: var(--txt-2); }
.nv3-janela.nv3-rel .nv3-cab p b,
.nv3-janela.nv3-rel .nv3-cab p .nv3-conta { color: var(--txt); font-weight: 800; }


.rl-caras { display: flex; justify-content: center; margin: 0 0 20px; padding-left: 10px; }
.rl-caras img, .rl-caras b {
  width: 46px; height: 46px; border-radius: 50%; margin-left: -10px; flex: 0 0 auto;
  border: 3px solid var(--bg-2); background: var(--bg-3); object-fit: cover;
}
.rl-caras b {
  display: grid; place-items: center; font-size: 13px; font-weight: 800;
  color: #fff; background: var(--accent);
}


.rl-tiles { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; margin: 0 0 18px; }
.rl-tile {
  padding: 14px 10px 12px; border-radius: 12px;
  background: var(--bg-3); border: 1px solid var(--line);
}
.rl-tile b {
  display: block; font-size: 24px; line-height: 1.1; font-weight: 800; color: var(--txt);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.rl-tile span { display: block; margin-top: 4px; font-size: 12px; line-height: 1.35; color: var(--txt-3); }


.rl-top3 { margin: 0 0 20px; }
.rl-top3-rot {
  margin: 0 0 10px; font-size: 11.5px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: #ff8b8b;
}
.rl-top3-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.rl-top3-c {
  position: relative; display: grid; justify-items: center; gap: 4px; min-width: 0;
  padding: 16px 8px 12px; border-radius: 14px; cursor: pointer; font: inherit; text-align: center;
  background: var(--bg-3); border: 1px solid var(--line-2); color: var(--txt);
  transition: border-color .16s, transform .16s;
}
.rl-top3-c:hover { border-color: rgba(228, 38, 38, .55); transform: translateY(-2px); }
.rl-top3-c img, .rl-top3-sem {
  width: 52px; height: 52px; border-radius: 50%; object-fit: cover; display: block;
  background: var(--bg-2); border: 2px solid var(--line-2);
}
.rl-top3-c b {
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 13.5px; font-weight: 700;
}
.rl-top3-c span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11.5px; color: var(--txt-3); }
.rl-top3-c em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--ok, #5fd99b); }


.rl-notif-mais { margin: 2px 0 0; font-size: 12px; color: var(--txt-3); text-align: center; }





.rl-notifs { display: grid; gap: 9px; margin: 0 0 24px; text-align: left; }
.rl-notif {
  position: relative;
  display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px;
  padding: 10px 14px 10px 10px; border-radius: 14px;
  background: var(--bg-3); border: 1px solid var(--line-2);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
}
.rl-notif-ic {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  color: #fff; background: linear-gradient(160deg, #ff6b6b, var(--accent));
}
.rl-notif-ic svg { width: 21px; height: 21px; }
.rl-notif-t { min-width: 0; }
.rl-notif-t b { display: block; font-size: 14px; line-height: 1.25; font-weight: 700; color: var(--txt); }
.rl-notif-t em { display: block; margin-top: 1px; font-style: normal; font-size: 12px; color: var(--txt-3); }
.rl-notif-agora { align-self: start; margin-top: 2px; font-size: 11px; color: var(--txt-3); }
.rl-notif .rl-badge { position: absolute; top: -8px; right: -8px; }


.rl-badge {
  display: inline-grid; place-items: center; min-width: 21px; height: 21px; padding: 0 6px;
  border-radius: 999px; font-style: normal; font-size: 11.5px; font-weight: 800;
  color: #fff; background: #ff3b3b; box-shadow: 0 0 0 2px var(--bg-2);
  font-variant-numeric: tabular-nums;
}

.rl-acoes { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.rl-abrir { height: 48px; padding: 0 34px; font-size: 16px; border-radius: 12px; }
.rl-depois {
  border: 0; background: none; cursor: pointer; padding: 4px 8px;
  font: inherit; font-size: 13px; color: var(--txt-3);
}
.rl-depois:hover { color: var(--txt-2); }



.nf-per-fila.rl-abas {
  margin: 0; padding: 12px 20px; gap: 8px;
  border-bottom: 1px solid var(--line); background: var(--bg-2);
}
.rl-abas .nf-per { font-size: 13px; padding: 6px 13px; display: inline-flex; align-items: center; }
.rl-aba-n { font-style: normal; font-weight: 800; margin-left: 6px; opacity: .7; }
.rl-abas .nf-per.on .rl-aba-n { opacity: 1; }
.rl-abas .rl-aba-n.rl-badge { opacity: 1; min-width: 19px; height: 19px; font-size: 11px; box-shadow: none; }
.rl-badge.rl-badge-sai { transform: scale(0); opacity: 0; transition: transform .22s ease, opacity .22s ease; }


.rl-sentinela { padding: 18px 0 6px; text-align: center; font-size: 12.5px; color: var(--txt-3); }
.rl-painel-diz { margin: 0 0 16px; font-size: 13px; line-height: 1.45; color: var(--txt-2); }


.rl-moldes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.rl-moldes .rl-cartao { cursor: default; width: 100%; }
.rl-moldes .rl-cartao:hover { transform: none; border-color: var(--line-2); box-shadow: 0 2px 0 rgba(0, 0, 0, .4); }
.rl-moldes .rl-gatilho { grid-column: 1 / -1; }


.nv3-fundo > .rl-confete { position: fixed; z-index: 2; }


.nv3-podio > .nf-card.rl-campeao { box-shadow: 0 0 0 1px rgba(228, 38, 38, .45), 0 10px 34px rgba(228, 38, 38, .14); }




.al-rel-novo {
  margin-left: auto; flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%;
  background: #ff3b3b; box-shadow: 0 0 0 3px rgba(255, 59, 59, .22);
}
.al-rel-novo[hidden] { display: none; }

@media (prefers-reduced-motion: no-preference) {
  @keyframes rl-pulso {
    0%   { box-shadow: 0 0 0 0 rgba(228, 38, 38, .45), 0 0 0 9px rgba(228, 38, 38, .16); }
    100% { box-shadow: 0 0 0 24px rgba(228, 38, 38, 0), 0 0 0 9px rgba(228, 38, 38, .16); }
  }
  @keyframes rl-coroa-ent {
    from { opacity: 0; transform: scale(.4) rotate(-14deg); }
    70%  { opacity: 1; transform: scale(1.12) rotate(4deg); }
    to   { opacity: 1; transform: none; }
  }
  @keyframes rl-sobe { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
  @keyframes rl-pula {
    from { opacity: 0; transform: translateY(14px) scale(.5); }
    65%  { opacity: 1; transform: translateY(-4px) scale(1.12); }
    to   { opacity: 1; transform: none; }
  }
  
  @keyframes rl-bate {
    0%   { opacity: 0; transform: rotate(var(--rl-rot)) scale(2.6); }
    55%  { opacity: 1; transform: rotate(var(--rl-rot)) scale(.9); }
    75%  { transform: rotate(var(--rl-rot)) scale(1.05); }
    100% { opacity: 1; transform: rotate(var(--rl-rot)) scale(1); }
  }
  
  @keyframes rl-tranco {
    0%, 100% { transform: none; }
    30% { transform: translateY(3px) scale(.995); }
    60% { transform: translateY(-1px); }
  }
  
  @keyframes rl-chega {
    from { opacity: 0; transform: translateX(46px) scale(.96); }
    70%  { opacity: 1; transform: translateX(-4px) scale(1); }
    to   { opacity: 1; transform: none; }
  }
  @keyframes rl-bolinha {
    0%   { transform: scale(0); }
    60%  { transform: scale(1.35); }
    100% { transform: scale(1); }
  }
  @keyframes rl-ping {
    0%   { box-shadow: 0 0 0 0 rgba(255, 59, 59, .55); }
    100% { box-shadow: 0 0 0 9px rgba(255, 59, 59, 0); }
  }

  .rl-on .rl-coroa {
    animation: rl-coroa-ent .6s cubic-bezier(.34, 1.56, .64, 1) .1s backwards,
               rl-pulso 1.6s ease-out .8s 3;
  }
  .rl-on .rl-nome   { animation: rl-sobe .32s ease .2s backwards; }
  .rl-on .rl-quando { animation: rl-sobe .3s ease .3s backwards; }
  .rl-on .rl-titulo { animation: rl-sobe .35s ease .38s backwards; }
  .rl-on .rl-sub    { animation: rl-sobe .35s ease .5s backwards; }
  .rl-on .rl-caras img, .rl-on .rl-caras b {
    animation: rl-pula .42s cubic-bezier(.34, 1.56, .64, 1) backwards;
    animation-delay: calc(.6s + var(--i, 0) * 90ms);
  }
  .rl-on .rl-tile {
    animation: rl-sobe .35s ease backwards;
    animation-delay: calc(.85s + var(--i, 0) * 140ms);
  }
  
  .rl-on .rl-top3-c {
    animation: rl-pula .45s cubic-bezier(.34, 1.56, .64, 1) backwards;
    animation-delay: calc(.85s + var(--i, 0) * 150ms);
  }
  

  .rl-on .rl-carimbo-capa { animation: rl-bate .5s cubic-bezier(.2, .8, .3, 1) 1.05s backwards; }
  .rl-on .rl-capa { animation: rl-tranco .28s ease-out 1.33s; }
  

  .rl-on .rl-notif {
    animation: rl-chega .45s cubic-bezier(.2, .9, .3, 1.15) backwards;
    animation-delay: calc(1.45s + var(--i, 0) * 260ms);
  }
  .rl-on .rl-notif .rl-badge {
    animation: rl-bolinha .32s cubic-bezier(.34, 1.56, .64, 1) backwards,
               rl-ping 1.4s ease-out 2;
    animation-delay: calc(1.8s + var(--i, 0) * 260ms), calc(2.1s + var(--i, 0) * 260ms);
  }
  .rl-on .rl-acoes  { animation: rl-sobe .35s ease 2.1s backwards; }

  
  .nv3-rel-h .rl-carimbo-topo { animation: rl-bate .45s cubic-bezier(.2, .8, .3, 1) .5s backwards; }
  .rl-abas .rl-badge { animation: rl-bolinha .3s cubic-bezier(.34, 1.56, .64, 1) .7s backwards; }
  .al-rel-novo:not([hidden]) { animation: rl-ping 1.8s ease-out infinite; }
  .rl-painel.rl-ent { animation: rl-sobe .28s ease backwards; }
}

@media (max-width: 760px) {
  .rl-moldes { grid-template-columns: minmax(0, 1fr); }
  .nf-per-fila.rl-abas { padding: 10px 14px; }
  .nv3-janela.nv3-rel .nv3-cab h2.nv3-rel-h { font-size: 24px; }
}
@media (max-width: 560px) {
  .rl-capa { padding: 30px 16px 22px; }
  .rl-nome { font-size: 30px; }
  .rl-num { font-size: 64px; }
  .rl-titulo span { font-size: 18px; }
  .rl-tile b { font-size: 20px; }
  .rl-caras img, .rl-caras b { width: 38px; height: 38px; }
  


  .rl-coroa { display: none; }
  .rl-carimbo-capa { --rl-rot: -6deg; position: relative; top: auto; right: auto; margin: 0 0 14px; }
  .rl-notif-agora { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .rl-fundo, .rl-capa { transition: none; }
}

