/* STREAM HUB - base.css
 * Projeto em 1920x1080 com 1rem = 16px; app.js ajusta a escala (4K = 32px por rem).
 * Sem variáveis CSS, sem blur, sem fontes externas: compatível com motores antigos.
 */
html, body {
  margin: 0; padding: 0; width: 100%; height: 100%;
  overflow: hidden;
  background: #0b0716; color: #e9edf5;
  font-family: "Helvetica Neue", Helvetica, Roboto, Arial, "Segoe UI", sans-serif;
  font-size: 16px;
  -webkit-text-size-adjust: none;
  -webkit-user-select: none; user-select: none;
  cursor: default;
}
* { -webkit-box-sizing: border-box; box-sizing: border-box; }
h1, h2, h3, p { margin: 0; font-weight: normal; }
b { font-weight: bold; }

/* ---------- Logo ---------- */
.logo { white-space: nowrap; font-size: 1.75rem; letter-spacing: 0.12em; font-weight: bold; }
.logo-mark {
  display: inline-block; width: 2.2rem; height: 2.2rem; line-height: 2.2rem; margin-right: 0.7rem;
  text-align: center; font-size: 1rem; color: #fff; background: #8a2be2; border-radius: 0.6rem; vertical-align: middle;
}
.logo-a { color: #fff; vertical-align: middle; }
.logo-b { color: #a64dff; margin-left: 0.35em; vertical-align: middle; }

/* ---------- Tela de carregamento e erros ---------- */
#boot {
  position: absolute; left: 0; top: 0; right: 0; bottom: 0; z-index: 50;
  background: #0b0716; text-align: center; padding-top: 22rem; font-size: 1.5rem; color: #8b93a7;
}
#boot .logo { font-size: 3rem; margin-bottom: 2rem; }
#boot .boot-help { font-size: 1.1rem; margin-top: 3rem; }
#err {
  display: none; position: absolute; left: 2rem; right: 2rem; bottom: 2rem; z-index: 99;
  padding: 1rem 1.5rem; background: #3a0d12; color: #ffd7dc; border: 0.15rem solid #ff5a6e;
  border-radius: 0.8rem; font-size: 1.1rem; white-space: pre-wrap; max-height: 12rem; overflow: hidden;
}

/* ---------- Aviso rápido ---------- */
#toast {
  position: absolute; left: 50%; bottom: 3rem; z-index: 60;
  width: 46rem; margin-left: -23rem; padding: 1.1rem 1.6rem; text-align: center;
  background: #1e1432; background: rgba(30, 20, 50, 0.96); color: #fff; font-size: 1.3rem;
  border: 0.12rem solid #a64dff; border-radius: 1rem;
  visibility: hidden; opacity: 0;
}
#toast.show { visibility: visible; opacity: 1; }

/* ---------- Classificação indicativa (padrão brasileiro) ---------- */
.rating {
  display: inline-block; min-width: 2rem; padding: 0 0.4rem; height: 1.7rem; line-height: 1.7rem;
  border-radius: 0.35rem; text-align: center; font-weight: bold; font-size: 1rem; color: #fff; vertical-align: middle;
}
.r-l { background: #0a9c49; } .r-10 { background: #0f7bc4; } .r-12 { background: #e6b800; color: #111; }
.r-14 { background: #ee7b14; } .r-16 { background: #d61f26; } .r-18 { background: #000; border: 0.1rem solid #555; }
.r-x { background: #555; }

/* ---------- Selos de compatibilidade (cor + ícone + texto) ---------- */
.compat { display: inline-block; padding: 0.25rem 0.8rem; border-radius: 2rem; font-size: 1rem; }
.compat b { margin-right: 0.2rem; }
.c-ok { background: #0f3d26; color: #6ff0a6; }
.c-lim { background: #43350a; color: #ffd166; }
.c-no { background: #46121a; color: #ff8a9a; }
.c-unk { background: #252a36; color: #b9c1d4; }
