/* ========================================================
   接单平台样式 - 遵循刺猬星球白色主题 vw 响应式体系
   基准设计稿: 1920px → 1px ≈ 0.05208vw
   色调统一: 白色背景 + #070707 深色文字 + #C9FF85 辅助色
   ======================================================== */

/* 平台页面白色主题 - 与主站一致 */
.platform-page {
  background-color: #fff;
  color: var(--primary);
  overflow-x: hidden;
}

/* ---- 模式切换 ---- */
.plat-mode-switch {
  display: flex;
  background: #F2F3F0;
  border-radius: 0.625vw;
  padding: 0.208vw;
  max-width: 20.833vw;
  margin: 0 auto 0.417vw;
}

.plat-mode-btn {
  flex: 1;
  padding: 0.729vw 1.042vw;
  border-radius: 0.521vw;
  border: none;
  font-size: 0.833vw;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
  background: transparent;
  color: #999;
}

.plat-mode-btn.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0.208vw 1.042vw rgba(0, 0, 0, 0.15);
}

/* ---- 平台顶部模式切换（复用 tool-mode-switch 风格） ---- */
.plat-mode-switch {
  box-shadow: 0 0 0.52vw rgba(0, 0, 0, 0.10);
  border-radius: 1.458vw;
  background: #FFF;
  padding: 0.312vw;
  gap: 0.468vw;
  display: inline-flex;
  align-items: center;
}
.plat-mode-switch .line {
  width: 0.052vw;
  height: 0.781vw;
  background: #D3D3D3;
}
.plat-mode-switch a {
  padding: 0.156vw 0.625vw;
  border-radius: 1.041vw;
  cursor: pointer;
  font-size: 0.729vw;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.plat-mode-switch a:hover {
  background: #f0f0f0;
}
.plat-mode-switch a.on {
  background: #C9FF85;
  font-weight: 700;
}
.plat-mode-switch a:nth-of-type(2).on {
  background: #FFD0D7;
}
/* ---- 平台左上角操作按钮 ---- */
.plat-action-btns {
  display: flex;
  gap: 0.417vw;
  align-items: center;
}
.plat-action-btn {
  padding: 0.417vw 1.042vw;
  border-radius: 120px;
  font-size: 0.729vw;
  font-weight: 500;
  background: #FAFBF9;
  border: 1px solid #000;
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.208vw;
}
.plat-action-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.plat-action-btn.theme-green {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.plat-action-btn.theme-green:hover {
  opacity: 0.9;
  color: #fff;
}

/* ---- 报价滑块 ---- */
.plat-slider-wrap {
  padding: 0.417vw 0;
}
.plat-range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 0.312vw;
  border-radius: 0.156vw;
  background: linear-gradient(to right, var(--primary) 11.76%, #E8E8E8 11.76%);
  outline: none;
  cursor: pointer;
}
.plat-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 1.25vw;
  height: 1.25vw;
  border-radius: 50%;
  background: var(--primary);
  border: 0.156vw solid #fff;
  box-shadow: 0 0.104vw 0.417vw rgba(0,0,0,0.15);
  cursor: grab;
  transition: transform 0.15s;
}
.plat-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}
.plat-range-slider::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.2);
}
.plat-range-slider::-moz-range-thumb {
  width: 1.25vw;
  height: 1.25vw;
  border-radius: 50%;
  background: var(--primary);
  border: 0.156vw solid #fff;
  box-shadow: 0 0.104vw 0.417vw rgba(0,0,0,0.15);
  cursor: grab;
}
.plat-range-slider::-moz-range-track {
  height: 0.312vw;
  border-radius: 0.156vw;
  background: #E8E8E8;
}

/* ---- 通用卡片（与主站 .aigc3-list .item 一致） ---- */
.plat-card {
  background: #fff;
  border: 1px solid #000;
  border-radius: 20px;
  padding: 1.25vw;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  color: var(--primary);
}

.plat-card:hover {
  transform: translateY(-0.104vw);
  box-shadow: 0 0.417vw 1.563vw rgba(0, 0, 0, 0.08);
}

.plat-card .card-icon {
  width: 2.5vw;
  height: 2.5vw;
  border-radius: 0.625vw;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.146vw;
  margin-bottom: 0.833vw;
}

.plat-card .card-title {
  font-size: 1.042vw;
  font-weight: 700;
  margin-bottom: 0.417vw;
  color: var(--primary);
}

.plat-card .card-desc {
  font-size: 0.833vw;
  color: #696969;
  line-height: 1.6;
}

