/* Simulação do JClive Share (desenhada em 1280×720 e reduzida com --k) */
.jd {
  position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden;
  background: #0B0E13; container-type: inline-size;
}
.jd-palco {
  position: absolute; left: 0; top: 0; width: 1280px; height: 720px;
  transform: scale(var(--k, .5)); transform-origin: 0 0;
  font-family: var(--font); color: var(--text); font-size: 13px; line-height: 1.3;
  background: var(--bg); user-select: none; pointer-events: none; text-align: left;
}
.jd-palco i { font-style: normal; }
.jd-espaco { flex: 1; }

/* Topo */
.jd-topo {
  position: absolute; left: 0; top: 0; right: 0; height: 64px;
  display: flex; align-items: center; gap: 14px; padding: 0 16px 0 18px;
  background: var(--side); border-bottom: 1px solid var(--line);
}
.jd-marca { width: 220px; display: flex; align-items: center; gap: 12px; }
.jd-marca-ic {
  width: 36px; height: 36px; border-radius: 10px; border: 1.5px solid var(--accent); color: var(--accent);
  display: grid; place-items: center;
}
.jd-marca-txt { display: flex; flex-direction: column; gap: 1px; }
.jd-marca-txt b { font-family: var(--font-display); font-size: 17px; }
.jd-marca-txt small { font-size: 11px; color: var(--muted); }
.jd-codigo {
  height: 38px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--accent); background: var(--surface);
  display: inline-flex; align-items: center; gap: 10px; color: var(--muted);
}
.jd-codigo small { font-size: 11px; font-weight: 600; }
.jd-codigo b { font-family: var(--font-display); font-size: 18px; letter-spacing: 4px; color: var(--accent); }
.jd-noar {
  height: 28px; padding: 0 11px; border-radius: 14px; background: #2A1512; border: 1px solid #5C2A22;
  display: inline-flex; align-items: center; gap: 7px; color: #F08A7A; font-size: 11px; font-weight: 700; letter-spacing: 1px;
}
.jd-noar i, .jd-chip-vivo i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--err); animation: jd-pulso 1.6s ease-in-out infinite;
}
.jd-rede {
  height: 30px; padding: 0 12px; border-radius: 15px; background: var(--surface); border: 1px solid #252E3D;
  display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); font-size: 12px;
}
.jd-rede i, .jd-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
@keyframes jd-pulso { 50% { opacity: .35; } }

