/* ===== 任务广场 /plaza ===== */
.plaza-page { padding-bottom: 66px; }

/* 顶部说明 + 待领数 */
.plaza-page .plaza-head { padding: 13px 12px 11px; margin-top: 10px; }
.plaza-page .plaza-head-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.plaza-page .plaza-head-info { min-width: 0; }
.plaza-page .plaza-title { font-size: 21px; font-weight: 900; letter-spacing: 1.5px; line-height: 1.15; }
.plaza-page .plaza-sub { margin-top: 4px; font-size: 11.5px; color: var(--muted); letter-spacing: 0.5px; }
.plaza-page .plaza-count {
  flex: 0 0 auto; min-width: 52px; text-align: center; padding: 4px 8px;
  background: var(--ink); color: #fff; border: 2px solid var(--line);
  box-shadow: 2px 2px 0 var(--shadow-2);
}
.plaza-page .plaza-count b { display: block; font-size: 21px; font-weight: 900; line-height: 1.1; }
.plaza-page .plaza-count span { display: block; margin-top: 1px; font-size: 9.5px; color: #d9d9d0; white-space: nowrap; }

.plaza-page .plaza-hint {
  margin-top: 10px; padding: 7px 9px; background: #fbfbf8;
  border-left: 4px solid var(--ink); font-size: 11.5px; color: #4a4a52; line-height: 1.6;
}
.plaza-page .plaza-hint .link { font-size: 11.5px; white-space: nowrap; }
.plaza-page .plaza-notice {
  margin-top: 8px; padding: 6px 9px; border: 1.5px dashed var(--shadow-2);
  font-size: 11px; color: #6a6a74; line-height: 1.6;
}
.plaza-page .plaza-head-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: 10px; padding-top: 9px; border-top: 1.5px dashed var(--line-soft);
}
.plaza-page .plaza-updated { font-size: 10.5px; color: var(--muted-2); }
.plaza-page .plaza-refresh { margin: 0; font-size: 11px; padding: 4px 11px; box-shadow: 2px 2px 0 var(--shadow); }

/* 区域筛选 */
.plaza-page .plaza-filter { margin: 12px 4px 0; }
.plaza-page .plaza-filter .chips { display: flex; flex-wrap: wrap; }
.plaza-page .plaza-filter .chip {
  font-size: 12px; padding: 5px 11px; margin: 0 6px 6px 0;
  box-shadow: 2px 2px 0 var(--shadow);
}
.plaza-page .plaza-filter .chip.on { box-shadow: none; }

/* 任务卡 */
.plaza-page .task-card { padding: 12px; cursor: pointer; }
.plaza-page .task-card:active { background: #fbfbf8; }
.plaza-page .task-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.plaza-page .task-buyer { display: flex; align-items: center; gap: 8px; min-width: 0; }
.plaza-page .task-avatar {
  width: 32px; height: 32px; flex: 0 0 32px; object-fit: cover;
  border: 2px solid var(--line); background: var(--paper);
}
.plaza-page .task-avatar-ph {
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; color: var(--muted); border-style: dashed;
  border-color: var(--shadow-2);
}
.plaza-page .task-who { min-width: 0; }
.plaza-page .task-name { font-size: 12.5px; font-weight: 800; line-height: 1.35; }
.plaza-page .task-time { margin-top: 2px; font-size: 10.5px; color: var(--muted-2); }
.plaza-page .task-top .b-tag { flex: 0 0 auto; margin-top: 2px; }

.plaza-page .task-content {
  margin-top: 9px; font-size: 14.5px; font-weight: 800; line-height: 1.5;
  word-break: break-word; overflow: hidden; text-overflow: ellipsis;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
}
.plaza-page .task-media { margin-top: 9px; }
.plaza-page .task-img {
  width: 100%; max-height: 160px; object-fit: cover; display: block;
  border: 2px solid var(--line); background: var(--paper); cursor: zoom-in;
}
.plaza-page .task-facts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.plaza-page .task-fact {
  font-size: 10.5px; color: #6a6a74; line-height: 1.5;
  border: 1.5px solid var(--line-soft); padding: 1px 7px; background: #fbfbf8;
}
.plaza-page .task-fact.budget { color: var(--orange); border-color: var(--orange); background: #fff; font-weight: 800; }
.plaza-page .task-actions { margin-top: 10px; }
.plaza-page .task-actions .b-btn { margin: 0; padding: 9px 0; font-size: 13.5px; }

/* 空态里的入口 */
.plaza-page .empty-link {
  margin: -14px 8px 10px; text-align: center; font-size: 12.5px;
  color: #6a6a74; text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}

/* 底部固定 CTA: 要浮在 5 个 tab 的底栏上面 */
.plaza-page .plaza-fixed-cta,
.plaza-fixed-cta {
  position: fixed; left: 0; right: 0;
  bottom: calc(var(--tabbar-h) + var(--safe-bottom));
  z-index: 55; max-width: 480px; margin: 0 auto;
  background: var(--paper); border-top: 2px solid var(--line);
  padding: 9px 12px 8px;
  box-shadow: 0 -2px 0 rgba(217, 217, 208, 0.6);
}
.plaza-fixed-cta .b-btn { margin: 0; }
.plaza-fixed-cta .cta-tip { margin-top: 4px; }
