.collecte-header {
  background: linear-gradient(152deg, #1A1A1A 0%, #0A0A0A 50%, #000000 100%);
  padding: 52px 20px 20px;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 28px 28px;
  flex-shrink: 0;
}

.collecte-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.collecte-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.3px;
}

.collecte-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.collecte-action-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.11);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  transition: background 150ms ease;
}

.collecte-action-btn:active {
  background: rgba(255,255,255,0.2);
}

.collecte-action-btn svg {
  width: 18px;
  height: 18px;
  color: #fff;
}

.collecte-tabs {
  display: flex;
  gap: 8px;
}

.collecte-tab {
  flex: 1;
  height: 38px;
  border-radius: var(--radius-full);
  border: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: background 150ms ease, color 150ms ease;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.5);
}

.collecte-tab.active {
  background: var(--primary);
  color: #fff;
}

.collecte-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.collecte-open-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.collecte-open-card-top {
  margin-bottom: 10px;
}

.collecte-open-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
  line-height: 1.3;
}

.collecte-open-card-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.collecte-progress-bg {
  height: 5px;
  background: var(--border);
  border-radius: var(--radius-full);
  margin: 10px 0;
  overflow: hidden;
}

.collecte-progress-fill {
  height: 100%;
  background: var(--primary);
  border-radius: var(--radius-full);
  width: 0;
  transition: width 600ms ease;
}

.collecte-open-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.collecte-amounts {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.collecte-current {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.collecte-target {
  font-size: 11px;
  color: var(--text-muted);
}

.collecte-contribute-btn {
  height: 36px;
  padding: 0 16px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: background 150ms ease, transform 120ms ease;
  flex-shrink: 0;
}

.collecte-contribute-btn:active {
  transform: scale(0.96);
}

.collecte-mine-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.collecte-mine-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.collecte-mine-card-info {
  flex: 1;
  min-width: 0;
}

.collecte-mine-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}

.collecte-mine-card-meta {
  font-size: 12px;
  color: var(--text-muted);
}

.collecte-withdraw-btn {
  height: 34px;
  padding: 0 14px;
  background: var(--secondary);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  flex-shrink: 0;
  transition: background 150ms ease, transform 120ms ease;
}

.collecte-withdraw-btn:active {
  transform: scale(0.96);
}

.collecte-withdraw-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.collecte-mine-amounts {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.collecte-mine-current {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.3px;
}

.collecte-mine-pct {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.collecte-empty-msg {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  padding: 32px 16px;
  line-height: 1.6;
}

.collecte-create-btn {
  display: block;
  width: calc(100% - 32px);
  margin: 12px auto 0;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-lg);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: background 150ms ease, transform 120ms ease;
}

.collecte-create-btn:active {
  transform: scale(0.98);
}

.collecte-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms ease;
}

.collecte-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.collecte-sheet {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  width: 100%;
  max-width: 430px;
  background: var(--bg);
  border-radius: 24px 24px 0 0;
  z-index: 201;
  padding: 0 0 max(24px, env(safe-area-inset-bottom));
  transition: transform 300ms ease;
}

.collecte-sheet.open {
  transform: translateX(-50%) translateY(0);
}

.collecte-sheet-handle {
  width: 36px;
  height: 4px;
  background: var(--border);
  border-radius: var(--radius-full);
  margin: 14px auto 20px;
}

.collecte-sheet-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  padding: 0 20px 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.collecte-sheet-body {
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.collecte-sheet-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.collecte-sheet-input {
  width: 100%;
  height: 52px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0 16px;
  font-family: inherit;
  font-size: 16px;
  color: var(--text);
  outline: none;
  transition: border-color 150ms ease;
}

.collecte-sheet-input:focus {
  border-color: var(--primary);
}

.collecte-sheet-input::placeholder {
  color: var(--text-muted);
}

.collecte-sheet-submit {
  width: 100%;
  height: 52px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-lg);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: background 150ms ease, transform 120ms ease;
}

.collecte-sheet-submit:active {
  transform: scale(0.98);
}

.collecte-sheet-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.collecte-sheet-error {
  font-size: 13px;
  color: var(--red);
  display: none;
}

.collecte-sheet-error.visible {
  display: block;
}

.c-creator-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.c-creator-wrap {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.c-creator-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.c-creator-initial {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
}

.c-creator-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 1px;
}
