/* Extra styles for the streak page, the memory verse practice and the verse cards only. The shared styles
   are in /styles.css; this file adds to them and changes none of them. */

/* Streak: the three numbers. One column on a phone, three across on a wide screen. */
.streak-stats { display: grid; gap: 0.6rem; margin: 0; }
.streak-stats dt { font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.streak-stats dd { margin: 0; }
.streak-stats strong { font-family: var(--serif); font-size: 2rem; line-height: 1.1; margin-right: 0.15em; }
@media (min-width: 34rem) {
  .streak-stats { grid-template-columns: repeat(3, 1fr); }
}

/* Streak: the last 14 days, seven to a row so each day stays readable on a phone. */
.streak-days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.3rem; }
.streak-day { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 4.2rem; padding: 0.3rem 0.1rem; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); text-align: center; line-height: 1.25; }
.streak-weekday { font-size: 0.65rem; color: var(--muted); }
.streak-date { font-size: 1rem; font-weight: 600; }
.streak-mark { font-size: 0.65rem; color: var(--muted); }
.streak-day-on { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.streak-day-on .streak-weekday, .streak-day-on .streak-mark { color: var(--brand-ink); }

/* Memory verse: the blanks sit inside the line of the verse. Tall enough to tap, all one width so the
   size of a box gives nothing away. */
.memory-verse { line-height: 2.9; }
.memory-slot { white-space: nowrap; }
.memory-verse input.memory-blank { display: inline-block; width: 5.4rem; max-width: 100%; min-height: 44px; padding: 0.25rem 0.4rem; margin: 0 0.1rem; font-family: var(--sans); font-size: 1rem; line-height: 1.3; vertical-align: middle; }
.memory-verse input.memory-blank-right { border-color: var(--good); border-width: 2px; }
.memory-verse input.memory-blank-wrong { border-color: var(--bad); border-width: 2px; border-style: dashed; }
/* After checking: the verse again, with each blank marked. */
.memory-right { color: var(--good); font-weight: 600; border-bottom: 2px solid var(--good); }
.memory-wrong { border-bottom: 2px dashed var(--bad); }
.memory-wrong s { color: var(--bad); font-family: var(--sans); font-size: 0.85em; }
.memory-wrong strong { color: var(--ink); }
.memory-verse:not(:has(input)) { line-height: 1.9; }

/* Verse cards. The picture keeps its shape while it loads. */
.card-image { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
input.card-link { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.8rem; color: var(--muted); }
.card-refs { display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); column-gap: 1rem; }
.card-refs > li:last-child { border-bottom: 1px solid var(--line); }
.list a[href^="/card/"] { display: inline-block; padding: 0.35rem 0; font-weight: 600; }

/* The line that appears under a signup form when it answers without leaving the page. */
.signup-status { margin-top: 0.5rem; }