.plat-card .card-arrow {
  position: absolute;
  top: 1.25vw;
  right: 1.25vw;
  font-size: 1.042vw;
  color: #CCC;
  transition: all 0.3s;
}

.plat-card:hover .card-arrow {
  color: var(--primary);
  transform: translateX(0.208vw);
}

/* ---- 平台按钮（与主站 sbtn45 风格统一） ---- */
.plat-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.833vw 2.604vw;
  border-radius: 120px;
  background: var(--primary);
  color: #fff;
  font-size: 0.833vw;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

a.plat-btn {
  color: #fff;
  text-decoration: none;
}
.plat-btn:hover {
  box-shadow: 0 0.208vw 1.042vw rgba(0, 0, 0, 0.2);
  transform: translateY(-0.052vw);
}

.plat-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.833vw 2.604vw;
  border-radius: 120px;
  background: transparent;
  color: var(--primary);
  font-size: 0.833vw;
  font-weight: 700;
  border: 1px solid #000;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.plat-btn-outline:hover {
  background: var(--secondary);
  border-color: var(--secondary);
}

.plat-btn.theme-green {
  background: var(--secondary);
  color: var(--primary);
}

/* ---- 配额提示条 ---- */
.plat-quota-bar {
  display: flex;
  align-items: center;
  gap: 0.625vw;
  padding: 0.729vw 1.042vw;
  border-radius: 0.625vw;
  background: var(--light-bg);
  border: 1px solid #D0D0D0;
  margin-bottom: 1.042vw;
  font-size: 0.729vw;
}

.plat-quota-bar .q-label {
  color: #696969;
}

.plat-quota-bar .q-val {
  font-weight: 700;
  color: var(--primary);
}

.plat-quota-bar .q-max {
  color: #999;
}

/* ---- 表单组件 ---- */
.plat-form-group {
  margin-bottom: 1.042vw;
}

.plat-form-label {
  font-size: 0.833vw;
  font-weight: 600;
  margin-bottom: 0.417vw;
  display: block;
  color: var(--primary);
}

.plat-form-input {
  width: 100%;
  padding: 0.729vw 1.042vw;
  border-radius: 0.521vw;
  border: 1px solid #D0D0D0;
  background: #fff;
  color: var(--primary);
  font-size: 0.729vw;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.plat-form-input:focus {
  border-color: var(--primary);
}

.plat-form-input::placeholder {
  color: #CCC;
}

textarea.plat-form-input {
  min-height: 5.208vw;
  resize: vertical;
}

/* ---- Tag选择 ---- */
.plat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.417vw;
}

.plat-tag {
  padding: 0.417vw 0.833vw;
  border-radius: 120px;
  border: 1px solid #000;
  font-size: 0.729vw;
  cursor: pointer;
  transition: all 0.2s;
  background: #fff;
  color: var(--primary);
  font-family: inherit;
}

.plat-tag.selected,
.plat-tag.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  font-weight: 700;
}

/* ---- Radio组 ---- */
.plat-radio-group {
  display: flex;
  gap: 0.625vw;
}

.plat-radio {
  flex: 1;
  padding: 0.833vw;
  border-radius: 0.625vw;
  border: 1px solid #D0D0D0;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.833vw;
  background: #fff;
}

.plat-radio.selected {
  border-color: var(--primary);
  background: var(--light-bg);
  color: var(--primary);
  font-weight: 700;
}

/* ---- 步骤条 ---- */
.plat-steps {
  display: flex;
  gap: 0;
  margin-bottom: 1.25vw;
  position: relative;
}

.plat-step-item {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 0 0.417vw;
}

.plat-step-dot {
  width: 1.667vw;
  height: 1.667vw;
  border-radius: 50%;
  background: #F2F3F0;
  border: 2px solid #E8E8E8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.729vw;
  font-weight: 700;
  margin: 0 auto 0.417vw;
  transition: all 0.3s;
  color: #999;
}

.plat-step-item.active .plat-step-dot {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.plat-step-item.done .plat-step-dot {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--primary);
}

.plat-step-label {
  font-size: 0.729vw;
  color: #999;
}

.plat-step-item.active .plat-step-label {
  color: var(--primary);
  font-weight: 700;
}

.plat-step-line {
  position: absolute;
  top: 0.833vw;
  left: calc(50% + 1.042vw);
  right: calc(-50% + 1.042vw);
  height: 2px;
  background: #E8E8E8;
}

.plat-step-item:last-child .plat-step-line {
  display: none;
}

.plat-step-item.done .plat-step-line {
  background: var(--secondary);
}

