body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont;
  background: #F4F1EA;
  color: #2D2D2D;
  margin: 0;
  padding: 0;
}

.container {
  width: 600px;
  margin: auto;
  padding: 30px 0;
}

header {
  text-align: center;
  margin-bottom: 30px;
}

.subtitle {
  font-size: 14px;
  color: #7c7c7c;
  margin-top: -8px;
}

.input-section, .data-display {
  background: white;
  padding: 22px;
  border-radius: 14px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  margin-bottom: 25px;
}

.input-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

label {
  font-size: 14px;
  margin-bottom: 6px;
}

input, select {
  padding: 10px;
  border-radius: 7px;
  border: 1px solid #ccc;
  font-size: 15px;
}

.submit-btn {
  width: 100%;
  background: #4D6CFA;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 7px;
  font-size: 16px;
  cursor: pointer;
  font-weight: 500;
}
.submit-btn:hover {
  background: #3650d1;
}

h2 {
  margin-bottom: 10px;
}
.history-item {
  background: white;
  padding: 14px;
  margin-bottom: 10px;
  border-radius: 12px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.08);
}

.card-date {
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 14px;
  color: #333;
}

.card-line {
  font-size: 16px;
  margin-bottom: 6px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.emoji {
  font-size: 20px;
}

.weight {
  font-weight: 600;
  color: #4A4AEE;
}

.card-note {
  font-size: 13px;
  color: #666;
}
.user-box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
  font-size: 16px;
  color: #333;
  margin-top: 10px;
}

#userInput {
  width: 240px;
  padding: 10px 14px;
  border: 1px solid #d9d9d9;
  border-radius: 12px;
  font-size: 16px;
  outline: none;
  transition: 0.2s ease;
}

#userInput:focus {
  border-color: #4f7cff;
  box-shadow: 0 0 0 3px rgba(79,124,255,0.2);
}

.user-box button {
  padding: 8px 14px;
  background: #4f7cff;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  transition: 0.2s ease;
}

.user-box button:hover {
  background: #2854ff;
}

.user-box {
  margin: 20px auto 30px;
  max-width: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  background: #f5f7ff;
  border-radius: 14px;
  border: 1px solid #e0e4ff;
}

.user-box label {
  font-size: 14px;
  color: #333;
  white-space: nowrap;
}

#userInput {
  flex: 1;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid #d0d0d0;
  font-size: 14px;
  outline: none;
  transition: 0.2s ease;
}

#userInput:focus {
  border-color: #4f7cff;
  box-shadow: 0 0 0 3px rgba(79,124,255,0.18);
}

.user-box button {
  padding: 7px 12px;
  border-radius: 10px;
  border: none;
  background: #4f7cff;
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  transition: 0.2s ease;
}

.user-box button:hover {
  background: #2f5dff;
}


.privacy-note {
  font-size: 13px;
  color: #666;
  text-align: center;
  margin-top: 8px;
  opacity: 0.7;
}

.player-container {
  display: flex;
  justify-content: center;
}

audio {
  width: 300px;
  height: 32px;
  border-radius: 20px;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(6px);
}