/* Barra de ferramentas */
.jd-barra {
  position: absolute; left: 0; top: 64px; width: 1020px; height: 52px;
  display: flex; align-items: center; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--line);
}
.jd-barra b { font-family: var(--font-display); font-size: 18px; }
.jd-barra > span { color: var(--muted); font-size: 12.5px; }
.jd-seg { display: flex; padding: 3px; gap: 2px; border-radius: 9px; background: var(--surface); border: 1px solid #252E3D; }
.jd-seg button {
  height: 26px; padding: 0 10px; border: 0; border-radius: 6px; background: transparent;
  color: var(--muted); font: 600 12px var(--font); transition: background .2s, color .2s;
}
.jd-seg button.ativo { background: #2A3242; color: #F1E3C4; }

/* Área das transmissões */
.jd-area { position: absolute; left: 16px; top: 130px; width: 988px; height: 480px; }
.jd-livre {
  position: absolute; border: 1px dashed #2E3848; border-radius: 12px; color: var(--faint, #6F7A8C);
  display: grid; place-items: center; font-size: 12.5px; transition: opacity .35s;
}
.jd-tile {
  position: absolute; display: flex; flex-direction: column; border-radius: 12px; overflow: hidden;
  background: var(--side); border: 1px solid var(--line); z-index: 1;
  transition: left .55s cubic-bezier(.2, .8, .2, 1), top .55s cubic-bezier(.2, .8, .2, 1),
              width .55s cubic-bezier(.2, .8, .2, 1), height .55s cubic-bezier(.2, .8, .2, 1),
              opacity .3s, border-color .2s;
}
.jd-tile.jd-frente { z-index: 3; }
.jd-tile.jd-oculto { opacity: 0; }
.jd-tile.jd-falando { border-color: rgba(79, 209, 197, .7); }
.jd-tile-topo {
  height: 36px; flex: none; display: flex; align-items: center; gap: 8px; padding: 0 6px 0 10px;
  background: #141A23; border-bottom: 1px solid var(--line); white-space: nowrap;
}
.jd-av {
  width: 22px; height: 22px; border-radius: 6px; flex: none; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 10px;
}
.jd-nome { font-weight: 600; }
.jd-chip {
  height: 22px; padding: 0 8px; border-radius: 6px; background: var(--surface-2); border: 1px solid #252E3D;
  display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: var(--muted);
}
.jd-chip-vivo { color: #F08A7A; font-weight: 700; letter-spacing: .5px; }
.jd-fala { color: var(--ok); display: inline-flex; opacity: 0; transition: opacity .2s; }
.jd-fala svg { width: 14px; height: 14px; }
.jd-tile.jd-falando .jd-fala { opacity: 1; }
.jd-ib { width: 26px; height: 26px; border-radius: 7px; color: var(--muted); display: grid; place-items: center; }
.jd-pequeno .jd-chip:not(.jd-chip-vivo), .jd-pequeno .jd-ib:nth-last-child(-n+2) { display: none; }
.jd-video { flex: 1; position: relative; overflow: hidden; background: #000; }
.jd-img {
  position: absolute; inset: -4%; background-size: cover; background-position: 30% 50%;
  animation: jd-pan 16s ease-in-out infinite alternate;
}
@keyframes jd-pan {
  0% { background-position: 25% 45%; transform: scale(1); }
  100% { background-position: 75% 55%; transform: scale(1.06); }
}

/* Barra de controles */
.jd-dock {
  position: absolute; left: 0; top: 624px; width: 1020px; height: 68px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--side); border-top: 1px solid var(--line);
}
.jd-db {
  height: 40px; padding: 0 14px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line-2);
  display: inline-flex; align-items: center; gap: 8px; font-weight: 500; white-space: nowrap;
}
.jd-db svg { width: 17px; height: 17px; }
.jd-sq { width: 40px; padding: 0; justify-content: center; }
.jd-q { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; line-height: 1.2; }
.jd-q b { font-size: 12.5px; }
.jd-q small { font-size: 10.5px; color: var(--muted); }
.jd-prim { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 700; }
.jd-sair { color: #F08A7A; border-color: #5C2A22; background: #2A1512; }
.jd-sep { width: 1px; height: 30px; background: var(--line-2); margin: 0 4px; }

/* Pessoas na sala */
.jd-pessoas {
  position: absolute; left: 1020px; top: 64px; width: 260px; height: 628px;
  background: var(--side); border-left: 1px solid var(--line); display: flex; flex-direction: column;
}
.jd-pessoas-topo {
  height: 52px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 16px;
  border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 600; letter-spacing: 1.4px; color: var(--muted);
}
.jd-membro { display: flex; align-items: center; gap: 10px; margin: 4px 10px 0; padding: 10px; border-radius: 10px; }
.jd-pessoas-topo + .jd-membro { margin-top: 10px; }
.jd-eu { background: var(--surface-2); box-shadow: inset 0 0 0 1px #2A3445; }
.jd-mav {
  width: 34px; height: 34px; border-radius: 9px; flex: none; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 12px; transition: box-shadow .15s;
}
.jd-mav.jd-falando { box-shadow: 0 0 0 2px var(--ok); }
.jd-mtxt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.jd-mtxt b { font-size: 13px; }
.jd-mtxt small { font-size: 11.5px; color: #F08A7A; white-space: nowrap; }
.jd-mtxt small.jd-cinza { color: var(--muted); }
.jd-assist {
  height: 28px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line-2);
  display: inline-flex; align-items: center; font-size: 11.5px; font-weight: 600; color: var(--text-2);
}
.jd-dica {
  margin: auto 12px 12px; padding: 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line);
  display: flex; gap: 8px; color: var(--muted); font-size: 11.5px; line-height: 1.5;
}
.jd-dica i { width: 6px; height: 6px; margin-top: 5px; border-radius: 50%; background: var(--accent); flex: none; }

/* Rodapé */
.jd-status {
  position: absolute; left: 0; right: 0; bottom: 0; height: 28px;
  display: flex; align-items: center; gap: 22px; padding: 0 18px;
  background: var(--side); border-top: 1px solid var(--line); color: var(--muted); font-size: 11.5px;
}
.jd-status span { display: inline-flex; align-items: center; gap: 7px; }

/* Cursor e legenda */
.jd-cursor {
  position: absolute; z-index: 20; width: 26px; height: 26px; margin: -3px 0 0 -4px;
  transition: left .85s cubic-bezier(.45, 0, .2, 1), top .85s cubic-bezier(.45, 0, .2, 1);
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .6));
}
.jd-cursor svg { position: relative; z-index: 1; }
.jd-clique {
  position: absolute; left: 5px; top: 3px; width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border-radius: 50%; border: 2px solid var(--accent); opacity: 0;
}
.jd-clicou .jd-clique { animation: jd-clique .45s ease-out; }
@keyframes jd-clique { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
.jd-legenda {
  position: absolute; z-index: 19; left: 50%; bottom: 84px; transform: translate(-50%, 12px);
  padding: 10px 18px; border-radius: 999px; background: rgba(11, 14, 19, .92); border: 1px solid var(--accent);
  color: var(--text); font-size: 17px; font-weight: 600; white-space: nowrap;
  opacity: 0; transition: opacity .3s, transform .3s;
}
.jd-legenda.jd-mostrar { opacity: 1; transform: translate(-50%, 0); }