/* ---- 上传区 ---- */
.plat-upload {
  border: 2px dashed #E8E8E8;
  border-radius: var(--card-radius);
  padding: 2.083vw;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--light-bg);
}

.plat-upload:hover {
  border-color: var(--primary);
}

.plat-upload-icon {
  font-size: 1.875vw;
  margin-bottom: 0.417vw;
}

.plat-upload-text {
  font-size: 0.833vw;
  color: #999;
}

/* ---- 瀑布流需求卡片 ---- */
.plat-demand-waterfall {
  columns: 3;
  column-gap: 0.833vw;
}

.plat-demand-card {
  break-inside: avoid;
  margin-bottom: 0.833vw;
  background: #fff;
  border: 1px solid #000;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
}

.plat-demand-card:hover {
  transform: translateY(-0.104vw);
  box-shadow: 0 0.417vw 1.563vw rgba(0, 0, 0, 0.08);
}

.plat-demand-cover {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #F2F3F0, #E8F5D6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.875vw;
  position: relative;
}

.plat-demand-cover.tall {
  aspect-ratio: 3/4;
}

.plat-demand-cover.square {
  aspect-ratio: 1/1;
}

.plat-demand-status {
  position: absolute;
  top: 0.625vw;
  right: 0.625vw;
  padding: 0.26vw 0.625vw;
  border-radius: 0.417vw;
  font-size: 0.625vw;
  font-weight: 700;
  background: var(--secondary);
  color: var(--primary);
}

.plat-demand-bid-count {
  position: absolute;
  bottom: 0.625vw;
  left: 0.625vw;
  padding: 0.208vw 0.521vw;
  border-radius: 0.313vw;
  font-size: 0.573vw;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
}

.plat-demand-info {
  padding: 0.833vw;
}

.plat-demand-title {
  font-size: 0.833vw;
  font-weight: 700;
  margin-bottom: 0.417vw;
  line-height: 1.4;
  color: var(--primary);
}

.plat-demand-meta {
  display: flex;
  gap: 0.417vw;
  flex-wrap: wrap;
}

.plat-demand-tag {
  padding: 0.208vw 0.521vw;
  border-radius: 0.417vw;
  font-size: 0.625vw;
  background: #FAF9FB;
  color: #696969;
}

.plat-demand-budget {
  font-size: 0.833vw;
  color: var(--color);
  font-weight: 700;
  margin-top: 0.417vw;
}

