/* Quick action "Today" badge */
.quick-action { position: relative; }
.qa-badge {
  position: absolute;
  top: 8px; right: 8px;
  background: var(--gold);
  color: var(--burgundy-dk);
  font-family: var(--font-ui);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 999px;
  line-height: 1.4;
}

/* Learning journey — skill-based progression */
.journey-ladder {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 8px 0 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 4px 18px;
  box-shadow: var(--s-shadow-1);
}
.journey-step {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 0;
  text-align: left;
  position: relative;
  width: 100%;
  border-bottom: 1px solid var(--line);
  transition: opacity .15s ease;
}
.journey-step:last-child { border-bottom: 0; }
.journey-step:hover .js-label { color: var(--burgundy); }
.journey-step.active .js-icon { background: var(--burgundy); color: var(--gold); border-color: var(--burgundy); }
.journey-step.active .js-label { color: var(--burgundy); font-weight: 700; }
.journey-step.done .js-icon { background: var(--green); color: #fff; border-color: var(--green); }
.js-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-warm);
  border: 1.5px solid var(--line);
  color: var(--ink-2);
  display: grid; place-items: center;
  flex-shrink: 0;
  position: relative; z-index: 1;
  transition: all .15s ease;
}
.js-body { flex: 1; min-width: 0; }
.js-label { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.js-sub { font-family: var(--font-serif); font-style: italic; font-size: 12.5px; color: var(--ink-3); line-height: 1.2; margin-top: 1px; }
.js-bar {
  margin-top: 8px;
  height: 4px;
  background: var(--bg-warm);
  border-radius: 2px;
  overflow: hidden;
}
.js-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dk), var(--burgundy));
  transition: width .35s ease;
}
.js-pct {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-3);
  letter-spacing: .04em;
  flex-shrink: 0;
  min-width: 36px;
  text-align: right;
}
.js-connector {
  position: absolute;
  left: 19px;
  top: 54px;
  bottom: -1px;
  width: 2px;
  background: var(--line);
  z-index: 0;
}
.journey-step.done .js-connector { background: var(--green); }

/* Discover grid on Today screen */
.discover-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.discover-tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px 14px;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: all .15s ease;
  min-height: 96px;
}
.discover-tile:hover { border-color: var(--burgundy); transform: translateY(-1px); box-shadow: var(--s-shadow-2); }
.discover-tile::after {
  content: ''; position: absolute; top: -20px; right: -20px;
  width: 80px; height: 80px; border-radius: 50%;
  background: radial-gradient(circle, var(--gold-lt), transparent 70%);
  opacity: .6; pointer-events: none;
}
.dt-cop { font-family: var(--font-coptic); font-size: 22px; color: var(--burgundy); line-height: 1; position: relative; }
.dt-name { font-family: var(--font-display); font-size: 17px; font-weight: 600; margin-top: 8px; position: relative; }
.dt-sub { font-family: var(--font-serif); font-size: 12px; color: var(--ink-3); font-style: italic; position: relative; }

