/* Nine Lives — GTD whitelist page styles. Layers on top of styles.css. */

.hero-wl { text-align: center; }

/* live counter */
.wl-counter { margin-top: 18px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.wl-counter #wlCount { font-family: var(--pixel); font-size: 22px; color: var(--primary); }
.wl-counter-lbl { color: var(--muted); font-size: 18px; }
.wl-bar {
  width: min(420px, 90%); height: 16px; margin-top: 8px;
  background: var(--bg2); border: 3px solid var(--line); border-radius: 0;
}
.wl-bar-fill {
  height: 100%; width: 0%;
  background: repeating-linear-gradient(45deg, var(--primary) 0 8px, var(--primary-d) 8px 16px);
  transition: width .4s ease;
}

/* tasks */
.task {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 0; border-top: 2px dashed var(--line);
}
.task:first-of-type { border-top: none; }
.task-num {
  flex: 0 0 auto; width: 40px; height: 40px; display: grid; place-items: center;
  font-family: var(--pixel); font-size: 14px; color: var(--bg);
  background: var(--primary); border: 3px solid var(--bg);
  box-shadow: 0 0 0 3px var(--line);
}
.task-body { flex: 1; min-width: 0; }
.task-body h3 { font-size: 13px; color: var(--txt); margin-bottom: 6px; }
.task-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 10px; }

.chk {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--body); font-size: 19px; color: var(--txt); cursor: pointer;
  user-select: none;
}
.chk input { width: 20px; height: 20px; accent-color: var(--feed); cursor: pointer; }

/* locked state — dims + blocks interaction until prior task done */
.task.locked { opacity: .38; pointer-events: none; filter: grayscale(.6); }
.task.locked .task-num { background: var(--muted); }

/* submission fields */
.field { display: block; margin-top: 14px; }
.field-lbl {
  display: block; font-family: var(--pixel); font-size: 10px; color: var(--muted);
  margin-bottom: 8px; letter-spacing: .5px;
}
#submitBtn { margin-top: 18px; }

/* rules */
.wl-rules { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.wl-rules li { padding-left: 22px; position: relative; color: var(--txt); }
.wl-rules li::before { content: '▸'; position: absolute; left: 0; color: var(--primary); }
.wl-rules em { color: var(--primary); font-style: normal; }
