@import url('https://fonts.googleapis.com/css2?family=Special+Elite&display=swap');

body {
  margin: 0;
  background: linear-gradient(180deg, #a8c3dc 0%, #d6e4f0 100%);
  font-family: 'Special Elite', monospace;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.office {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.typewriter {
  position: relative;
  width: 700px;
  height: 500px;
}

.paper-output {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 600px;
}

.paper {
  background: #fdfaf4;
  margin-bottom: 20px;
  padding: 30px;
  border-radius: 6px;
  box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.2);
  border: 1px solid #e5e0d6;
  animation: printPaper 1s ease forwards;
  opacity: 0;
}

@keyframes printPaper {
  from {
    transform: translateY(60px) scaleY(0);
    opacity: 0;
  }
  to {
    transform: translateY(0) scaleY(1);
    opacity: 1;
  }
}

.paper h2 {
  font-size: 1.3em;
  margin-bottom: 10px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 4px;
}

.paper p {
  font-size: 1em;
  line-height: 1.6em;
}

.machine {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: #668bad;
  width: 400px;
  height: 150px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.roller {
  width: 420px;
  height: 40px;
  background: #2d2d2d;
  border-radius: 6px;
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
}

.like-btn {
  background: none;
  border: none;
  font-size: 1.4em;
  cursor: pointer;
  color: #888;
  transition: 0.2s;
}

.like-btn.liked {
  color: #e06666;
}

.comment-list {
  margin-bottom: 10px;
}

.comment {
  font-size: 0.9em;
  margin: 5px 0;
  background: #faf7f2;
  padding: 5px 8px;
  border-radius: 4px;
}

.comment-input {
  width: 100%;
  height: 50px;
  padding: 6px;
  font-family: inherit;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.comment-btn {
  background-color: #b5cce0;
  border: none;
  padding: 6px 12px;
  font-family: inherit;
  cursor: pointer;
  margin-top: 6px;
  border-radius: 4px;
}