.cal-banner {
  display: flex; gap: 16px; align-items: center;
  background: linear-gradient(135deg, var(--burgundy-dk), var(--navy-dk));
  color: var(--gold-lt);
  padding: 18px 20px;
  border-radius: var(--r-xl);
  margin: 8px 0 0;
  box-shadow: var(--s-shadow-2);
}
.cal-banner-cop { font-family: var(--font-coptic); font-size: 56px; color: var(--gold); line-height: 1; }
.cal-banner-eyebrow { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.cal-banner-year { font-family: var(--font-display); font-size: 30px; font-weight: 600; color: #fff; line-height: 1; margin-top: 4px; }
.cal-banner-sub { font-family: var(--font-serif); font-style: italic; font-size: 13px; opacity: .8; margin-top: 2px; }

.months-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.month-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 12px 14px; position: relative;
}
.month-card.active { border-color: var(--gold); background: linear-gradient(135deg, #fff, var(--gold-lt)); box-shadow: var(--s-shadow-2); }
.month-num { position: absolute; top: 10px; right: 12px; font-family: var(--font-display); font-size: 13px; color: var(--ink-3); font-weight: 700; }
.month-cop { font-family: var(--font-coptic); font-size: 26px; color: var(--burgundy); line-height: 1; }
.month-name { font-family: var(--font-display); font-size: 17px; font-weight: 600; margin-top: 2px; }
.month-start { font-size: 11px; color: var(--ink-3); letter-spacing: .04em; }
.month-feast { font-family: var(--font-serif); font-size: 12px; color: var(--ink-2); font-style: italic; margin-top: 6px; line-height: 1.3; }

.seasons-list { display: flex; flex-direction: column; gap: 8px; }
.season-row-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 12px 14px 12px 0; overflow: hidden;
}
.season-row-card.active { border-color: var(--gold); }
.season-bar { width: 6px; align-self: stretch; border-radius: 0 4px 4px 0; }
.season-info { flex: 1; }
.season-name { font-family: var(--font-display); font-size: 17px; font-weight: 600; }
.season-tone { font-size: 12px; color: var(--ink-3); margin-top: 1px; }
.season-badge { background: var(--gold); color: var(--burgundy-dk); font-size: 10.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; letter-spacing: .08em; text-transform: uppercase; }

/* Alphabet */
.alpha-hero {
  background: linear-gradient(160deg, #fff, var(--gold-lt));
  border: 1px solid var(--gold);
  border-radius: var(--r-xl);
  padding: 22px 18px 16px; text-align: center;
  margin: 8px 0 18px;
  box-shadow: var(--s-shadow-1);
}
.alpha-hero-row { display: flex; justify-content: center; gap: 12px; font-family: var(--font-coptic); font-size: 44px; color: var(--burgundy); line-height: 1; }
.alpha-hero-row.sm { font-size: 32px; color: var(--burgundy-dk); margin-top: 8px; }
.alpha-hero-cap { font-family: var(--font-serif); font-size: 12.5px; color: var(--ink-3); font-style: italic; margin-top: 12px; }

.alpha-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.alpha-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 14px 8px 10px; text-align: center;
  transition: all .15s ease;
}
.alpha-card:hover { border-color: var(--burgundy); transform: translateY(-1px); box-shadow: var(--s-shadow-1); }
.alpha-letter { font-family: var(--font-coptic); font-size: 36px; color: var(--burgundy); line-height: 1; }
.alpha-name { font-family: var(--font-display); font-size: 14px; font-weight: 600; margin-top: 4px; }
.alpha-sound { font-size: 11px; color: var(--gold-dk); font-family: ui-monospace, monospace; }
.alpha-hint { font-family: var(--font-serif); font-size: 10.5px; color: var(--ink-3); font-style: italic; margin-top: 2px; line-height: 1.2; }

/* Tasbeha */
.tasbeha-hero {
  position: relative; overflow: hidden;
  border-radius: var(--r-2xl);
  padding: 28px 22px 24px;
  margin: 8px 0 18px;
  background: linear-gradient(180deg, #14101A 0%, #2A1B4A 100%);
  color: #fff;
  box-shadow: var(--s-shadow-3);
}
.tasbeha-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(201,169,97,.3), transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(139,46,46,.4), transparent 50%);
}
.tasbeha-hero-content { position: relative; }
.tasbeha-title { font-family: var(--font-display); font-size: 44px; font-weight: 600; line-height: 1; margin-top: 8px; }
.tasbeha-cop { font-family: var(--font-coptic); font-size: 28px; color: var(--gold); line-height: 1; margin-top: 4px; }
.tasbeha-desc { font-family: var(--font-serif); font-size: 14px; color: rgba(255,255,255,.78); font-style: italic; margin-top: 14px; line-height: 1.5; }

.tasbeha-list { display: flex; flex-direction: column; gap: 8px; }
.tasbeha-row {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 14px;
}
.tas-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-lt), var(--gold));
  color: var(--burgundy-dk);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  flex-shrink: 0;
}
.tas-meta { flex: 1; min-width: 0; }
.tas-cop { font-family: var(--font-coptic); font-size: 16px; color: var(--burgundy); }
.tas-name { font-family: var(--font-display); font-size: 16px; font-weight: 600; }
.tas-desc { font-family: var(--font-serif); font-size: 12.5px; color: var(--ink-3); font-style: italic; }
.tas-actions { display: flex; align-items: center; gap: 10px; }
.tas-dur { font-size: 11px; color: var(--ink-3); }
.tas-play {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--burgundy); color: var(--gold);
  display: grid; place-items: center;
}

