/* ============================================================
   大陶匠社区V2 - 发布菜单组件样式
   独立组件，全社区统一调用
   ============================================================ */

.v2-publish-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.v2-publish-overlay.show {
  opacity: 1;
  visibility: visible;
}

.v2-publish-menu {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 16px 16px 0 0;
  z-index: 1001;
  padding: 20px;
  padding-bottom: calc(20px + env(safe-area-inset-bottom, 0));
  transform: translateY(100%);
  transition: transform 0.3s;
}

.v2-publish-menu.show {
  transform: translateY(0);
}

.v2-publish-title {
  font-size: 16px;
  font-weight: 600;
  color: #3d3d3d;
  text-align: center;
  margin-bottom: 20px;
}

.v2-publish-options {
  display: flex;
  justify-content: space-around;
  margin-bottom: 20px;
}

.v2-publish-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 10px;
}

.v2-publish-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.v2-publish-icon-recipe {
  background: linear-gradient(135deg, #8B4513, #A0522D);
}

.v2-publish-icon-material {
  background: linear-gradient(135deg, #5D8A6B, #7EC8A0);
}

.v2-publish-icon-firing {
  background: linear-gradient(135deg, #D96A1F, #F4A460);
}

.v2-publish-icon-post {
  background: linear-gradient(135deg, #4A90D9, #87CEEB);
}

.v2-publish-icon svg {
  width: 28px;
  height: 28px;
}

.v2-publish-label {
  font-size: 13px;
  color: #3d3d3d;
}

.v2-publish-cancel {
  width: 100%;
  height: 44px;
  background: #f5f0e8;
  color: #666;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.v2-publish-cancel:hover {
  background: #ebe4da;
}

