/* Product fragments from the current mobile interface. */
.feature-visual:has(> .as-art) {
  min-inline-size: 0;
  padding: clamp(24px, 4vw, 58px);
  overflow: visible;
}
.as-art {
  --as-ink: #232422;
  --as-muted: #717171;
  --as-line: rgb(0 0 0 / 10%);
  --as-page: #f4f5f6;
  --as-red: #ff383c;
  --as-pad: clamp(18px, 6.5cqi, 27px);
  container-type: inline-size;
  width: min(100%, 390px);
  min-width: 0;
  color: var(--as-ink);
  font-family: 'Instrument Sans', sans-serif;
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: -.015em;
  text-align: left;
}
.as-art p { font-family: inherit; color: inherit; }
.as-art svg { display: block; width: 20px; height: 20px; flex: none; }
.as-art b, .as-art strong { font-weight: 600; }
.as-art small, .as-muted { display: block; color: var(--as-muted); font-size: 12px; line-height: 1.45; }
.as-art .as-title { display: block; font-size: clamp(25px, 8cqi, 33px); line-height: 1.09; letter-spacing: -.055em; font-weight: 600; }
.as-panel, .as-reader { background: #fff; border: 1px solid var(--as-line); border-radius: 20px; }
.as-kicker { display: block; font-size: 10px; font-weight: 600; line-height: 1.45; letter-spacing: .1em; text-transform: uppercase; }
.as-round-icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 1px solid var(--as-line); border-radius: 50%; }
.as-day, .as-mini-day, .as-age { display: inline-flex; align-items: center; white-space: nowrap; border-radius: 20px; }
.as-day { padding: 4px 8px; color: #fff; background: var(--as-red); font-size: 9px; font-weight: 600; letter-spacing: .035em; text-transform: uppercase; }
.as-meta { display: flex; align-items: center; gap: 7px; color: var(--as-muted); font-size: 12px; margin-bottom: 13px; }
.as-meta span + span::before { content: '·'; margin-right: 7px; }
.as-segment { display: flex; padding: 4px; background: #e9eaeb; border-radius: 24px; }
.as-segment span { flex: 1; padding: 8px 6px; border-radius: 20px; text-align: center; color: var(--as-muted); font-size: 12px; }
.as-segment .is-selected { background: #fff; color: var(--as-ink); font-weight: 600; }

/* Connected church → the ready-to-read Sunday message. */
.as-connection { width: 88%; display: flex; align-items: center; gap: 13px; margin: auto; padding: 15px 18px; }
.as-connection .as-round-icon { background: var(--as-page); border: 0; }
.as-connection > div { min-width: 0; }
.as-connection strong { display: block; font-size: clamp(14px, 4.5cqi, 18px); }
.as-verified { margin-left: auto; border-radius: 50%; background: var(--as-ink); padding: 4px; color: #fff; }
.as-verified svg { width: 13px; height: 13px; }
.as-sync-path { display: grid; place-items: center; position: relative; height: 53px; }
.as-sync-path::before { content: ''; width: 1px; position: absolute; inset-block: 0; background: #c5c7c7; }
.as-sync-path svg { position: relative; width: 22px; height: 22px; padding: 3px; background: var(--as-page); }
.as-leaf { background: #171a18 url('/assets/feature-art/sermon-leaf.webp') center / cover no-repeat; color: #fff; }
.as-sermon-tile { border-radius: 20px; padding: var(--as-pad); }
.as-day-dots, .as-page-dots { display: flex; align-items: center; gap: 5px; }
.as-day-dots { margin-bottom: 26px; }
.as-day-dots i { width: 4px; height: 7px; border-radius: 5px; background: #787a78; }
.as-day-dots i.is-set { background: #fff; }
.as-sermon-tile .as-kicker { color: #e4e5e5; }
.as-sermon-tile strong { display: block; max-width: 17ch; margin: 9px 0 23px; font-size: clamp(22px, 7cqi, 30px); line-height: 1.1; letter-spacing: -.04em; }
.as-ready { display: flex; gap: 8px; align-items: center; padding: 12px; background: #303130; border: 1px solid rgb(255 255 255 / 11%); border-radius: 16px; font-size: clamp(11px, 3.4cqi, 14px); }
.as-ready svg { width: 14px; margin-left: auto; }

/* Sermon notes and a single reflection shown at reading size. */
.as-message { margin-top: 22px; padding: var(--as-pad); }
.as-small-accent { color: var(--as-ink); }
.as-small-accent::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 6px; border-radius: 50%; background: var(--as-red); vertical-align: 1px; }
.as-message p { margin: 13px 0 22px; font-size: clamp(15px, 4.7cqi, 19px); line-height: 1.42; }
.as-point { display: flex; align-items: baseline; gap: 12px; padding-top: 18px; border-top: 1px solid var(--as-line); }
.as-point > span { font-size: 15px; color: var(--as-muted); }
.as-point b { font-size: 14px; }
.as-point small { margin-top: 4px; }
.as-reader { padding: var(--as-pad); }
.as-reader-heading { display: flex; gap: 8px; align-items: center; }
.as-reader-heading > span:last-child { font-size: clamp(10px, 3.2cqi, 13px); line-height: 1.3; }
.as-reader-body { position: relative; padding: 43px 5px 32px 17px; text-align: center; }
.as-reader-body > svg { margin: 0 auto 20px; color: #969998; width: 24px; height: 24px; }
.as-reader-body p { font-size: clamp(17px, 5.4cqi, 22px); line-height: 1.45; letter-spacing: -.035em; }
.as-progress-rail { position: absolute; left: -9px; top: 50%; transform: translateY(-50%); display: grid; gap: 4px; }
.as-progress-rail i { display: block; width: 3px; height: 12px; background: #dedfe0; border-radius: 5px; }
.as-progress-rail .is-set { background: var(--as-ink); }
.as-weekdays { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; border-top: 1px solid var(--as-line); padding-top: 15px; }
.as-weekdays span { padding: 6px 0; font-size: 10px; color: var(--as-muted); text-align: center; }
.as-weekdays .is-current { border-radius: 30px; background: var(--as-ink); color: #fff; }

/* Narration with a progress waveform. */
.as-player { padding: var(--as-pad); }
.as-player-meta { display: flex; gap: 9px; align-items: center; font-size: 12px; }
.as-player-meta > svg { width: 18px; }
.as-mini-day { margin-left: auto; padding: 4px 9px; background: var(--as-page); color: var(--as-muted); font-size: 10px; }
.as-player .as-title { max-width: 15ch; margin: 27px 0 23px; }
.as-wave { display: flex; gap: 3px; height: 80px; align-items: center; }
.as-wave i { background: #d9dbda; height: var(--signal); flex: 1; min-width: 1px; border-radius: 5px; }
.as-wave i:nth-child(-n+13) { background: var(--as-ink); }
.as-wave i:nth-child(14) { background: var(--as-red); }
.as-playback { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; margin-top: 17px; border-top: 1px solid var(--as-line); }
.as-playback > span:not(.as-play) { font-size: 11px; color: var(--as-muted); font-variant-numeric: tabular-nums; }
.as-play { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--as-ink); color: #fff; }
.as-play svg { width: 17px; fill: currentColor; }

/* One Family Mode discussion card and its age setting. */
.as-family-card { padding: var(--as-pad); border-radius: 20px; border: 1px solid var(--as-line); }
.as-family-card .as-kicker { color: #f4f5f6; }
.as-family-card p { max-width: 18ch; margin: 58px 0 46px; font-size: clamp(23px, 7.8cqi, 32px); line-height: 1.13; letter-spacing: -.045em; }
.as-family-status { width: fit-content; margin: 0 0 0 auto; border: 1px solid rgb(255 255 255 / 20%); background: #232422; border-radius: 20px; padding: 6px 10px; display: flex; align-items: center; gap: 5px; font-size: 10px; }
.as-family-status svg { width: 13px; height: 13px; }
.as-family-nav { display: flex; align-items: center; justify-content: space-between; padding: 13px 5px 0; }
.as-age { color: var(--as-muted); border: 1px solid var(--as-line); padding: 5px 10px; font-size: 10px; background: #fff; }
.as-page-dots i { display: block; width: 4px; height: 4px; border-radius: 9px; background: #b3b6b4; }
.as-page-dots i:first-child { width: 15px; background: var(--as-red); }

/* Notes and book mentions. */
.as-search { display: flex; align-items: center; gap: 8px; margin: 15px 0; border: 1px solid var(--as-line); border-radius: 25px; padding: 10px 13px; background: #fff; color: var(--as-muted); font-size: 12px; }
.as-search svg { width: 16px; height: 16px; }
.as-folders { display: grid; grid-template-columns: 1.3fr 1fr; gap: 7px; }
.as-folders > span { display: flex; align-items: center; gap: 7px; border: 1px solid var(--as-line); border-radius: 16px; background: #fff; padding: 12px 10px; font-size: 12px; }
.as-folders svg { width: 15px; height: 15px; }
.as-subheading { display: block; margin: 24px 0 10px; font-size: 15px; font-weight: 600; letter-spacing: -.03em; }
.as-personal-note { padding: var(--as-pad); }
.as-personal-note p { font-size: clamp(17px, 5.5cqi, 22px); line-height: 1.39; letter-spacing: -.035em; }
.as-personal-note small { margin-top: 17px; font-size: 10px; color: var(--as-muted); }
.as-art-mentions .as-muted { margin-top: 8px; }
.as-books { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 5.5cqi, 22px); margin-top: 20px; }
.as-books img { width: 100%; height: auto; aspect-ratio: 2/3; object-fit: contain; border-radius: 5px; border: 1px solid var(--as-line); }
.as-books b { display: block; margin: 11px 0 2px; font-size: clamp(13px, 4.4cqi, 17px); line-height: 1.25; letter-spacing: -.035em; }
.as-books small { font-size: 12px; }

/* Bible books, archive, and theme studies. */
.as-bible-total { margin-top: 22px; font-size: 22px; color: var(--as-muted); }
.as-bible-total strong { color: var(--as-ink); font-size: clamp(38px, 13cqi, 52px); line-height: 1; letter-spacing: -.07em; font-weight: 500; }
.as-chart { margin: 22px 0; display: flex; gap: 4px; height: 75px; align-items: end; }
.as-chart i { flex: 1; height: var(--count); background: #c9cccb; border-radius: 3px; }
.as-chart .as-current-book { background: var(--as-red); }
.as-passage { border-top: 1px solid var(--as-line); padding-top: 18px; }
.as-passage .as-kicker { color: var(--as-muted); font-size: 9px; }
.as-passage .as-title { margin: 7px 0 4px; }
.as-passages, .as-filters { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.as-passages { margin-top: 13px; }
.as-passages span, .as-filters span { display: flex; align-items: center; gap: 5px; white-space: nowrap; border: 1px solid var(--as-line); border-radius: 22px; padding: 5px 9px; background: #fff; font-size: 11px; }
.as-filters { margin-top: 17px; }
.as-filters svg { width: 12px; height: 12px; }
.as-archive-item { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--as-line); }
.as-archive-item small { font-size: 12px; font-weight: 600; }
.as-archive-meta { display: flex; justify-content: space-between; gap: 10px; margin: 12px 0 5px; color: var(--as-muted); font-size: 11px; }
.as-archive-item b { display: block; font-size: clamp(16px, 5.3cqi, 21px); line-height: 1.28; letter-spacing: -.04em; }
.as-notes-ready { display: flex; align-items: center; gap: 4px; margin-top: 7px; color: var(--as-muted); font-size: 11px; }
.as-notes-ready svg { width: 12px; height: 12px; }
.as-art-journey .as-title { margin: 22px 0 14px; }
.as-theme-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.as-theme-grid .as-panel { min-width: 0; overflow: hidden; }
.as-theme-grid img { display: block; width: 100%; height: auto; }
.as-theme-caption { padding: 10px 14px 13px; }
.as-theme-grid b, .as-study b { font-size: 16px; }
.as-theme-grid small, .as-study small { margin-top: 2px; font-size: 11px; }
.as-study { margin-top: 21px; padding-top: 17px; border-top: 1px solid var(--as-line); }
.as-week-track { display: flex; justify-content: space-between; gap: 3px; margin-top: 13px; }
.as-week-track span { width: clamp(20px, 7.8cqi, 31px); aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--as-line); border-radius: 50%; color: var(--as-muted); background: #fff; font-size: 10px; }
.as-week-track span:first-child { background: var(--as-ink); color: #fff; }

/* Local PIN entry, drawn at the scale of the other feature fragments. */
.as-lock { max-width: 312px; margin: auto; padding: var(--as-pad); text-align: center; }
.as-lock > .as-round-icon { margin: 0 auto 14px; background: var(--as-page); border: 0; }
.as-lock .as-title { font-size: clamp(23px, 7.2cqi, 29px); }
.as-pin { display: flex; justify-content: center; gap: 9px; margin-top: 15px; }
.as-pin i { width: 9px; height: 9px; background: var(--as-ink); border: 1px solid var(--as-ink); border-radius: 50%; }
.as-pin i:last-child { background: #fff; border-color: #a4a7a5; }
.as-keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 22px; }
.as-keypad span { display: grid; place-items: center; padding-block: 5px; background: var(--as-page); border-radius: 13px; font-size: 17px; }
.as-keypad span:empty, .as-keypad span:last-child { background: transparent; }
.as-keypad svg { width: 17px; height: 17px; }

@media (max-width: 860px) and (min-width: 681px) {
  .feature-visual:has(> .as-art) { padding-inline: 20px; }
}
@media (max-width: 680px) {
  .feature-visual:has(> .as-art) { min-height: 0; max-height: none; padding: 30px clamp(18px, 6vw, 34px) 36px; }
  .as-art { max-width: 350px; }
}