/* Track Detail */
.track-detail-screen { padding: 0; }
.td-header {
  background: linear-gradient(160deg, var(--rank-color), color-mix(in srgb, var(--rank-color) 60%, black));
  color: #fff;
  padding: 14px 22px 30px;
  position: relative;
}
.td-back { position: absolute; top: 14px; left: 12px; color: rgba(255,255,255,.85) !important; }
.td-glyph {
  width: 64px; height: 64px; border-radius: var(--r-md);
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  display: grid; place-items: center;
  font-family: var(--font-coptic); font-size: 36px; color: var(--gold);
  margin: 28px auto 14px;
}
.td-rank { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); text-align: center; font-weight: 600; }
.td-title { font-family: var(--font-display); font-size: 28px; font-weight: 600; text-align: center; margin-top: 4px; line-height: 1.1; }
.td-desc { font-family: var(--font-serif); font-style: italic; font-size: 13.5px; color: rgba(255,255,255,.8); text-align: center; margin-top: 6px; }
.td-stats { display: flex; justify-content: space-around; margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.15); }
.td-stats > div { text-align: center; font-size: 11px; color: rgba(255,255,255,.7); }
.td-stats b { display: block; font-family: var(--font-display); font-size: 22px; color: #fff; font-weight: 700; }
.td-lessons { padding: 14px 18px 0; display: flex; flex-direction: column; }
.td-lesson {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.td-lesson:last-child { border-bottom: 0; }
.td-circle {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg-warm); color: var(--burgundy);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.td-lesson.done .td-circle { background: var(--green); color: #fff; }
.td-lesson.locked .td-circle { background: var(--line); color: var(--ink-4); }
.td-lesson-meta { flex: 1; min-width: 0; }
.td-lesson-name { font-family: var(--font-display); font-size: 16px; font-weight: 600; }
.td-lesson-sub { font-size: 11px; color: var(--ink-3); }
.td-lesson.locked .td-lesson-name { color: var(--ink-3); }

/* Lectionary */
.lect-strip {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 12px; margin: 8px 0 14px;
}
.lect-nav { width: 32px; height: 32px; border-radius: 50%; background: var(--bg-warm); display: grid; place-items: center; color: var(--ink-2); }
.lect-strip-mid { flex: 1; text-align: center; }
.lect-strip-cop { font-family: var(--font-coptic); font-size: 16px; color: var(--burgundy); line-height: 1; }
.lect-strip-greg { font-size: 12px; color: var(--ink-3); }

.lect-block {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: 16px;
  margin-bottom: 10px;
  box-shadow: var(--s-shadow-1);
}
.lect-block-head { display: flex; align-items: center; gap: 14px; }
.lect-block-cop {
  font-family: var(--font-coptic);
  font-size: 22px; color: var(--burgundy);
  background: var(--gold-lt);
  border: 1px solid var(--gold);
  padding: 4px 12px; border-radius: 8px;
  flex-shrink: 0;
}
.lect-block-head > div:nth-child(2) { flex: 1; min-width: 0; }
.lect-block-type { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.lect-block-ref { font-family: var(--font-display); font-size: 17px; font-weight: 600; }
.lect-block-quote { font-family: var(--font-serif); font-style: italic; font-size: 14px; color: var(--ink-2); margin-top: 10px; padding-left: 12px; border-left: 2px solid var(--gold); line-height: 1.5; }
