* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  background: #ffffff;
  color: #000000;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-font-smoothing: antialiased;
}

#answer {
  text-align: center;
  padding: 1rem;
}

#answer.verdict {
  text-transform: uppercase;
  font-weight: 800;
  font-size: clamp(64px, 40vmin, 320px);
  line-height: 1;
  letter-spacing: 0.02em;
  user-select: none;
}

#answer.landing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

#answer.landing .clock {
  font-size: clamp(48px, 22vmin, 160px);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  line-height: 1;
}

#answer.landing .clock .secs {
  font-size: 0.45em;
  opacity: 0.35;
  font-weight: 600;
}

#answer.landing .sub {
  opacity: 0.6;
  font-weight: 500;
}

#answer.landing .links {
  list-style: none;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0;
  margin: 0.5rem 0 0;
}

#answer.landing .links a {
  color: #000000;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
}

#answer.landing .links a:hover {
  background: #000000;
  color: #ffffff;
}

#info-btn {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #000000;
  background: #ffffff;
  color: #000000;
  font-family: inherit;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  user-select: none;
  z-index: 20;
}

#info-btn:hover {
  background: #000000;
  color: #ffffff;
}

#info {
  position: fixed;
  right: 1rem;
  bottom: 4.75rem;
  z-index: 19;
  width: min(320px, calc(100vw - 2rem));
  max-height: calc(100dvh - 6rem);
  overflow: auto;
  display: none;
  border: 1.5px solid #000000;
  border-radius: 12px;
  background: #ffffff;
  padding: 1rem 1.1rem;
  text-align: left;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.12);
}

#info.open {
  display: block;
}

#info h1 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

#info p {
  margin: 0.4rem 0;
  font-size: 0.875rem;
  line-height: 1.45;
}

#info ul {
  margin: 0.4rem 0;
  padding-left: 1.1rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

#info code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.85em;
  background: #f0f0f0;
  padding: 1px 4px;
  border-radius: 4px;
}

#info .examples {
  margin-top: 0.75rem;
  border-top: 1px solid #ececec;
  padding-top: 0.6rem;
  font-size: 0.875rem;
}

#info .examples a {
  color: #000000;
  font-weight: 600;
}

#info .examples a + a::before {
  content: " · ";
  font-weight: 400;
  opacity: 0.5;
}