/* PO 2026-10-23: Discover contributions + mini flower-pot campaign */
.ct { max-width: 560px; margin: 0 auto; padding: 20px 16px 96px; display: grid; gap: 14px; }
.ct__head { display: grid; gap: 6px; }
.ct__title { margin: 0; font-size: 1.45rem; line-height: 1.3; }
.ct__intro { margin: 0; color: #374151; line-height: 1.55; }
.ct__campaign { margin: 0; padding: 8px 12px; border-radius: 12px; background: #ecfdf5; color: #065f46; font-weight: 700; font-size: 0.9rem; }
.ct__campaign:empty { display: none; }
.ct__campaign.is-over { background: #f1f5f9; color: #475569; }
.ct-card { padding: 14px; border-radius: 16px; background: #fff; border: 1px solid #e5e7eb; display: grid; gap: 10px; }
.ct-card[hidden], .ct [hidden] { display: none !important; }
.ct-progress__text { margin: 0; font-weight: 700; }
.ct-progress__bar { height: 10px; border-radius: 999px; background: #e5e7eb; overflow: hidden; }
.ct-progress__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #34d399, #10b981); transition: width 0.4s ease; }
.ct-won { margin: 0; padding: 10px 12px; border-radius: 12px; background: #fef3c7; color: #78350f; font-weight: 600; line-height: 1.5; }
.ct-won a { color: #1d4ed8; }
.ct-login a { color: #1d4ed8; font-weight: 600; }
.ct-hint { margin: 0; color: #6b7280; font-size: 0.82rem; line-height: 1.5; }
.ct-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; border-radius: 999px; background: #f1f5f9; }
.ct-toggle__btn { appearance: none; border: 0; border-radius: 999px; padding: 9px 8px; background: transparent; font: inherit; font-weight: 600; font-size: 0.9rem; color: #475569; cursor: pointer; }
.ct-toggle__btn.is-on { background: #fff; color: #065f46; box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12); }
.ct-field { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.ct-field > label, .ct-field > legend { font-weight: 600; font-size: 0.9rem; color: #1f2937; padding: 0; }
.ct-radios label { display: flex; gap: 8px; align-items: center; font-size: 0.92rem; }
.ct-results { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ct-results__item { width: 100%; text-align: left; appearance: none; border: 1px solid #e5e7eb; background: #f9fafb; border-radius: 10px; padding: 8px 10px; font: inherit; font-size: 0.9rem; cursor: pointer; }
.ct-results__none { color: #6b7280; font-size: 0.85rem; }
.ct-picked { margin: 0; color: #065f46; font-weight: 700; }
.ct-pick { display: inline-flex; align-items: center; justify-content: center; padding: 10px 14px; border-radius: 12px; border: 1px dashed #94a3b8; background: #f8fafc; cursor: pointer; font-weight: 600; color: #334155; }
.ct-thumbs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.ct-thumb { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #f1f5f9; }
.ct-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ct-thumb__rm { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(15, 23, 42, 0.7); color: #fff; font-size: 15px; line-height: 1; cursor: pointer; }
.ct-check { display: flex; gap: 8px; align-items: flex-start; font-size: 0.88rem; line-height: 1.5; color: #1f2937; }
.ct-check input { margin-top: 3px; width: 18px; height: 18px; flex: 0 0 auto; }
.ct-submit { appearance: none; border: 0; border-radius: 12px; padding: 12px; background: #10b981; color: #fff; font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer; }
.ct-submit:disabled { opacity: 0.6; cursor: default; }
.ct-h2 { margin: 0; font-size: 1.05rem; }
.ct-mine { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ct-mine__row { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; padding: 8px 10px; border-radius: 10px; background: #f8fafc; }
.ct-mine__name { flex: 1; min-width: 0; font-weight: 600; overflow-wrap: anywhere; }
.ct-mine__status { font-size: 0.78rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #e0f2fe; color: #075985; }
.ct-mine__status--approved { background: #dcfce7; color: #166534; }
.ct-mine__status--rejected { background: #fee2e2; color: #b91c1c; }
.ct-mine__note { flex-basis: 100%; font-size: 0.82rem; color: #6b7280; }
.ct-mine__withdraw { appearance: none; border: 0; background: none; color: #6b7280; font: inherit; font-size: 0.82rem; text-decoration: underline; cursor: pointer; }
.ct-rules ol { margin: 0; padding-left: 1.2rem; display: grid; gap: 6px; font-size: 0.9rem; line-height: 1.6; color: #374151; }
.ct-apple { margin: 0; font-size: 0.8rem; color: #6b7280; }
.ct-toast { position: fixed; left: 50%; bottom: 88px; transform: translateX(-50%); background: #111827; color: #fff; padding: 10px 16px; border-radius: 999px; font-size: 0.9rem; z-index: 1000; max-width: calc(100vw - 32px); }
/* entry card (Discover + 我的) */
.ct-entry { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: linear-gradient(135deg, #ecfdf5, #d1fae5); border: 1px solid #a7f3d0; color: #064e3b; text-decoration: none; }
.ct-entry__icon { font-size: 1.6rem; }
.ct-entry__text { display: grid; gap: 2px; }
.ct-entry__title { font-weight: 700; }
.ct-entry__sub { font-size: 0.82rem; color: #047857; }
.cr-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dv > .ct-entry { margin: 10px 0 4px; }