/* ---- 人才卡片 ---- */
.plat-talent-card {
  background: #fff;
  border: 1px solid #000;
  border-radius: 20px;
  padding: 1.25vw;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.plat-talent-card:hover {
  box-shadow: 0 0.417vw 1.563vw rgba(0, 0, 0, 0.08);
  transform: translateY(-0.104vw);
}

.plat-talent-header {
  display: flex;
  align-items: center;
  gap: 0.625vw;
  margin-bottom: 0.625vw;
}

.plat-talent-avatar {
  width: 2.5vw;
  height: 2.5vw;
  border-radius: 50%;
  background: linear-gradient(135deg, #E8F5D6, #D6EEFF);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.042vw;
  flex-shrink: 0;
}

.plat-talent-header-info {
  flex: 1;
  min-width: 0;
}

.plat-talent-name {
  font-size: 1.042vw;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.312vw;
  color: var(--primary);
  margin-bottom: 0.104vw;
}

.plat-talent-work-label {
  font-size: 0.573vw;
  padding: 0.104vw 0.417vw;
  border-radius: 0.208vw;
  display: inline-block;
}
.plat-talent-work-label.fulltime {
  background: #E8F5D6;
  color: #2D7A0F;
}
.plat-talent-work-label.parttime {
  background: #FFF3E0;
  color: #E65100;
}

.plat-talent-intro {
  font-size: 0.729vw;
  color: #696969;
  line-height: 1.6;
  margin-bottom: 0.625vw;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.plat-talent-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.26vw;
  margin-bottom: 0.521vw;
}

.plat-talent-meta {
  display: flex;
  flex-direction: column;
  gap: 0.312vw;
  margin-bottom: 0.521vw;
}

.plat-talent-meta-item {
  font-size: 0.625vw;
  color: #696969;
  display: flex;
  align-items: center;
  gap: 0.208vw;
}
.plat-talent-meta-item .meta-icon {
  font-size: 0.729vw;
}
.plat-talent-meta-item.plat-talent-price-tag {
  color: var(--color);
  font-weight: 700;
  font-size: 0.833vw;
}

.plat-talent-footer {
  margin-top: auto;
  padding-top: 0.417vw;
  border-top: 1px solid #F0F0F0;
}

.plat-talent-detail-link {
  font-size: 0.729vw;
  color: var(--primary);
  font-weight: 600;
  transition: opacity 0.2s;
}
.plat-talent-card:hover .plat-talent-detail-link {
  opacity: 0.7;
}

/* legacy - keep for detail page */
.plat-talent-type {
  font-size: 0.625vw;
  color: #696969;
  margin-bottom: 0.625vw;
}

.plat-talent-works {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.313vw;
  margin-bottom: 0.625vw;
}

.plat-talent-work-thumb {
  aspect-ratio: 1;
  border-radius: 0.417vw;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.833vw;
  overflow: hidden;
}

.plat-talent-price {
  font-size: 0.729vw;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.625vw;
}

.plat-talent-contact-btn {
  width: 100%;
  padding: 0.521vw;
  border-radius: 0.417vw;
  border: 1px solid var(--primary);
  background: #fff;
  color: var(--primary);
  font-size: 0.729vw;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  font-family: inherit;
  transition: all 0.2s;
}

.plat-talent-contact-btn:hover {
  background: var(--primary);
  color: #fff;
}

/* ---- 找工作标签 ---- */
.plat-job-tag {
  display: inline-block;
  padding: 0.208vw 0.625vw;
  border-radius: 0.417vw;
  font-size: 0.625vw;
  font-weight: 700;
  background: #E8F5D6;
  color: #2D7A0F;
  border: 1px solid #C9FF85;
}

/* ---- 竞标列表项 ---- */
.plat-bid-item {
  display: flex;
  align-items: center;
  gap: 0.833vw;
  padding: 1.042vw;
  border-radius: 0.833vw;
  background: #fff;
  border: 1px solid #D0D0D0;
  margin-bottom: 0.833vw;
}

.plat-bid-avatar {
  width: 2.292vw;
  height: 2.292vw;
  border-radius: 50%;
  background: linear-gradient(135deg, #E8F5D6, #D6EEFF);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.938vw;
  flex-shrink: 0;
}

.plat-bid-info {
  flex: 1;
}

.plat-bid-name {
  font-size: 0.729vw;
  font-weight: 700;
  margin-bottom: 0.104vw;
  color: var(--primary);
}

.plat-bid-msg {
  font-size: 0.625vw;
  color: #696969;
  line-height: 1.5;
}

.plat-bid-price {
  font-size: 0.833vw;
  font-weight: 900;
  color: var(--color);
  flex-shrink: 0;
}

.plat-bid-contact {
  padding: 0.417vw 0.833vw;
  border-radius: 0.417vw;
  border: 1px solid var(--primary);
  background: #fff;
  color: var(--primary);
  font-size: 0.625vw;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  flex-shrink: 0;
  transition: all 0.2s;
}

.plat-bid-contact:hover {
  background: var(--primary);
  color: #fff;
}

.plat-bid-locked {
  padding: 0.417vw 0.833vw;
  border-radius: 0.417vw;
  border: 1px solid #E8E8E8;
  background: var(--light-bg);
  color: #999;
  font-size: 0.625vw;
  cursor: not-allowed;
  font-family: inherit;
  flex-shrink: 0;
}

/* ---- 筛选条 ---- */
.plat-filter-bar {
  display: flex;
  gap: 0.521vw;
  margin-bottom: 1.667vw;
  flex-wrap: wrap;
}

.plat-filter-chip {
  padding: 0.521vw 1.042vw;
  border-radius: 120px;
  border: 1px solid #000;
  background: #fff;
  color: var(--primary);
  font-size: 0.729vw;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
  font-weight: 500;
}

.plat-filter-chip:hover {
  background: var(--light-bg);
}

.plat-filter-chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-weight: 700;
}

/* ---- AI对话 ---- */
.plat-chat-container {
  max-width: 100%;
  margin: 0 auto;
  max-height: 31.25vw;
  overflow-y: auto;
}

@keyframes typingDots {
  0%,80%,100% { opacity: 0.3; }
  40% { opacity: 1; }
}
.typing-dots { display: inline; animation: typingDots 1.2s infinite; }

.plat-collect-progress {
  display: flex;
  gap: 0;
  padding: 0.417vw 1.042vw;
  background: #FAFBF9;
  border-bottom: 1px solid #E8E8E8;
}
.plat-collect-item {
  flex: 1;
  text-align: center;
  font-size: 0.729vw;
  color: #B0B0B0;
  padding: 0.417vw 0;
  transition: all 0.3s;
}
.plat-collect-item .cp-icon {
  margin-right: 0.208vw;
}
.plat-collect-item.done {
  color: #2D7A0F;
  font-weight: 700;
}

.plat-chat-msg {
  display: flex;
  gap: 0.625vw;
  margin-bottom: 0.833vw;
}

.plat-chat-msg.user {
  flex-direction: row-reverse;
}

.plat-chat-avatar {
  width: 1.875vw;
  height: 1.875vw;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.833vw;
}

.plat-chat-msg.ai .plat-chat-avatar {
  background: #E8F5D6;
}

.plat-chat-msg.user .plat-chat-avatar {
  background: #D6EEFF;
}

.plat-chat-bubble {
  padding: 0.625vw 0.833vw;
  border-radius: 0.833vw;
  font-size: 0.729vw;
  line-height: 1.6;
  max-width: 80%;
}

.plat-chat-msg.ai .plat-chat-bubble {
  background: var(--light-bg);
  border: 1px solid #E8E8E8;
  border-top-left-radius: 0.208vw;
  color: var(--primary);
}

.plat-chat-msg.user .plat-chat-bubble {
  background: var(--primary);
  color: #fff;
  border-top-right-radius: 0.208vw;
}

.plat-chat-quick-replies {
  display: flex;
  gap: 0.417vw;
  flex-wrap: wrap;
  margin-top: 0.417vw;
}

.plat-chat-quick-btn {
  padding: 0.417vw 0.833vw;
  border-radius: 120px;
  border: 1px solid #000;
  background: #fff;
  color: var(--primary);
  font-size: 0.625vw;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.plat-chat-quick-btn:hover {
  border-color: var(--primary);
  background: var(--light-bg);
}

.plat-chat-input-bar {
  display: flex;
  gap: 0.417vw;
  margin-top: 1.042vw;
  padding: 0.625vw 0.833vw;
  background: #fff;
  border: 1px solid #D0D0D0;
  border-radius: 120px;
}

.plat-chat-input-bar input {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--primary);
  font-size: 0.729vw;
  outline: none;
  font-family: inherit;
}

.plat-chat-input-bar input::placeholder {
  color: #CCC;
}

.plat-chat-send-btn {
  padding: 0.521vw 1.25vw;
  border-radius: 120px;
  background: var(--primary);
  color: #fff;
  border: none;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.729vw;
}

/* ---- 会员卡片 ---- */
.plat-membership-card {
  background: var(--light-bg);
  border: 1px solid #000;
  border-radius: 20px;
  padding: 1.667vw;
  position: relative;
  overflow: hidden;
}

.plat-membership-card .mc-badge {
  position: absolute;
  top: 0.833vw;
  right: 0.833vw;
  padding: 0.208vw 0.625vw;
  border-radius: 0.313vw;
  font-size: 0.573vw;
  font-weight: 700;
  background: var(--secondary);
  color: var(--primary);
}

.plat-membership-card .mc-title {
  font-size: 1.042vw;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 0.208vw;
}

.plat-membership-card .mc-price {
  font-size: 1.458vw;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 0.833vw;
}

.plat-membership-card .mc-price span {
  font-size: 0.729vw;
  font-weight: 400;
  color: #696969;
}

.plat-mc-list {
  list-style: none;
  margin-bottom: 1.042vw;
  padding: 0;
}

.plat-mc-list li {
  font-size: 0.729vw;
  color: #696969;
  padding: 0.313vw 0;
  padding-left: 1.042vw;
  position: relative;
  line-height: 1.5;
}

.plat-mc-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.625vw;
  width: 0.417vw;
  height: 0.417vw;
  border-radius: 50%;
  background: var(--secondary);
}

/* ---- 信息提示条 ---- */
.plat-info-bar {
  padding: 0.833vw 1.042vw;
  border-radius: 0.625vw;
  margin-bottom: 1.25vw;
  font-size: 0.833vw;
  color: #696969;
  line-height: 1.8;
}

.plat-info-bar.theme-green {
  background: #F3FBE8;
  border: 1px solid #D4EDBA;
}

.plat-info-bar.theme-blue {
  background: #EBF5FF;
  border: 1px solid #BDD9F5;
}

.plat-info-bar.theme-orange {
  background: #FFF8EB;
  border: 1px solid #F5E0AD;
}

/* ---- 合作模式边框 ---- */
.plat-card.border-green {
  border-left: 3px solid var(--secondary);
}

.plat-card.border-blue {
  border-left: 3px solid #64B4FF;
}

/* ---- 配额对照表 ---- */
.plat-quota-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.729vw;
}

