/* css/entrar-palco.css — a tela de ENTRAR é um PALCO (21/10/2026, maquete aprovada: Kobalski-Maquetes/palco/entrar.html).
   Cortina fechada ao abrir, que vai abrindo a cada letra do nome; o nome acende num letreiro de lâmpadas no lugar da
   marca; holofotes vivos; "Subir no palco" abre a cortina toda. Com o teclado do celular aberto a tela inteira cabe
   acima dele ("modo digitando": js/entrar-palco.js põe a altura visível em --vv-h / --vv-top).
   Tudo com o prefixo ep- ("entrar no palco"): o app já tem .cena, .marca, .campo... de outras telas.
   No PC/tela larga o palco fica numa coluna de 480 px no meio (os holofotes batem no microfone, não vão pros cantos). */

/* a coluna (o js/entrar-palco.js liga html.ep-ativo enquanto a tela de entrar está aberta) */
html.ep-ativo #app { max-width: 480px; padding: 0; }

.tela.tela-entrar {
  --abre: 0;
  --ep-ouro-2: #f3d27a;
  --ep-gutter: 20px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
  padding:
    calc(var(--safe-t) + 18px)
    calc(var(--safe-r) + var(--ep-gutter))
    calc(var(--safe-b) + 18px)
    calc(var(--safe-l) + var(--ep-gutter));
  background:
    radial-gradient(ellipse 90% 46% at 50% 0%, rgba(124, 44, 190, .34), transparent 72%),
    linear-gradient(180deg, #140926 0%, #0d0719 46%, #0b0614 100%);
  box-shadow: 0 0 90px rgba(0, 0, 0, .7);
}
/* a entrada é a cortina: a tela só aparece de mansinho (sem o "sobe 10 px" das outras telas) */
.tela.tela-entrar.ativa { animation: ep-surge .4s ease-out both; }
@keyframes ep-surge { from { opacity: 0; } }

/* ---------- cenário: cortinas dos lados, feixes de luz, lâmpadas, poeira ---------- */
.ep-cenario {
  position: absolute; left: 0; right: 0; top: 0; height: 100%;
  max-height: 100vh; max-height: 100dvh;   /* tela comprida (cartões a mais): o palco não estica junto */
  z-index: -1; pointer-events: none;
}
.ep-cortina {
  position: absolute; top: 0; width: 58px; height: 58%;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .35), transparent 30%),
    repeating-linear-gradient(90deg, #22040f 0px, #6d1340 7px, #a3245e 9px, #5a0f35 12px, #22040f 18px);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 40%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, #000 40%, transparent 100%);
  opacity: .9;
}
.ep-cortina-e { left: 0; border-bottom-right-radius: 100% 70%; }
.ep-cortina-d { right: 0; border-bottom-left-radius: 100% 70%; }

