* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans', sans-serif;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

#app {
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#timer {
  font-size: 48px;
  font-weight: bold;
  text-align: center;
  color: #000;
  transition: color 0.3s;
}

#mikan-container {
  display: flex;
  justify-content: center;
  padding: 20px;
}

#mikan {
  width: 200px;
  height: 200px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

#answer-container {
  display: flex;
  gap: 10px;
}

#answer-input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid #000;
  border-radius: 8px;
  font-size: 16px;
  font-family: 'Noto Sans', sans-serif;
}

#answer-input:focus {
  outline: none;
  border-color: #ff8800;
}

#submit-btn {
  padding: 12px 24px;
  background: #ff8800;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  font-family: 'Noto Sans', sans-serif;
  transition: transform 0.1s, box-shadow 0.12s;
  box-shadow: 0 2px 0 rgba(0,0,0,0.12);
}

#submit-btn:active {
  transform: scale(0.95);
}

#ideas-header {
  display: flex;
  justify-content: flex-end;
}

#copy-all-btn {
  padding: 8px 16px;
  background: #ff8800;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  font-family: 'Noto Sans', sans-serif;
  transition: transform 0.1s, box-shadow 0.12s;
  box-shadow: 0 2px 0 rgba(0,0,0,0.12);
}

#copy-all-btn:active {
  transform: scale(0.95);
}

#ideas-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 300px;
  overflow-y: auto;
}

.idea-item {
  padding: 12px 16px;
  background: #f5f5f5;
  border-radius: 8px;
  animation: slideIn 0.3s ease-out;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.idea-text {
  flex: 1;
}

.copy-btn {
  padding: 6px 12px;
  background: #ff8800;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  font-family: 'Noto Sans', sans-serif;
  transition: transform 0.1s, box-shadow 0.12s;
  white-space: nowrap;
  box-shadow: 0 1px 0 rgba(0,0,0,0.12);
}

.copy-btn:active {
  transform: scale(0.95);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  #mikan {
    width: 150px;
    height: 150px;
  }
  
  #answer-container {
    flex-direction: column;
  }
  
  #submit-btn {
    width: 100%;
  }
}