.plat-quota-table th {
  text-align: left;
  padding: 0.625vw;
  border-bottom: 2px solid #E8E8E8;
  color: #696969;
  font-weight: 500;
}

.plat-quota-table td {
  padding: 0.625vw;
  border-bottom: 1px solid #F2F3F0;
}

.plat-quota-table tr:last-child td {
  border-bottom: none;
}

.plat-quota-table .highlight {
  color: var(--primary);
  font-weight: 700;
}

/* ---- 通用区块 ---- */
.plat-section-title {
  font-size: 1.042vw;
  font-weight: 700;
  margin-bottom: 0.833vw;
  color: var(--primary);
}

.plat-wireframe {
  background: #fff;
  border: 1px solid #000;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 1.25vw;
}

.plat-wireframe-header {
  padding: 0.833vw 1.042vw;
  border-bottom: 1px solid #E8E8E8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--light-bg);
}

.plat-wireframe-body {
  padding: 1.042vw;
}

/* ---- 联系方式弹窗 ---- */
.plat-contact-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
}

.plat-contact-popup.on {
  display: flex;
}

.plat-contact-popup .popup-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(0.521vw);
}

.plat-contact-popup .popup-card {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid #000;
  border-radius: 20px;
  padding: 2.083vw;
  min-width: 18.75vw;
  text-align: center;
  box-shadow: 0 1.042vw 3.125vw rgba(0, 0, 0, 0.15);
}