.ep-feixe {
  position: absolute; top: 70px; transform-origin: 50% 0;
  filter: blur(7px); mix-blend-mode: screen;
}
.ep-feixe::before {
  content: ""; position: absolute; inset: 0;
  clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%);
  background: var(--luz);
}
.ep-feixe-e {
  left: -32px; width: 160px; height: 400px; transform: rotate(-27deg);
  --luz: linear-gradient(180deg, rgba(255, 61, 154, .70) 0%, rgba(255, 61, 154, .26) 50%, transparent 90%);
}
.ep-feixe-d {
  right: -32px; width: 160px; height: 400px; transform: rotate(27deg);
  --luz: linear-gradient(180deg, rgba(61, 224, 255, .60) 0%, rgba(61, 224, 255, .20) 50%, transparent 90%);
}
.ep-feixe-c {
  left: calc(50% - 130px); width: 260px; height: 420px; top: 40px;
  filter: blur(12px);
  --luz: linear-gradient(180deg, rgba(255, 232, 170, .34) 0%, rgba(255, 214, 120, .16) 62%, transparent 96%);
}
.ep-feixe-c::before { clip-path: polygon(43% 0, 57% 0, 100% 100%, 0 100%); }
.ep-lampada {
  position: absolute; top: 62px; width: 24px; height: 15px; border-radius: 50%;
  background: radial-gradient(closest-side, #fff, rgba(255, 255, 255, .4) 60%, transparent);
  filter: blur(1px);
}
.ep-lampada-e { left: 36px; box-shadow: 0 0 22px 8px rgba(255, 61, 154, .55); }
.ep-lampada-d { right: 36px; box-shadow: 0 0 22px 8px rgba(61, 224, 255, .5); }
.ep-poeira {
  position: absolute; width: 3px; height: 3px; border-radius: 50%;
  background: #fff4d6; box-shadow: 0 0 6px 1px rgba(255, 230, 170, .8); opacity: .7;
}

/* ---------- o palco: microfone com coroa, chão de luz, a placa (marca ou o nome em luzes) ---------- */
.ep-cena {
  flex: 1 1 auto; min-height: 250px;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding: 14px 0 26px; position: relative;
}
.ep-mic-palco { position: relative; display: grid; place-items: center; }
.ep-mic-coroa {
  display: block; overflow: visible;
  height: clamp(136px, 23.5vh, 200px); width: auto;
  filter: drop-shadow(0 0 22px rgba(255, 200, 90, .45)) drop-shadow(0 14px 20px rgba(0, 0, 0, .55));
  transition: height .3s ease;
}
.ep-aureola {
  position: absolute; inset: -40px -70px; z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 214, 130, .30), rgba(255, 180, 80, .10) 55%, transparent 80%);
}
.ep-chao {
  width: 250px; height: 46px; margin-top: -16px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 220, 150, .50), rgba(255, 170, 90, .16) 55%, transparent 100%);
}
/* a placa da boca de cena: o logo; e o NOME DA PESSOA EM LUZES quando ela está escrevendo (mesmo lugar, sem pular) */
.ep-placa { position: relative; z-index: 4; width: 100%; margin-top: 4px; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; }
.ep-placa > * { grid-area: 1 / 1; min-width: 0; }   /* nome comprido não pode alargar a placa além da tela */
.ep-marca { text-align: center; transition: opacity .3s ease, transform .3s ease, visibility 0s; }
.ep-marca-nome {
  font-size: clamp(38px, 11vw, 46px); font-weight: 900; letter-spacing: -0.04em; line-height: 1;
  background: var(--grad-marca); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: 3px;
}
.ep-marca-kicker {
  margin-top: 6px; font-size: 13.5px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; /* (11,5 px a vó não lia) */
  color: var(--ep-ouro-2);
}
.ep-ribalta { display: flex; justify-content: center; gap: 15px; margin-top: 18px; }
.ep-ribalta i {
  width: 6px; height: 6px; border-radius: 50%;
  background: #ffe7a8; box-shadow: 0 0 8px 2px rgba(255, 200, 90, .55);
}
.ep-ribalta i:nth-child(even) { background: #ff9bcb; box-shadow: 0 0 8px 2px rgba(255, 61, 154, .5); }

/* ---------- o letreiro: o nome da pessoa em luzes, letra a letra ---------- */
.ep-letreiro {
  --lt-h: 60px; --fs-max: 32px; --lampada: #ffe2a0;
  position: relative; width: min(100%, 380px); height: var(--lt-h);
  display: flex; align-items: center; justify-content: center;
  padding: 0 24px; border-radius: 14px;
  background:
    radial-gradient(120% 150% at 50% 130%, rgba(255, 170, 70, .20), transparent 62%),
    linear-gradient(180deg, #26101d 0%, #12060d 100%);
  border: 1.5px solid rgba(214, 165, 58, .8);
  box-shadow: inset 0 0 0 3px #12060d, inset 0 0 0 4px rgba(214, 165, 58, .28), 0 10px 26px rgba(0, 0, 0, .55);
  opacity: 0; visibility: hidden; transform: scale(.9);
  transition: opacity .3s ease, transform .35s cubic-bezier(.2, .8, .2, 1.15), visibility 0s .35s, border-color .4s ease, box-shadow .4s ease;
}
.ep-letreiro::before, .ep-letreiro::after {   /* as lâmpadas da moldura, em duas turmas que piscam alternadas */
  content: ""; position: absolute; inset: 3px; border-radius: 11px; pointer-events: none;
  background:
    radial-gradient(circle, #fff8e0 0 1.3px, var(--lampada) 1.9px, rgba(255, 190, 90, .35) 2.8px, transparent 3.6px) 0 0 / 20px 8px repeat-x,
    radial-gradient(circle, #fff8e0 0 1.3px, var(--lampada) 1.9px, rgba(255, 190, 90, .35) 2.8px, transparent 3.6px) 0 100% / 20px 8px repeat-x,
    radial-gradient(circle, #fff8e0 0 1.3px, var(--lampada) 1.9px, rgba(255, 190, 90, .35) 2.8px, transparent 3.6px) 0 4px / 8px 20px repeat-y,
    radial-gradient(circle, #fff8e0 0 1.3px, var(--lampada) 1.9px, rgba(255, 190, 90, .35) 2.8px, transparent 3.6px) 100% 4px / 8px 20px repeat-y;
  transition: opacity .4s ease;
}
.ep-letreiro::after { background-position: 10px 0, 10px 100%, 0 14px, 100% 14px; }
.ep-letreiro-nome {
  display: inline-block; white-space: nowrap; line-height: 1.1;
  font-size: var(--fs-max); font-weight: 900; letter-spacing: .01em;
  color: #fff3cf;
  text-shadow: 0 0 2px #fff, 0 0 10px rgba(255, 205, 100, .95), 0 0 24px rgba(255, 140, 50, .7), 0 0 44px rgba(255, 61, 154, .35);
  transition: color .3s ease, text-shadow .4s ease;
}
.ep-letreiro-nome .l { display: inline-block; white-space: pre; }
.ep-letreiro-nome .l.nova { animation: ep-acende .55s ease-out both; animation-delay: var(--d, 0s); }
@keyframes ep-acende {
  0%   { opacity: 0; transform: translateY(.16em) scale(.7); color: #6b4a1a; text-shadow: none; }
  45%  { opacity: 1; transform: scale(1.18); color: #fff; text-shadow: 0 0 4px #fff, 0 0 16px #ffd77a, 0 0 34px #ff9d3d; }
  100% { opacity: 1; transform: none; }
}
/* vazio: "Teu nome aqui" bem apagado, lâmpadas quase desligadas */
.ep-letreiro.vazio .ep-letreiro-nome {
  font-size: calc(var(--fs-max) * .6); font-weight: 700; letter-spacing: .05em;
  color: rgba(246, 241, 255, .26); text-shadow: none;
}
.ep-letreiro.vazio::before, .ep-letreiro.vazio::after { opacity: .2; animation: none; }
.tela-entrar.ep-mostra-nome .ep-letreiro { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.tela-entrar.ep-mostra-nome .ep-marca { opacity: 0; visibility: hidden; transform: scale(.94); transition: opacity .2s ease, transform .2s ease, visibility 0s .2s; }

/* ---------- a cortina do palco: fechada ao abrir, vai abrindo enquanto a pessoa escreve o nome ---------- */
.ep-panos {
  position: absolute; top: 0; left: 0; right: 0; height: var(--panos-h, 50%);
  z-index: 3; pointer-events: none;
}
.ep-fresta {   /* a luz do palco escapando pelo meio da cortina fechada */
  position: absolute; top: 8%; bottom: 0; left: 50%; width: 6px; margin-left: -3px;
  background: linear-gradient(180deg, transparent, rgba(255, 226, 150, .95) 30%, rgba(255, 200, 100, .9) 85%, transparent);
  box-shadow: 0 0 22px 8px rgba(255, 196, 90, .45);
  opacity: calc(1 - var(--abre) * 2.4);
  transition: opacity .5s ease;
}
.ep-pano {
  position: absolute; top: 0; bottom: 0; width: calc(50% - 1px);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, transparent 16%, transparent 78%, rgba(0, 0, 0, .55) 100%),
    repeating-linear-gradient(90deg, #26040f 0px, #6a1240 8px, #b42c69 11px, #7a1748 14px, #3a0719 20px, #26040f 24px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .55);
  transition: transform 1.1s cubic-bezier(.2, .8, .2, 1);
  will-change: transform;
}
.ep-pano::after {   /* a franja dourada na barra da cortina */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12px;
  background:
    linear-gradient(180deg, #f3d27a, #a77a22) top / 100% 4px no-repeat,
    repeating-linear-gradient(90deg, #e6bd5a 0 2px, transparent 2px 5px) bottom / 100% 8px no-repeat;
}
/* abrir = a cortina se junta no canto (encolhe as pregas), como cortina de teatro de verdade */
.ep-pano-e { left: 0;  transform-origin: 0 50%;    transform: scaleX(calc(1 - var(--abre) * .86)); }
.ep-pano-d { right: 0; transform-origin: 100% 50%; transform: scaleX(calc(1 - var(--abre) * .86)); }
.tela-entrar.ep-no-palco .ep-feixe { filter: blur(5px) brightness(1.6); transition: filter .8s ease; }
.tela-entrar.ep-no-palco .ep-mic-coroa { animation: ep-brilha 1.2s ease-out; }
@keyframes ep-brilha { 40% { filter: drop-shadow(0 0 46px rgba(255, 214, 120, .95)) drop-shadow(0 14px 20px rgba(0, 0, 0, .55)); } }
/* subiu: o nome brilha forte (e nada mais responde ao toque até o Início abrir) */
.tela-entrar.ep-no-palco > :not(.ep-cenario):not(.ep-panos) { pointer-events: none; }
.tela-entrar.ep-no-palco .ep-letreiro {
  border-color: #ffd877;
  box-shadow: inset 0 0 0 3px #12060d, inset 0 0 0 4px rgba(255, 216, 119, .5), 0 0 34px 6px rgba(255, 196, 90, .45), 0 10px 26px rgba(0, 0, 0, .55);
  animation: ep-estrela 1.2s cubic-bezier(.2, .8, .2, 1) both;
}
.tela-entrar.ep-no-palco .ep-letreiro::before, .tela-entrar.ep-no-palco .ep-letreiro::after { animation: none; opacity: 1; }
.tela-entrar.ep-no-palco .ep-letreiro-nome {
  color: #fff;
  text-shadow: 0 0 3px #fff, 0 0 14px #ffe08a, 0 0 30px rgba(255, 170, 60, .95), 0 0 60px rgba(255, 61, 154, .6);
}
@keyframes ep-estrela { 0% { transform: scale(1); } 40% { transform: scale(1.08); } 100% { transform: scale(1.04); } }
.ep-campo.ep-falta { animation: ep-treme .4s; }
@keyframes ep-treme { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

/* show vivo: holofotes varrendo devagar, poeira piscando, lâmpadas da ribalta correndo */
.ep-feixe-e { animation: ep-varre-e 7s ease-in-out infinite alternate; }
.ep-feixe-d { animation: ep-varre-d 8.5s ease-in-out infinite alternate; }
.ep-feixe-c { animation: ep-respira 5s ease-in-out infinite alternate; }
@keyframes ep-varre-e { from { transform: rotate(-34deg); } to { transform: rotate(-20deg); } }
@keyframes ep-varre-d { from { transform: rotate(20deg); } to { transform: rotate(34deg); } }
@keyframes ep-respira { from { opacity: .75; } to { opacity: 1; } }
.ep-lampada { animation: ep-lampada 2.6s ease-in-out infinite alternate; }
.ep-lampada-d { animation-delay: -1.3s; }
@keyframes ep-lampada { from { opacity: .7; } to { opacity: 1; } }
.ep-poeira { animation: ep-pisca 3.2s ease-in-out infinite; }
.ep-poeira:nth-of-type(2n) { animation-delay: -1.1s; animation-duration: 2.6s; }
.ep-poeira:nth-of-type(3n) { animation-delay: -2s; animation-duration: 3.8s; }
@keyframes ep-pisca { 50% { opacity: .12; } }
.ep-ribalta i { animation: ep-ribalta 1.4s steps(1) infinite; }
.ep-ribalta i:nth-child(even) { animation-delay: -.7s; }
@keyframes ep-ribalta { 50% { opacity: .35; box-shadow: none; } }
.ep-aureola { animation: ep-respira 3s ease-in-out infinite alternate; }
.ep-letreiro::before { animation: ep-correr 1.2s steps(1) infinite; }
.ep-letreiro::after  { animation: ep-correr 1.2s steps(1) infinite; animation-delay: -.6s; }
@keyframes ep-correr { 50% { opacity: .3; } }

/* ---------- o passo único: o nome (e a foto, se quiser) ---------- */
.ep-form { position: relative; z-index: 2; display: flex; flex-direction: column; }
.ep-titulo { font-size: clamp(26px, 7.6vw, 30px); font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; }
.ep-sub { margin-top: 6px; color: var(--texto-2); font-size: 16px; }

/* "Já cantou neste celular": quem já cantou aqui volta com um toque, no MESMO perfil */
.tela-entrar .entrar-locais {
  margin: 14px 0 0; padding: 10px 14px 6px; border-radius: 18px;
  background: rgba(11, 6, 20, .62); border: 1px solid rgba(243, 210, 122, .32);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.tela-entrar .entrar-locais .card-titulo {
  font-size: 12.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ep-ouro-2);
}
.tela-entrar .entrar-locais .item-botao { min-height: 62px; }
.tela-entrar .entrar-locais .item-textos b { font-size: 17px; white-space: normal; overflow-wrap: anywhere; line-height: 1.25; }   /* nome comprido quebra a linha, não vira "Maria Ap…" */
.tela-entrar .entrar-local-foto { width: 46px; height: 46px; }
.ep-ou {
  display: flex; align-items: center; gap: 12px; margin-top: 16px;
  color: var(--texto-3); font-size: 14px; font-weight: 700;
}
.ep-ou::before, .ep-ou::after { content: ""; flex: 1; height: 1px; background: var(--borda-2); }

.ep-nome-linha { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.ep-ou:not([hidden]) + .ep-nome-linha { margin-top: 10px; }
.ep-foto-bola {
  appearance: none; -webkit-appearance: none; position: relative; flex: none;
  width: 64px; height: 64px; border-radius: 50%; padding: 0; cursor: pointer;
  display: grid; place-items: center; color: var(--ep-ouro-2);
  background: rgba(243, 210, 122, .08);
  border: 1.5px dashed rgba(243, 210, 122, .55);
  touch-action: manipulation;
}
.ep-foto-bola:focus-visible { outline: 2px solid var(--ciano); outline-offset: 3px; }
.ep-foto-previa { position: absolute; inset: 3px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; }
.ep-foto-previa .ic { width: 26px; height: 26px; stroke-width: 1.8; }
.ep-foto-bola.com-foto { border-style: solid; border-color: rgba(243, 210, 122, .85); }
.ep-foto-mais {
  position: absolute; right: -2px; bottom: -2px;
  width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad-primario); border: 2px solid #0d0719; color: #fff;
}
.ep-foto-mais .ic { width: 13px; height: 13px; stroke-width: 3; }
.ep-campo {
  flex: 1; min-width: 0; height: 64px;
  display: flex; flex-direction: column; justify-content: center; gap: 1px;
  padding: 0 16px; border-radius: 16px; cursor: text;
  background: rgba(0, 0, 0, .38); border: 1.5px solid rgba(61, 224, 255, .75);
  box-shadow: 0 0 0 4px rgba(61, 224, 255, .14);
}
.ep-campo small { font-size: 14px; font-weight: 700; color: var(--ciano); letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ep-rotulo-aviso { display: none; color: #ffb0b8; }
.ep-campo input {
  width: 100%; border: 0; outline: 0; padding: 0; margin: 0; background: transparent;
  color: var(--texto); font: inherit; font-size: 19px; font-weight: 600;
  caret-color: var(--ciano);
}
.ep-campo input::placeholder { color: rgba(246, 241, 255, .34); font-weight: 500; }
.ep-campo:focus-within { border-color: var(--ciano); box-shadow: 0 0 0 4px rgba(61, 224, 255, .22); }
.ep-foto-dica { margin-top: 8px; padding-left: 2px; font-size: 15px; color: var(--texto-3); }
.tela-entrar .ep-form > .erro { margin-top: 10px; }

.ep-subir {
  width: 100%; min-height: 62px; margin-top: 16px; border-radius: 18px;
  font-size: 19px; font-weight: 900; letter-spacing: -0.01em;
  transition: transform .12s ease, filter .12s ease;
}
.ep-subir .ic { width: 24px; height: 24px; stroke-width: 2.3; }
.ep-subir:active { transform: scale(.98); filter: brightness(1.1); }

/* "Já usei o Kobalski em outro aparelho" (ID + código) */
.ep-outro {
  appearance: none; -webkit-appearance: none; border: 0; background: none; cursor: pointer;
  align-self: center; display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; margin-top: 8px; padding: 6px 4px;
  color: var(--texto-2); font: inherit; font-size: 15px; font-weight: 700; text-align: center;
  touch-action: manipulation;
}
.ep-outro .ic { width: 18px; height: 18px; color: var(--ciano); }
.ep-outro:focus-visible { outline: 2px solid var(--ciano); outline-offset: 3px; border-radius: 8px; }
.tela-entrar #form-outro-aparelho {
  position: relative; z-index: 2; margin-top: 6px;
  background: rgba(11, 6, 20, .66); border-color: rgba(61, 224, 255, .3);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
/* o cartão de pôr na Tela de Início (só iPhone, ANTES do nome) no clima do palco */
.tela-entrar .instalar-lugar { position: relative; z-index: 2; }
.tela-entrar .instalar-cartao { margin: 0 0 6px; background: rgba(11, 6, 20, .66); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

@media (max-height: 760px) {
  .ep-ribalta { display: none; }
  .ep-sub { font-size: 15px; }
}

/* ---------- MODO DIGITANDO: com o teclado aberto, a tela inteira cabe na área visível acima dele ----------
   palco com a cortina em cima (o que sobrar de altura), o nome em luzes no chão do palco, e logo abaixo o campo e o
   botão. O js/entrar-palco.js põe a altura e o topo da área visível (visualViewport) em --vv-h / --vv-top. */
html.ep-digitando, html.ep-digitando body { height: 100%; overflow: hidden; }
.tela.tela-entrar.ep-teclado {
  position: fixed; left: 0; right: 0; top: var(--vv-top, 0px);
  max-width: 480px; margin: 0 auto;
  height: var(--vv-h, 100%); min-height: 0;
  padding: calc(10px + var(--safe-t)) calc(var(--safe-r) + var(--ep-gutter)) max(12px, var(--safe-b)) calc(var(--safe-l) + var(--ep-gutter));
}
/* já no modo digitando, quando o teclado chega e o tamanho real difere da estimativa: desliza, não pula
   (só depois de entrar: na entrada o Chrome animaria da tela cheia até a metade) */
.tela-entrar.ep-teclado.ep-desliza { transition: height .22s ease-out; }
.tela.tela-entrar.ep-teclado.ep-teclado-aberto { padding-bottom: 10px; }
.tela-entrar.ep-teclado .ep-cena { flex: 1 1 0; min-height: 0; padding: 4px 0 10px; }
.tela-entrar.ep-teclado .ep-mic-coroa { height: var(--mic-h, 120px); }
.tela-entrar.ep-teclado .ep-mic-palco, .tela-entrar.ep-teclado .ep-chao, .tela-entrar.ep-teclado .ep-placa { flex: none; }   /* o chão e a placa nunca amassam; quem se ajusta é o microfone */
.tela-entrar.ep-teclado .ep-chao { width: 200px; height: 30px; margin-top: -12px; }
.tela-entrar.ep-teclado .ep-placa { margin-top: 2px; }
.tela-entrar.ep-teclado .ep-letreiro { --lt-h: 56px; --fs-max: 30px; width: 100%; }
.tela-entrar.ep-teclado .ep-marca, .tela-entrar.ep-teclado .ep-ribalta,
.tela-entrar.ep-teclado .ep-titulo, .tela-entrar.ep-teclado .ep-sub, .tela-entrar.ep-teclado .ep-foto-dica,
.tela-entrar.ep-teclado .ep-outro, .tela-entrar.ep-teclado .ep-foto-bola, .tela-entrar.ep-teclado .ep-ou,
.tela-entrar.ep-teclado #entrar-locais, .tela-entrar.ep-teclado #entrar-instalar,
.tela-entrar.ep-teclado #form-outro-aparelho { display: none; }
.tela-entrar.ep-teclado .ep-nome-linha { margin-top: 0; }
/* "pelo menos 2 letras" com o teclado aberto: o aviso curto vai no rótulo do campo (a caixa roubaria o palco);
   a caixa continua lá pro leitor de tela, só fora da vista */
.tela-entrar.ep-teclado.ep-com-aviso .ep-rotulo { display: none; }
.tela-entrar.ep-teclado.ep-com-aviso .ep-rotulo-aviso { display: inline; }
.tela-entrar.ep-teclado.ep-com-aviso .ep-campo { border-color: rgba(255, 140, 160, .85); box-shadow: 0 0 0 4px rgba(255, 92, 108, .16); }
.tela-entrar.ep-teclado.ep-com-aviso .ep-form > .erro {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.tela-entrar.ep-teclado .ep-campo { height: 60px; }
.tela-entrar.ep-teclado .ep-subir { min-height: 56px; margin-top: 10px; }
.tela-entrar.ep-teclado .ep-feixe-e, .tela-entrar.ep-teclado .ep-feixe-d { top: 0; }
.tela-entrar.ep-teclado .ep-feixe-c { top: -24px; }
.tela-entrar.ep-teclado .ep-lampada { top: -5px; }
/* celular pequeno (iPhone SE com teclado): tudo um pouco mais justo */
.tela-entrar.ep-teclado.ep-apertado .ep-cena { padding: 2px 0 8px; }
.tela-entrar.ep-teclado.ep-apertado .ep-letreiro { --lt-h: 48px; --fs-max: 26px; }
.tela-entrar.ep-teclado.ep-apertado .ep-campo { height: 56px; }
.tela-entrar.ep-teclado.ep-apertado .ep-subir { min-height: 52px; margin-top: 8px; }
/* sobrou quase nada (celular deitado): fica só o campo e o botão, nunca escondidos */
.tela-entrar.ep-teclado.ep-minimo .ep-cena { display: none; }

/* voltando ao normal (saiu do campo): o que estava escondido aparece de mansinho, sem pulo seco */
.tela-entrar.ep-voltando .ep-titulo, .tela-entrar.ep-voltando .ep-sub, .tela-entrar.ep-voltando .ep-foto-dica,
.tela-entrar.ep-voltando .ep-outro, .tela-entrar.ep-voltando .ep-foto-bola, .tela-entrar.ep-voltando .ep-ou,
.tela-entrar.ep-voltando #entrar-locais, .tela-entrar.ep-voltando #entrar-instalar { animation: ep-volta .35s ease-out both; }
@keyframes ep-volta { from { opacity: 0; transform: translateY(8px); } }

@media (prefers-reduced-motion: reduce) {
  .ep-pano, .ep-fresta { transition-duration: .25s; }
  .ep-feixe, .ep-lampada, .ep-poeira, .ep-ribalta i, .ep-aureola, .ep-letreiro::before, .ep-letreiro::after { animation: none; }
  .ep-letreiro-nome .l.nova, .tela-entrar.ep-no-palco .ep-letreiro, .tela-entrar.ep-no-palco .ep-mic-coroa,
  .tela-entrar.ep-voltando .ep-titulo, .tela-entrar.ep-voltando .ep-sub, .tela-entrar.ep-voltando .ep-foto-dica,
  .tela-entrar.ep-voltando .ep-outro, .tela-entrar.ep-voltando .ep-foto-bola, .tela-entrar.ep-voltando .ep-ou,
  .tela-entrar.ep-voltando #entrar-locais, .tela-entrar.ep-voltando #entrar-instalar,
  .ep-campo.ep-falta, .tela.tela-entrar.ativa { animation: none; }
  .ep-mic-coroa, .ep-letreiro, .ep-marca, .ep-letreiro-nome, .tela-entrar.ep-teclado.ep-desliza { transition: none; }
}
