/* identidade: referencias/marca-jetskicf.md (azul-céu no lugar do azul do site) */
:root {
  --ink: #05070a;
  --surface: #0e1116;
  --off: #e9edf2;
  --muted: #9aa4b2;
  --ceu: #4db2ff;
  --ceu-forte: #1f8fe5;
  --line: rgba(255, 255, 255, 0.12);
  --ok: #5dcaa5;
  --erro: #ff7a6b;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--ink); color: var(--off); font-family: "Manrope", sans-serif; }
body {
  min-height: 100dvh;
  padding: 0 16px calc(84px + env(safe-area-inset-bottom));
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 24px);
}
button, textarea, input { font: inherit; color: inherit; }
[hidden] { display: none !important; }

.topo { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; }
.selo, .pc, .rotulo, .chip, .btn, .abas button, .voltar {
  font-family: "JetBrains Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.selo { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.pc { font-size: 10px; color: var(--muted); }
.pc.online { color: var(--ok); }

.tela { display: none; flex-direction: column; gap: 14px; padding-top: 8px; }
.tela.ativa { display: flex; }

.titulo { font-family: "Anton", sans-serif; font-weight: 400; font-size: 44px; line-height: 1.02; text-transform: uppercase; }
.titulo em { font-family: "Instrument Serif", serif; font-style: italic; text-transform: none; color: var(--ceu); font-size: 48px; }
.texto { color: var(--muted); line-height: 1.5; }
.rotulo { font-size: 11px; color: var(--muted); margin-top: 6px; }

.btn {
  display: block; width: 100%; text-align: center; cursor: pointer;
  background: var(--ceu-forte); color: #fff; border: 0; border-radius: 3px;
  padding: 15px; font-size: 13px;
}
.btn:disabled { opacity: 0.5; }
.btn-ghost { background: transparent; border: 1px solid rgba(255, 255, 255, 0.25); }

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.pergunta { font-size: 14px; margin-top: 4px; }
.pergunta span { color: var(--muted); font-size: 12px; }
.chips.faltando .chip { border-color: var(--erro); }
.chip { background: transparent; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 3px; padding: 8px 12px; font-size: 12px; cursor: pointer; }
.chip.on { border-color: var(--ceu); color: var(--ceu); }

textarea {
  width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 6px;
  padding: 12px; resize: vertical; line-height: 1.5;
}

.lista { display: flex; flex-direction: column; gap: 8px; }
.item {
  background: var(--surface); border: 1px solid var(--line); border-radius: 6px;
  padding: 12px; display: flex; gap: 10px; align-items: center; text-align: left; width: 100%;
}
.item .info { flex: 1; min-width: 0; }
.item .nome { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item .sub { font-family: "JetBrains Mono", monospace; font-size: 10px; color: var(--muted); text-transform: uppercase; margin-top: 3px; }
.item .sub.ok { color: var(--ceu); }
.barra { height: 4px; background: #1f2630; border-radius: 2px; margin-top: 6px; }
.barra div { height: 4px; background: var(--ceu); border-radius: 2px; width: 0; transition: width 0.2s; }
.vazio { color: var(--muted); font-size: 13px; }
.erro { color: var(--erro); font-size: 13px; min-height: 0; }
.erro:empty { display: none; }

video { width: 100%; max-height: 62dvh; background: #000; border-radius: 6px; }
.legenda { white-space: pre-wrap; font-family: "Manrope", sans-serif; font-size: 13px; line-height: 1.5; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 12px; color: #c9d1db; }
.voltar { background: none; border: 0; color: var(--muted); font-size: 12px; text-align: left; cursor: pointer; }

.abas {
  position: fixed; left: 0; right: 0; bottom: 0; display: flex;
  background: rgba(5, 7, 10, 0.96); border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.abas button { flex: 1; background: none; border: 0; padding: 16px 0; font-size: 11px; color: var(--muted); cursor: pointer; }
.abas button.on { color: var(--ceu); }

.aviso {
  position: fixed; left: 16px; right: 16px; bottom: calc(76px + env(safe-area-inset-bottom));
  background: var(--surface); border: 1px solid var(--ceu); border-radius: 6px; padding: 12px; font-size: 13px;
}