.plat-contact-popup .popup-close {
  position: absolute;
  top: 0.833vw;
  right: 0.833vw;
  width: 1.563vw;
  height: 1.563vw;
  border-radius: 50%;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.729vw;
  transition: all 0.2s;
  color: #696969;
}

.plat-contact-popup .popup-close:hover {
  background: #E8E8E8;
}


/* ---- 需求大厅列表 (纯文字信息卡片) ---- */
.plat-demand-list {
  display: flex;
  flex-direction: column;
  gap: 0.833vw;
  margin: 1.25vw 0;
  width: 100%;
}

@keyframes platCardIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.dl-card {
  display: block;
  padding: 1.25vw 1.458vw;
  border-radius: 20px;
  border: 1px solid #000;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.25s, border-color 0.25s;
  animation: platCardIn 0.4s ease both;
}
.dl-card:nth-child(2) { animation-delay: 0.04s; }
.dl-card:nth-child(3) { animation-delay: 0.08s; }
.dl-card:nth-child(4) { animation-delay: 0.12s; }
.dl-card:nth-child(5) { animation-delay: 0.16s; }
.dl-card:nth-child(6) { animation-delay: 0.2s; }
.dl-card:hover {
  box-shadow: 0 0.312vw 1.25vw rgba(0,0,0,0.07);
  border-color: var(--primary);
}

