.salon-compose {
  margin-bottom: 16px;
}

.salon-language-tabs {
  display: flex;
  width: 100%;
  gap: 0;
  border-bottom: 1px solid #e5e5e5;
}

.salon-language-tab {
  text-decoration: none;
  border: none;
  background: none;
  font-size: 0.9rem;
  color: #6c757d;
  border-bottom: 2px solid transparent;
  flex: 1 1 0;
  text-align: center;
  padding: 10px 0;
}

/* PC */
@media (min-width: 768px) {
  .salon-language-tab {
    padding: 12px 0;
  }
}

.salon-language-tab.is-active {
  color: #212529;
  font-weight: 600;
  border-bottom-color: #212529;
}

.salon-compose.card {
  border-radius: 0;
  box-shadow: none;
  border: none;
  margin-bottom: 0;
  background: #fff;
  border-bottom: 1px solid #e1e8ed;
}

.salon-input-body {
  padding: 10px 16px;
  gap: 10px;
  display: flex;
  align-items: start;
  position: relative;
}

/* PC */
@media (min-width: 768px) {
  .salon-input-body {
    gap: 12px;
  }
}

.salon-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: #f5f5f5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #999;
  margin-top: 4px;
}

.salon-avatar-link {
  display: inline-flex;
  border-radius: 50%;
}

/* PC */
@media (min-width: 768px) {
  .salon-avatar {
    width: 48px;
    height: 48px;
  }
}

#salon-submit {
  border-radius: 9999px;
  padding: 6px 18px;
  font-weight: 600;
}

.salon-textarea-wrap {
  display: flex;
  align-items: flex-start;
  flex: 1 1 auto;
  border-radius: 20px;
  border: 1px solid #ddd;
  background: #fff;
  padding: 2px 12px;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease;
}

/* PC */
@media (min-width: 768px) {
  .salon-textarea-wrap {
    padding: 4px 12px;
  }
}

.salon-textarea-wrap:hover {
  border-color: #e5e7eb;
}

.salon-textarea-wrap:focus-within {
  background: #ffffff;
  border-color: #1d9bf0;
  box-shadow: 0 0 0 1px rgba(29, 155, 240, 0.25);
}

.salon-text {
  width: 100%;
  height: auto;
  resize: none;
  border: none;
  background: transparent;
  padding: 8px 0;
  box-shadow: none;
  overflow-y: hidden;
}

.salon-text:focus {
  outline: none;
  box-shadow: none;
}

.salon-toolbar {
  font-size: 0.9rem;
}

.salon-post-button {
  display: block;
  position: relative;
  text-decoration-line: none;
  font-size: 0.9rem;
  text-align: center;
  margin-left: 5px;
  margin-right: 5px;
}

/* PC */
@media (min-width: 768px) {
  .salon-post-button {
    font-size: 1rem;
    margin-left: 10px;
    margin-right: 10px;
  }
}

.salon-upload-btn {
  border-radius: 9999px;
  border: 0;
  background: transparent;
  padding: 6px 10px;
  color: #555;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.salon-upload-btn:hover {
  background: rgba(15, 20, 25, 0.03);
}

.salon-upload-btn:focus-visible {
  outline: 2px solid rgba(29, 155, 240, 0.35);
  outline-offset: 2px;
}

.salon-image {
  margin-bottom: 0.3rem;
}

.salon-image-preview img,
.salon-image img {
  display: block;
  max-width: 100%;
  max-height: 260px;
  height: auto;
  border-radius: 12px;
}

.salon-preview-container {
  position: relative;
  display: inline-block;
}

.salon-preview-img {
  display: block;
  max-width: 100%;
  max-height: 300px;
  border-radius: 12px;
}

.salon-preview-delete-btn {
  line-height: 1;
}

.salon-disabled-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.salon-link-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 8px;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  margin-bottom: 0.3rem;
}

.salon-link-thumb {
  flex: 0 0 160px;
  width: 160px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.salon-link-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.salon-link-body {
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.salon-link-title {
  font-weight: 700;
  margin-bottom: 4px;
  font-size: 0.9rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.salon-link-url {
  color: #999;
  font-size: 0.8rem;
  word-break: break-all;
}

.salon-reaction-group {
  display: flex;
  gap: 8px;
}

.salon-reaction-btn {
  border-radius: 9999px;
  border: 1px solid #e3e5ea;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 0.85rem;
  line-height: 1;
  color: #555;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

/* 共感 */
.salon-reaction-btn[data-emoji="👍"].is-active {
  background: #e8f4ff;
  border-color: #1d9bf0;
  color: #1d9bf0;
}

/* 感動 */
.salon-reaction-btn[data-emoji="✨"].is-active {
  background: #fff9e6;
  border-color: #f4c452;
  color: #c4911c;
}

/* 応援 */
.salon-reaction-btn[data-emoji="💪"].is-active {
  background: #ffe9f0;
  border-color: #f37aa0;
  color: #d0537b;
}

.salon-reaction-btn:hover {
  background: rgba(15, 20, 25, 0.03);
  border-color: #d5d9e0;
}

.salon-reaction-btn.is-active {
  font-weight: 600;
}

.salon-reaction-icon i {
  font-size: 0.7rem;
  line-height: 1;
}

.salon-reaction-label {
  font-size: 0.7rem;
  white-space: nowrap;
}

.salon-reaction-count {
  font-size: 0.7rem;
  opacity: 0.75;
}
