/* Compliment Button — Exhibit 04. */

.machine {
  padding: 2.5rem 1.5rem;
  background: repeating-linear-gradient(45deg, #fff 0 40px, #ffe8f5 40px 80px);
  border-bottom: 4px solid var(--ink);
}

.stage {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
  align-items: start;
}

.button-side { text-align: center; }

.big-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  max-width: 22rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  background: var(--magenta);
  color: #fff;
  border: 6px solid var(--ink);
  border-radius: 999px;
  box-shadow: 10px 10px 0 var(--ink);
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.big-button:hover { transform: translate(-2px, -2px); box-shadow: 12px 12px 0 var(--ink); }
.big-button:active { transform: translate(4px, 4px); box-shadow: 4px 4px 0 var(--ink); }
.big-button-label {
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 1.6rem;
  line-height: 1.1;
  text-transform: uppercase;
}
.big-button-count {
  font-family: "Courier New", monospace;
  font-size: 0.9rem;
}

.compliment {
  font-family: "Comic Sans MS", "Comic Neue", cursive;
  font-size: 1.4rem;
  max-width: 34rem;
  margin: 1.75rem auto 0;
  min-height: 4em;
  border-left: 8px solid var(--magenta);
  padding-left: 1rem;
  text-align: left;
}
.streak {
  font-family: "Courier New", monospace;
  font-weight: bold;
  margin: 1rem 0 0;
}
.streak.hot { color: var(--magenta); }

.meter-side {
  background: #fff;
  border: 4px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  padding: 1.25rem;
}
.warmth-note { font-size: 0.85rem; color: #444; margin: 0.5rem 0 0; }

.scoreboard {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0 0;
}
.scoreboard div {
  border: 3px solid var(--ink);
  padding: 0.6rem 0.9rem;
  flex: 1 1 8rem;
}
.scoreboard dt {
  font-family: Impact, sans-serif;
  font-size: 2rem;
  line-height: 1;
}
.scoreboard dd { margin: 0.2rem 0 0; font-size: 0.85rem; }
.scoreboard-note { font-size: 0.85rem; color: #444; }

/* The featured feature */
.engine {
  padding: 2.5rem 1.5rem;
  background: #fff8e1;
  border-bottom: 4px solid var(--ink);
}
.engine-intro { max-width: 44rem; }

#engineForm {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: end;
  margin: 1.5rem 0 1.25rem;
  max-width: 44rem;
}
#engineForm label { display: block; font-weight: bold; margin-bottom: 0.25rem; width: 100%; }
#engineForm input {
  flex: 1 1 18rem;
  padding: 0.6rem;
  border: 4px solid var(--ink);
  background: #fff;
}

.analysis { max-width: 34rem; }
.analysis-fill { width: 0%; background: repeating-linear-gradient(-45deg, var(--lime) 0 12px, var(--yellow) 12px 24px); }

.engine-output {
  border: 4px dashed var(--magenta);
  background: #fff;
  padding: 1.25rem;
  max-width: 44rem;
  margin-top: 1.5rem;
}
.output-label {
  margin: 0;
  font-family: "Courier New", monospace;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.85rem;
}
.output-text {
  font-family: "Comic Sans MS", "Comic Neue", cursive;
  font-size: 1.5rem;
  margin: 0.5rem 0 0;
  min-height: 1.4em;
}
.engine-note { color: #444; }

@media (max-width: 50rem) {
  .stage { grid-template-columns: 1fr; }
  .big-button { max-width: 100%; padding: 2rem 1rem; }
  .big-button-label { font-size: 1.3rem; }
}
