:root {
  color-scheme: dark;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  color: #cccccc;
  background: #111111;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  display: grid;
  align-items: center;
  padding: 48px 24px;
}

main {
  width: min(100%, 820px);
  margin: 0 auto;
}

.command {
  margin: 0 0 24px;
  color: #eeeeee;
}

.prompt {
  color: #a8bc8c;
}

h1 {
  margin: 0 0 8px;
  color: #999999;
  font: inherit;
  line-height: 1.6;
}

.target {
  margin: 0;
  color: #999999;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 36px 0;
  padding: 24px 0;
  border-top: 1px dashed #444444;
  border-bottom: 1px dashed #444444;
}

.unit {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.unit pre {
  margin: 0;
  font-family: inherit;
  font-size: clamp(9px, 1.4vw, 14px);
  font-weight: 400;
  line-height: 1.3;
  white-space: pre;
  color: #cccccc;
}

.label {
  color: #999999;
  font-size: 12px;
}

.message {
  margin: 0;
  color: #a8bc8c;
  font-size: 12px;
  line-height: 1.6;
}

@media (max-width: 700px) {
  .countdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 16px;
  }

  .unit pre {
    font-size: clamp(9px, 2.4vw, 14px);
  }
}
