/* Search Word Manager - CSS Stylesheet */

/* ホットワードコンテナ */
.hotword-container {
  margin: 10px 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.4;
}

/* �����ɿ��� */
.hotword-title {
  font-size: 14px;
  color: #333;
  font-weight: 500;
  margin-right: 8px;
  display: inline-block;
  vertical-align: top;
  line-height: 32px; /* ܿ�n�Uk�[� */
}

/* ホットワードリスト */
.hotword-list {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: flex-start;
}

/* ホットワードアイテム */
.hotword-item {
  background-color: #2196f3; /* ホットワード背景色 */
  color: white;
  border: none;
  border-radius: 16px; /* ホットワード角丸 */
  padding: 0px 12px;
  font-size: 10px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  outline: none;
  user-select: none;
  min-height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ホットワード */
.hotword-item:hover {
  background-color: #1976d2; /* ホットワード背景色 */
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(33, 150, 243, 0.3);
}

/* ホットワードアイテム */
.hotword-item:active {
  background-color: #1565c0;
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(33, 150, 243, 0.2);
}

/* ホットワードアイテム */
.hotword-item:focus {
  outline: 2px solid #2196f3;
  outline-offset: 2px;
}

/* ホットワードリスト */
@media (max-width: 768px) {
  .hotword-container {
    margin: 8px 0;
  }

  .hotword-title {
    font-size: 13px;
    line-height: 28px;
  }

  .hotword-item {
    font-size: 12px;
    padding: 6px 12px;
    min-height: 28px;
    border-radius: 14px;
  }

  .hotword-list {
    gap: 4px;
  }
}

/* ホットワードリスト */
@media (max-width: 480px) {
  .hotword-container {
    display: block;
  }

  .hotword-title {
    display: block;
    margin-bottom: 6px;
    line-height: 1.4;
  }

  .hotword-list {
    display: flex;
  }
}
