/* Smile TV — feuille de style du prototype.
   Volontairement sobre en fonctionnalités CSS : pas de variables, pas de grid, pas de gap,
   pour rester lisible sur les moteurs de téléviseurs anciens. Aucune police téléchargée. */
html, body { margin: 0; height: 100%; background: #06211f; color: #f3efe6; }
body { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; overflow: hidden; }
.hide { display: none !important; }

#home { box-sizing: border-box; height: 100%; padding: 4.5vh 5vw;
  background: #06211f;
  background: -webkit-radial-gradient(85% 10%, circle, #12514a 0%, #06211f 60%);
  background: radial-gradient(circle at 85% 10%, #12514a 0%, #06211f 60%); }

.brand { font-size: 2.2vh; letter-spacing: .04em; }
.mark { display: inline-block; width: 2.6vh; height: 1.3vh; margin-right: 1vh;
  border: .5vh solid #ffb347; border-top: 0; border-radius: 0 0 2.6vh 2.6vh; vertical-align: middle; }
.name { font-weight: 700; font-size: 2.6vh; vertical-align: middle; }
.tag { margin-left: 1.6vh; padding-left: 1.6vh; border-left: 1px solid #3c6b65; color: #9dbdb6; vertical-align: middle; }

.columns { margin-top: 7vh; overflow: hidden; }
.left { float: left; width: 54%; }
.right { float: right; width: 40%; }

h1 { margin: 0 0 3vh; font-family: Georgia, "Times New Roman", serif; font-weight: 400;
  font-size: 8.4vh; line-height: 1.02; letter-spacing: -.01em; }
.lead { margin: 0 0 4.5vh; max-width: 34em; font-size: 2.5vh; line-height: 1.5; color: #c4d6d1; }

button { font: inherit; color: #f3efe6; background: transparent; border: 1px solid #3c6b65;
  border-radius: .8vh; padding: 1.2vh 1.8vh; margin: 0 .8vh .8vh 0; font-size: 1.9vh; cursor: pointer; }
button:focus { outline: .5vh solid #ffb347; outline-offset: .3vh; }
button.primary { background: #ffb347; color: #06211f; border-color: #ffb347; font-weight: 700;
  font-size: 3.4vh; padding: 2.2vh 4.2vh; border-radius: 1.2vh; }
button.primary:focus { outline-color: #f3efe6; }

.verdict { margin: 2.4vh 0 5vh; font-size: 2vh; color: #9dbdb6; }
.tests .label { display: block; margin-bottom: 1.2vh; font-size: 1.6vh; letter-spacing: .14em;
  text-transform: uppercase; color: #6f958e; }

.panel { background: rgba(255, 255, 255, .05); border: 1px solid #1f4a45; border-radius: 1.6vh; padding: 3vh; }
.panel-title { margin-bottom: 1.6vh; font-size: 1.6vh; letter-spacing: .14em; text-transform: uppercase; color: #ffb347; }
#diag { width: 100%; border-collapse: collapse; font-size: 2vh; }
#diag th, #diag td { padding: 1.15vh 0; border-bottom: 1px solid #173d39; text-align: left; vertical-align: top; }
#diag th { font-weight: 400; color: #9dbdb6; width: 52%; }
#diag tr:last-child th, #diag tr:last-child td { border-bottom: 0; }

#stage { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #000; }
.layer { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain;
  background: #000; visibility: hidden; }
.layer.on { visibility: visible; }
#wait { position: absolute; top: 44%; left: 0; width: 100%; text-align: center; font-size: 3vh; color: #c4d6d1; }
#wait .mark { width: 6vh; height: 3vh; border-width: 1vh; border-radius: 0 0 6vh 6vh; margin: 0 0 3vh; }
#hud { position: absolute; left: 2vh; bottom: 2vh; margin: 0; padding: 1.4vh 1.8vh; max-width: 70%;
  background: rgba(6, 33, 31, .82); border-left: .5vh solid #ffb347; border-radius: .6vh;
  font: 1.7vh/1.5 Menlo, Consolas, "DejaVu Sans Mono", monospace; color: #f3efe6; white-space: pre-wrap; }
