body {
  margin: 0;
  font-family: "Segoe UI", "Hiragino Kaku Gothic ProN", sans-serif;
}

#feedback-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  background: #fffbe0; /* 柔らかい黄色背景 */
  border-top: 1px solid #f0e08a; /* 淡い黄色の境界線 */
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
  font-size: 12px;
  z-index: 1000;
  border-radius: 12px 12px 0 0;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

.feedback-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.feedback-buttons {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.feedback-buttons button {
  padding: 6px 12px;
  border: none;
  background-color: #F7D700;
  color: #000;
  cursor: pointer;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  transition: background-color 0.2s;
  min-width: 80px;
}

.feedback-buttons button:hover:enabled {
  background-color: #e6c800;
}

.feedback-buttons button:disabled {
  background-color: #ccc;
  color: #666;
  cursor: not-allowed;
}

.contact-link {
  display: none;
  font-size: 12px;
  text-decoration: underline;
  color: #0066cc;
}

.close-btn {
  cursor: pointer;
  font-weight: bold;
  font-size: 16px;
  color: #666;
  margin-right: 12px;
  line-height: 1;
  flex-shrink: 0;
}

.close-btn:hover {
  color: #333;
}

.restore {
  display: none;
  color: #333;
  background-color: #F7D700;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  width: 100%;
  padding: 12px 0;
  border-radius: 0 12px 0 0;
}

.restore:hover {
  background-color: #e6c800;
}

#feedback-bar.minimized {
  transform: translateX(0);
  transition: none;
  height: 50px;
  width: 50px;
  left: 0;
  right: auto;
  padding: 0;
  overflow: hidden;
  border-radius: 0 12px 0 0;
  justify-content: center;
  flex-direction: column;
}

#feedback-bar.minimized .feedback-content,
#feedback-bar.minimized .close-btn {
  display: none;
}

#feedback-bar.minimized .restore {
  display: block;
}

#feedback-bar.hidden {
  display: none;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  #feedback-bar {
    width: 95%;
    font-size: 11px;
    padding: 8px 12px;
  }
  
  .feedback-buttons button {
    font-size: 11px;
    padding: 5px 10px;
    min-width: 70px;
  }
  
  .feedback-buttons {
    gap: 6px;
  }
}