/* levels screen (source/build_levels.py) */
.lv-badge {
  width: 56px; height: 56px; flex: none; border-radius: 28px; background: var(--honey); border: 2px solid var(--ink); box-shadow: var(--edge);
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1;
}
.lv-names { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-bar { height: 10px; border-radius: 5px; background: #FFFFFF; border: 1.5px solid var(--ink); overflow: hidden; }
.lv-bar > div { height: 100%; background: var(--coral); }

/* how we earn */
.lv-earn { display: flex; align-items: center; gap: 8px; min-height: 25px; padding: 1px 0; border-bottom: 1.5px dashed var(--dots); }
.lv-earn-ic { width: 22px; flex: none; display: flex; justify-content: center; }
.lv-earn-tx { flex: 1; min-width: 0; font-size: 12px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.2; }
.lv-earn-tx small { display: block; font-size: 11px; font-weight: 700; color: var(--muted); } /* "1 a day" under its name */
.lv-earn-c { width: 40px; flex: none; display: flex; align-items: center; justify-content: flex-end; gap: 2px; font-size: 12px; font-weight: 800; }
.lv-earn-xp { width: 50px; flex: none; text-align: right; white-space: nowrap; font-size: 12px; font-weight: 800; color: var(--muted); }

/* the ten unlocks, two columns of five */
/* fifteen levels, two by two in order, five rows in sight; the rest scroll (owner, 10 Oct 2026) */
.lv-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 48px; gap: 8px 10px; padding: 3px 3px 6px; margin: -3px -3px 0; }
.lv-card { position: relative; display: flex; align-items: center; gap: 8px; min-height: 0; padding: 0 10px; border-radius: 12px; border: 2px solid var(--ink); background: #FFFFFF; box-shadow: 0 2px 0 var(--ink); }
.lv-card.now { background: var(--honey-soft); box-shadow: 0 3px 0 var(--ink), 0 0 0 3px var(--honey); }
.lv-card.lock { background: #F1ECE3; opacity: 0.75; }
.lv-n { width: 30px; height: 30px; flex: none; border-radius: 15px; background: var(--card); border: 2px solid var(--ink); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; }
.lv-title { display: block; font-size: 13px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-sub { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 11px; font-weight: 700; color: var(--muted); line-height: 1.15; }
.lv-done { width: 22px; height: 22px; flex: none; border-radius: 11px; background: var(--sage); border: 2px solid var(--ink); display: flex; align-items: center; justify-content: center; }
.lv-new { flex: none; padding: 0 7px; border-radius: 9px; background: var(--honey); border: 1.5px solid var(--ink); font-size: 11px; font-weight: 800; }
.lv-lock { width: 22px; height: 22px; flex: none; display: flex; align-items: center; justify-content: center; color: var(--label); }
