/* Tela de TV 1920x1080. Sem CSS grid nem variáveis CSS
   para rodar no navegador das Samsung 2017+ (Tizen 3.0 / Chromium 47). */

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #0d1412;
}

#palco {
  position: absolute;
  left: 0;
  top: 0;
  width: 1920px;
  height: 1080px;
  overflow: hidden;
  transform-origin: 0 0;
  font-family: "SamsungOne", "Tizen Sans", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  color: #f4efe6;
  background: #13201c;
}

#fundo {
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  background-color: #1d3029;
  background-image: radial-gradient(ellipse at 20% 10%, #3c5a4c 0%, #1d3029 45%, #0f1915 100%);
  background-size: cover;
  background-position: center;
}

#veu {
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(8, 14, 12, 0.55) 0%, rgba(8, 14, 12, 0.35) 40%, rgba(8, 14, 12, 0.88) 100%);
}

/* Margem de segurança (overscan) de ~5% */
#conteudo {
  position: absolute;
  left: 96px; right: 96px; top: 64px; bottom: 56px;
  display: flex;
  flex-direction: column;
}

/* Topo */
#topo {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

#unidade {
  font-size: 34px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

#local {
  margin-top: 6px;
  font-size: 24px;
  color: #c9bfae;
  letter-spacing: 3px;
  text-transform: uppercase;
}

#agora { text-align: right; }

#relogio {
  font-size: 84px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -1px;
}

#data {
  margin-top: 8px;
  font-size: 26px;
  color: #e2d9c9;
}

#clima {
  margin-top: 6px;
  font-size: 26px;
  color: #e0b973;
}

/* Saudação */
#saudacao {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 24px;
}

#titulo {
  margin: 0;
  font-size: 104px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -1.5px;
  max-width: 1500px;
}

#mensagem {
  margin: 22px 0 0 0;
  font-size: 36px;
  line-height: 1.4;
  color: #e9e1d3;
  max-width: 1300px;
}

/* Cartões */
#cartoes {
  display: flex;
  align-items: stretch;
}

.cartao {
  flex: 1 1 0;
  width: 0;
  display: flex;
  align-items: center;
  margin-right: 24px;
  padding: 28px;
  min-height: 236px;
  box-sizing: border-box;
  background: rgba(20, 32, 28, 0.78);
  border: 1px solid rgba(244, 239, 230, 0.14);
  border-radius: 22px;
}

.cartao:last-child { margin-right: 0; }

#c-estadia { align-items: flex-start; }

.largura { width: 100%; }

.colunas { display: flex; }

.coluna {
  flex: 1 1 0;
  width: 0;
  margin-right: 20px;
}

.coluna:last-child { margin-right: 0; }

.qr-menor {
  width: 150px;
  height: 150px;
  margin: 0 0 12px 0;
  padding: 8px;
}

.col-titulo {
  font-size: 24px;
  font-weight: 600;
}

.col-sub {
  margin-top: 4px;
  font-size: 20px;
  line-height: 1.3;
  color: #c9bfae;
}

.oculto { display: none !important; }

.qr {
  flex: none;
  width: 180px;
  height: 180px;
  margin-right: 26px;
  padding: 10px;
  box-sizing: border-box;
  background: #fff;
  border-radius: 12px;
}

.qr svg { width: 100%; height: 100%; display: block; }

.info { min-width: 0; }

.rotulo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #e0b973;
  margin-bottom: 14px;
}

.linha { margin-bottom: 8px; }

.mini {
  display: block;
  font-size: 19px;
  color: #b7ad9c;
}

.valor {
  display: block;
  font-size: 32px;
  font-weight: 600;
  word-wrap: break-word;
}

.dica {
  margin-top: 10px;
  font-size: 21px;
  line-height: 1.35;
  color: #c9bfae;
}

#saida {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.25;
}

#saida .mini { margin-bottom: 2px; }

#saida .par { margin-bottom: 10px; }

#regras {
  margin: 16px 0 0 0;
  padding: 0;
  list-style: none;
}

#regras li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 6px;
  font-size: 22px;
  line-height: 1.3;
  color: #e2d9c9;
}

#regras li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: #e0b973;
}

/* Rodapé */
#rodape {
  margin-top: 22px;
  display: flex;
  justify-content: space-between;
  font-size: 22px;
  color: #b7ad9c;
}

#dica-home b { color: #f4efe6; }

#status { color: #7d8f86; }

#erro {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 96px;
  font-size: 22px;
  background: rgba(120, 40, 30, 0.9);
}
