/* The hairline-rules logo: a stage as big as the window, an SVG the script fills with thin rules that become the
   logo. Minimal: a warm white ground, one ink and one accent for the row that arrives late. */
:root {
  --ground: #f3f0e8;        /* the background */
  --ink: #141414;           /* the rules and the logo */
  --accent: #e2462b;        /* the late row, out of register until the last click */
  --hint: #9b968b;          /* the small text */
  --screen: 100vh;
}
@supports (height: 100lvh) {
  :root { --screen: 100lvh; }
}

* { box-sizing: border-box; }
html,
body {
  margin: 0;
  height: 100%;
}
body {
  background: var(--ground);
  overflow: hidden;
}

.scena {
  position: relative;
  height: var(--screen);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

/* the logo is set in this face: the script reads it to measure the letters and slice them */
.palco {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  font-family: 'Archivo Variable', 'Arial Black', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 800;
}

.segno { fill: var(--ink); }
.riga { fill: var(--ink); }
.ritardo { fill: var(--accent); }

.nota {
  position: absolute;
  left: 0;
  right: 0;
  bottom: max(18px, env(safe-area-inset-bottom));
  margin: 0;
  font-family: 'Archivo Variable', 'Arial', sans-serif;
  font-size: 12px;
  font-weight: 450;
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--hint);
  pointer-events: none;
}