.dl-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.833vw;
  margin-bottom: 0.417vw;
}
.dl-title {
  font-size: 1.042vw;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.45;
  flex: 1;
}
.dl-status {
  flex-shrink: 0;
  padding: 0.208vw 0.729vw;
  border-radius: 120px;
  font-size: 0.625vw;
  font-weight: 700;
  white-space: nowrap;
}
.dl-status.st-bidding { background: #E8F5D6; color: #2D7A0F; }
.dl-status.st-won     { background: #E3F2FD; color: #1565C0; }
.dl-status.st-closed  { background: #F5F5F5; color: #999; }

.dl-desc {
  font-size: 0.729vw;
  color: #696969;
  line-height: 1.6;
  margin-bottom: 0.625vw;
}

.dl-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.417vw;
  margin-bottom: 0.625vw;
}
.dl-tag {
  padding: 0.208vw 0.625vw;
  border-radius: 120px;
  border: 1px solid #000;
  font-size: 0.625vw;
  color: var(--primary);
  background: #FAFBF9;
  line-height: 1.4;
}

.dl-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.833vw;
  padding-top: 0.625vw;
  border-top: 1px solid #F2F3F0;
}
.dl-budget {
  font-size: 0.937vw;
  font-weight: 700;
  color: #E74E46;
  white-space: nowrap;
}
.dl-meta {
  display: flex;
  align-items: center;
  gap: 1.042vw;
  font-size: 0.625vw;
  color: #999;
  flex-wrap: wrap;
}
.dl-meta span { white-space: nowrap; }
.dl-time { color: #bbb; }


/* ========================================================
   移动端适配 (≤768px)
   ======================================================== */
@media screen and (max-width: 768px) {
  .plat-mode-switch {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.10);
    border-radius: 28px;
    padding: 6px;
    gap: 9px;
  }
  .plat-mode-switch .line {
    width: 1px;
    height: 15px;
  }
  .plat-mode-switch a {
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 13px;
  }
  .plat-action-btns {
    gap: 8px;
    flex-wrap: wrap;
  }
  .plat-action-btn {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
  }
  .plat-range-slider {
    height: 6px;
  }
  .plat-range-slider::-webkit-slider-thumb {
    width: 24px;
    height: 24px;
    border-width: 3px;
  }
  .plat-range-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-width: 3px;
  }

  .plat-mode-btn {
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 15px;
  }

  .plat-card {
    padding: 20px;
    border-radius: 20px;
  }

  .plat-card .card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    font-size: 22px;
    margin-bottom: 16px;
  }

  .plat-card .card-title {
    font-size: 17px;
  }

  .plat-card .card-desc {
    font-size: 13px;
  }

  .plat-card .card-arrow {
    top: 20px;
    right: 20px;
    font-size: 18px;
  }

  .plat-btn {
    padding: 14px 36px;
    border-radius: 120px;
    font-size: 15px;
  }

  .plat-btn-outline {
    padding: 14px 36px;
    border-radius: 120px;
    font-size: 15px;
  }

  .plat-quota-bar {
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 16px;
    font-size: 13px;
  }

  .plat-form-group {
    margin-bottom: 20px;
  }

  .plat-form-label {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .plat-form-input {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
  }

  textarea.plat-form-input {
    min-height: 100px;
  }

  .plat-tags {
    gap: 8px;
  }

  .plat-tag {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
  }

  .plat-radio-group {
    gap: 12px;
  }

  .plat-radio {
    padding: 16px;
    border-radius: 10px;
    font-size: 14px;
  }

  .plat-steps {
    margin-bottom: 24px;
  }

  .plat-step-dot {
    width: 32px;
    height: 32px;
    font-size: 13px;
    margin-bottom: 8px;
  }

  .plat-step-label {
    font-size: 11px;
  }

  .plat-step-line {
    top: 16px;
    left: calc(50% + 20px);
    right: calc(-50% + 20px);
  }

  .plat-upload {
    padding: 40px;
    border-radius: 16px;
  }

  .plat-upload-icon {
    font-size: 36px;
    margin-bottom: 8px;
  }

  .plat-upload-text {
    font-size: 13px;
  }

  .plat-demand-waterfall {
    columns: 2;
    column-gap: 12px;
  }

  .plat-demand-card {
    margin-bottom: 12px;
    border-radius: 20px;
  }

  .plat-demand-cover {
    font-size: 36px;
  }

  .plat-demand-status {
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
  }

  .plat-demand-bid-count {
    bottom: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
  }

  .plat-demand-info {
    padding: 14px;
  }

  .plat-demand-title {
    font-size: 15px;
  }

  .plat-demand-tag {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
  }

  .plat-demand-budget {
    font-size: 14px;
  }

  .plat-talent-card {
    padding: 20px;
    border-radius: 20px;
  }

  .plat-talent-header {
    gap: 12px;
    margin-bottom: 10px;
  }

  .plat-talent-avatar {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  .plat-talent-name {
    font-size: 16px;
    gap: 6px;
  }

  .plat-talent-work-label {
    font-size: 11px;
    padding: 2px 8px;
  }

  .plat-talent-intro {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .plat-talent-tags {
    gap: 4px;
    margin-bottom: 10px;
  }

  .plat-talent-meta {
    gap: 6px;
    margin-bottom: 10px;
  }

  .plat-talent-meta-item {
    font-size: 11px;
    gap: 4px;
  }
  .plat-talent-meta-item.plat-talent-price-tag {
    font-size: 15px;
  }

  .plat-talent-footer {
    padding-top: 10px;
  }

  .plat-talent-detail-link {
    font-size: 13px;
  }

  .plat-talent-type {
    font-size: 12px;
    margin-bottom: 12px;
  }

  .plat-talent-works {
    gap: 6px;
    margin-bottom: 12px;
  }

  .plat-talent-work-thumb {
    border-radius: 8px;
    font-size: 16px;
  }

  .plat-talent-price {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .plat-talent-contact-btn {
    padding: 10px;
    border-radius: 8px;
    font-size: 13px;
  }

  .plat-job-tag {
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
  }

  .plat-bid-item {
    gap: 16px;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 12px;
  }

  .plat-bid-avatar {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  .plat-bid-name {
    font-size: 14px;
  }

  .plat-bid-msg {
    font-size: 12px;
  }

  .plat-bid-price {
    font-size: 15px;
  }

  .plat-bid-contact {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12px;
  }

  .plat-bid-locked {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12px;
  }

  .plat-filter-bar {
    gap: 8px;
    margin-bottom: 24px;
  }

  .plat-filter-chip {
    padding: 10px 20px;
    border-radius: 120px;
    font-size: 13px;
  }

  .plat-collect-progress {
    padding: 8px 16px;
    gap: 0;
  }
  .plat-collect-item {
    font-size: 11px;
    padding: 4px 0;
  }

  .plat-chat-container {
    max-width: 100%;
    max-height: 400px;
  }

  .plat-chat-msg {
    gap: 12px;
    margin-bottom: 16px;
  }

  .plat-chat-avatar {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .plat-chat-bubble {
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 14px;
  }

  .plat-chat-msg.ai .plat-chat-bubble {
    border-top-left-radius: 4px;
  }

  .plat-chat-msg.user .plat-chat-bubble {
    border-top-right-radius: 4px;
  }

  .plat-chat-quick-replies {
    gap: 8px;
    margin-top: 8px;
  }

  .plat-chat-quick-btn {
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 12px;
  }

  .plat-chat-input-bar {
    gap: 8px;
    margin-top: 20px;
    padding: 12px 16px;
    border-radius: 120px;
  }

  .plat-chat-input-bar input {
    font-size: 14px;
  }

  .plat-chat-send-btn {
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 13px;
  }

  .plat-membership-card {
    padding: 24px;
    border-radius: 16px;
  }

  .plat-membership-card .mc-badge {
    top: 16px;
    right: 16px;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11px;
  }

  .plat-membership-card .mc-title {
    font-size: 20px;
  }

  .plat-membership-card .mc-price {
    font-size: 28px;
    margin-bottom: 16px;
  }

  .plat-membership-card .mc-price span {
    font-size: 14px;
  }

  .plat-mc-list li {
    font-size: 13px;
    padding: 6px 0 6px 20px;
  }

  .plat-mc-list li::before {
    top: 12px;
    width: 8px;
    height: 8px;
  }

  .plat-info-bar {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 13px;
  }

  .plat-section-title {
    font-size: 18px;
    margin-bottom: 16px;
  }

  .plat-wireframe {
    border-radius: 20px;
    margin-bottom: 24px;
  }

  .plat-wireframe-header {
    padding: 16px 20px;
  }

  .plat-wireframe-body {
    padding: 20px;
  }

  .plat-quota-table {
    font-size: 13px;
  }

  .plat-quota-table th,
  .plat-quota-table td {
    padding: 12px;
  }

  .plat-contact-popup .popup-card {
    padding: 32px;
    min-width: 80%;
    border-radius: 20px;
  }

  .plat-contact-popup .popup-close {
    top: 16px;
    right: 16px;
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .plat-demand-list {
    gap: 12px;
    margin: 16px 0;
  }

  .dl-card {
    padding: 16px;
    border-radius: 16px;
  }

  .dl-head { gap: 10px; margin-bottom: 6px; }
  .dl-title { font-size: 16px; }
  .dl-status { padding: 3px 10px; font-size: 11px; }
  .dl-desc { font-size: 13px; margin-bottom: 10px; }
  .dl-tags { gap: 6px; margin-bottom: 10px; }
  .dl-tag { padding: 3px 10px; font-size: 11px; border-radius: 120px; }
  .dl-footer { gap: 10px; padding-top: 10px; flex-wrap: wrap; }
  .dl-budget { font-size: 15px; }
  .dl-meta { gap: 10px; font-size: 11px; }
}

.plat-talent-recommended {
  position: relative;
  border-color: #e94560;
  box-shadow: 0 0 0 1px #e94560;
}
.plat-talent-recommended:hover {
  box-shadow: 0 0.417vw 1.563vw rgba(233, 69, 96, 0.18);
}
.plat-recommend-badge {
  position: absolute;
  top: -1px;
  right: 1.25vw;
  background: linear-gradient(90deg, #e94560, #c23152);
  color: #fff;
  font-size: 0.625vw;
  font-weight: 700;
  padding: 0.2vw 0.6vw;
  border-radius: 0 0 8px 8px;
  letter-spacing: 0.05em;
  z-index: 2;
}

@media screen and (max-width: 768px) {
  .plat-recommend-badge {
    font-size: 11px;
    padding: 3px 10px;
    right: 16px;
  }
}
