.sticky-bar { position: sticky; top: 68px; z-index: 10; background: rgba(17, 20, 27, .94); backdrop-filter: blur(10px); box-shadow: var(--shadow-2); }
@media (max-width: 719px) { .sticky-bar { top: 104px; } }
.embed .sticky-bar { top: 0; }

.meter { flex: 1 1 140px; max-width: 220px; height: 8px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.meter i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-hi)); transform-origin: left; transform: scaleX(0); transition: transform .5s var(--spring); }

.cats { display: grid; gap: var(--s5); margin-top: var(--s5); }
.cat-head { display: flex; align-items: baseline; gap: var(--s3); margin-bottom: var(--s3); }
.cat-head h2 { flex: 1; }
.cat-head .num { color: var(--muted); font-weight: 700; }

.groups { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.group { padding: var(--s3); display: grid; gap: var(--s1); align-content: start; }
.group h3 { font-family: var(--font-body); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: var(--s1) var(--s2); display: flex; }
.group h3 span { margin-left: auto; font-variant-numeric: tabular-nums; }

.ch {
  display: grid; grid-template-columns: 22px 1fr auto; gap: var(--s3); align-items: start;
  padding: var(--s2); border-radius: var(--r1); cursor: pointer;
  transition: background-color .15s var(--ease);
}
.ch:hover { background: var(--surface-2); }
.ch:active { background: var(--surface-3); }
.ch:focus-within { background: var(--surface-2); }
.ch input { appearance: none; margin: 3px 0 0; width: 20px; height: 20px; border-radius: 5px; border: 2px solid var(--line-strong); background: var(--bg); display: grid; place-items: center; cursor: pointer; transition: border-color .15s var(--ease); }
.ch input::after { content: ''; width: 10px; height: 6px; border: solid var(--gold-ink); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg) scale(0); transition: transform .3s var(--spring); margin-top: -2px; }
.ch input:checked { background: var(--gold-hi); border-color: var(--gold-hi); }
.ch input:checked::after { transform: rotate(-45deg) scale(1); }
.ch input:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.ch b { display: block; font-weight: 600; line-height: 1.35; }
.ch small { display: block; color: var(--muted); font-size: 14px; line-height: 1.5; }
.ch .lp { font-size: 12px; font-weight: 700; color: var(--gold); padding-top: 3px; }
.ch.done b { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(242, 201, 110, .5); }
.ch details { margin-top: var(--s1); font-size: 14px; color: var(--muted); }
.ch summary { cursor: pointer; color: var(--gold-hi); font-weight: 600; width: fit-content; }
.ch summary:hover { text-decoration: underline; }
.ch ul { margin: var(--s1) 0 0; padding-left: var(--s4); }
.hide-done .ch.done { display: none; }
.empty { color: var(--faint); padding: var(--s2); font-size: 14px; }
