body.checklist {
  margin: 0; padding: 0; min-height: 100vh;
  font-family: "Fredoka", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #fff5fb 0%, #f0e6ff 100%);
  background-attachment: fixed;
  color: #2e2b3b;
}
body.checklist::before { display: none; }
body.checklist * { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

.cl-header {
  display: flex; align-items: center; gap: .5rem;
  padding: .6rem 1rem;
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  position: sticky; top: 0; z-index: 10;
}
.cl-header h1 { margin: 0; font-size: 1.4rem; flex: 1; text-align: center; letter-spacing: .03em; font-family: inherit; color: #1a1a1a; }
.cl-header .back { text-decoration: none; color: #2e2b3b; font-size: 1.6rem; }
.cl-header .me-name { font-weight: 700; color: #c049a0; font-size: 1rem; }

.cl-main {
  max-width: 760px; margin: 0 auto;
  padding: 0.75rem;
  display: flex; flex-direction: column;
  gap: 0.5rem;
}

body.checklist h2 {
  margin: .5rem 0;
  font-size: 1rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #c049a0;
  text-align: center;
  font-family: inherit;
}

.cl-search {
  width: 100%;
  padding: .65rem .9rem;
  border-radius: 12px;
  border: 2px solid rgba(0,0,0,.08);
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: .6rem;
  background: white;
  -webkit-appearance: none;
}
.cl-search:focus { outline: none; border-color: #c049a0; }
.cl-prompts { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .6rem; }

.cl-prompt-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}
.cl-prompt-wrap .swipe-bg {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: flex-end;
  padding-right: 1.5rem;
  background: linear-gradient(90deg, transparent 0%, #f0e8f0 60%, #c0b0c0 100%);
  color: #666; font-weight: 800; font-size: 1.1rem;
  pointer-events: none;
}
.cl-prompt-wrap .swipe-bg.right {
  justify-content: flex-start;
  padding-left: 1.5rem; padding-right: 0;
  background: linear-gradient(90deg, #5cc26b 0%, #d4f0c8 60%, transparent 100%);
}
.cl-prompt {
  position: relative;
  z-index: 1;
  background: white;
  border-radius: 14px;
  padding: .75rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  display: flex; gap: .75rem; align-items: center;
  touch-action: pan-y;
  transition: transform .25s ease;
}
.cl-prompt.demoted { opacity: .7; }
.cl-prompt.favorite { box-shadow: 0 2px 8px rgba(245, 200, 74, 0.5), 0 0 0 2px var(--gold, #f5c84a); }
.cl-prompt.verified-pill { background: #f5fff0; }
.cl-prompt.cleared-pill { opacity: .55; background: #fafafa; }
.cl-prompt.pending-pill { background: #fff8e1; }
.cl-thumb.claimed { background: #fff7e0; color: #b07b1c; font-size: 1.4rem; }
.cl-status-pill.claimed { background: #fff3d4; color: #b07b1c; }
.cl-ap {
  display: inline-flex; align-items: center; justify-content: center;
  background: #5cc26b; color: white;
  border-radius: 999px;
  font-size: .8rem; font-weight: 800;
  padding: 2px 8px;
  margin-right: 4px;
}
.cl-star {
  background: transparent; border: none;
  font-size: 1.4rem; cursor: pointer;
  color: #ddd;
  padding: 0 .25rem;
  font-family: inherit;
  flex-shrink: 0;
}
.cl-star.on { color: #f5c84a; }

.cl-section-header {
  display: flex; align-items: center; gap: .5rem;
  background: #fff7e0;
  border-radius: 12px;
  padding: .5rem .75rem;
  cursor: pointer;
  user-select: none;
  font-weight: 700;
  margin-bottom: .5rem;
}
.cl-section-header .arrow { transition: transform .15s; }
.cl-section-header.collapsed .arrow { transform: rotate(-90deg); }
.cl-section-body.collapsed { display: none; }
.cl-section-body { display: flex; flex-direction: column; gap: .6rem; margin-bottom: .75rem; }
.cl-section-header .count { margin-left: auto; color: #888; font-weight: 700; font-size: .9rem; }
.cl-skip-btn {
  background: transparent; border: none;
  font-size: 1.2rem; color: #c0a0c0;
  cursor: pointer; padding: .25rem .4rem;
  font-family: inherit;
}
.cl-skip-btn:hover { color: #c84444; }
.cl-skip-btn.undo { color: #4a8531; }
.cl-skip-btn.undo:hover { color: #2c5e1c; }
.cl-prompt .text { flex: 1; font-size: 1.05rem; line-height: 1.35; font-weight: 600; }
.cl-prompt .my-status {
  display: flex; flex-direction: column; align-items: center; gap: .25rem;
  min-width: 84px;
}
.cl-thumb {
  width: 72px; height: 72px;
  border-radius: 12px;
  object-fit: cover;
  background: #f7f3e8;
  border: 2px solid rgba(0,0,0,.05);
  cursor: pointer;
}
.cl-thumb.empty {
  display: flex; align-items: center; justify-content: center;
  color: #b8b0c0; font-size: 1.6rem;
}
.cl-status-pill {
  font-size: .75rem; font-weight: 700;
  padding: 2px 8px; border-radius: 999px;
  background: #f7f3e8; color: #888;
}
.cl-status-pill.verified { background: #e6f7d4; color: #4a8531; }
.cl-status-pill.pending  { background: #fff3d4; color: #b07b1c; }

.cl-others {
  margin-top: .4rem;
  display: flex; flex-wrap: wrap; gap: 4px;
  font-size: .8rem;
}
.cl-other-mark {
  width: 28px; height: 28px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid rgba(0,0,0,.1);
  cursor: pointer;
}
.cl-other-mark.verified { border: 2px solid #4a8531; }

.cl-board-section {
  background: rgba(255,255,255,.6);
  border-radius: 14px;
  padding: .6rem .75rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.cl-board-section h2 { margin: 0 0 .35rem; font-size: .8rem; }
.cl-board {
  list-style: none; counter-reset: rank; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 4px;
}
.cl-board li {
  counter-increment: rank;
  display: inline-flex; align-items: center; gap: .25rem;
  padding: .25rem .5rem;
  background: white;
  border-radius: 999px;
  font-size: .85rem;
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
.cl-board li::before {
  content: counter(rank);
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #f7f3e8; color: #888;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; font-weight: 800;
  flex-shrink: 0;
}
.cl-board li:nth-child(1)::before { background: #f5c84a; color: white; }
.cl-board li:nth-child(2)::before { background: #c0c0c0; color: white; }
.cl-board li:nth-child(3)::before { background: #cd7f32; color: white; }
.cl-board li.me { background: #ffe4f0; font-weight: 800; }
.cl-board .name { font-weight: 700; }
.cl-board .count { color: #c049a0; font-weight: 800; }

.cl-modal-back {
  position: fixed; inset: 0; z-index: 20;
  background: rgba(0,0,0,.7);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.cl-modal-back.hidden { display: none; }
.cl-modal {
  background: white; border-radius: 16px;
  padding: 1.25rem; max-width: 480px; width: 100%;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
}
.cl-modal img { max-width: 100%; max-height: 60vh; border-radius: 12px; margin-bottom: 1rem; }
.cl-modal h3 { margin: 0 0 .25rem; font-size: 1.2rem; }
.cl-modal .info { color: #666; font-size: .95rem; margin-bottom: 1rem; }
.cl-modal .btn-group { display: flex; flex-direction: column; gap: .5rem; }
.cl-modal .clbtn {
  border: none; border-radius: 999px;
  padding: .65rem 1.2rem;
  font-weight: 800; font-size: 1rem;
  background: #ff7eb6; color: white;
  cursor: pointer;
  font-family: inherit;
}
.cl-modal .clbtn.alt { background: #6bb6e6; }
.cl-modal .clbtn.go  { background: #5cc26b; }
.cl-modal .clbtn.danger { background: #c84444; }
.cl-modal .clbtn.close { background: #ddd; color: #333; }
.cl-modal .clbtn:disabled { background: #ccc; cursor: not-allowed; }
