/* Family Faith, redesigned (Oct 30). Loaded after polish.css. */

.ff-coral { color: #b8441b !important; }
#content .ff-week { padding: 28px 30px; display: flex; flex-direction: column; gap: 20px; margin: 6px 0 26px; }
.ff-week-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px; }
.ff-week-text { display: flex; flex-direction: column; gap: 8px; max-width: 720px; }
.ff-week h2 { font: 400 clamp(28px, 3.2vw, 38px)/1.1 'Young Serif', Georgia, serif; margin: 0; }
.ff-week-story p { margin: 0; font-size: 16px; line-height: 1.6; color: #4a4f57; }
.ff-story summary { cursor: pointer; font-weight: 700; color: var(--blue, #0a60a2); font-size: 15px; margin-top: 6px; }
.ff-story p { margin-top: 8px; }

.ff-strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.ff-day { min-height: 104px; text-align: left; border-radius: 18px; padding: 13px 14px; display: flex; flex-direction: column; gap: 6px; font: inherit; cursor: pointer; border: 0; background: #f6eedf; color: #2e3238; }
.ff-day-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #6a5a33; }
.ff-day-num, .ff-day-letter { display: none; }
.ff-day-title { font-size: 14.5px; font-weight: 500; line-height: 1.3; }
.ff-day.later { background: transparent; border: 1.5px dashed #ded3c0; color: #4a4f57; }
.ff-day.later .ff-day-top { color: #6a6f77; }
.ff-day.past { background: #fbf7f0; border: 1.5px solid #eee6d8; }
.ff-day.on { background: #0f3554; color: #fff; }
.ff-day.on .ff-day-top { color: #ebc35f; }
.ff-day.on .ff-day-title { font-weight: 700; }
.ff-check { width: 22px; height: 22px; border-radius: 50%; background: #ebc35f; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.ff-check svg { width: 12px; height: 12px; fill: none; stroke: #0f3554; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ff-check.big { width: 34px; height: 34px; }
.ff-check.big svg { width: 16px; height: 16px; }

.ff-layout { display: flex; flex-wrap: wrap; gap: 26px; align-items: flex-start; }
.ff-main { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 30px; }
.ff-side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }

/* Today's two minutes, in the time-of-day scene */
#content .ff-moment { min-height: 520px; padding: 28px; gap: 20px; justify-content: flex-start; border: 0; z-index: 0; }
.ff-moment-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.ff-moment-head .eyebrow { color: #0f3554; font-weight: 700; }
.scene-night .ff-moment-head .eyebrow { color: #ebc35f; }
.ff-steps { display: flex; gap: 4px; background: rgba(255,255,255,.75); padding: 5px; border-radius: 999px; }
.ff-steps button { border: 0; border-radius: 999px; background: transparent; color: #0f3554; font: 700 15px 'DM Sans', sans-serif; padding: 8px 16px; min-height: 44px; display: flex; align-items: center; gap: 8px; cursor: pointer; }
.ff-steps button b { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 1.5px solid #9fb3c6; box-sizing: border-box; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
.ff-steps button.done b { background: #ebc35f; border-color: #ebc35f; }
.ff-steps button.on { background: #0f3554; color: #fff; }
.ff-steps button.on b { background: #ebc35f; border-color: #ebc35f; color: #0f3554; }
#content .ff-bubble { max-width: 780px; width: 100%; box-sizing: border-box; padding: 26px 30px; gap: 12px; border-radius: 24px; }
.ff-bubble .btw-bubble-label { font-size: 14px; }
.ff-title { font: 400 30px/1.15 'Young Serif', Georgia, serif; margin: 0; }
.ff-reading { font: 400 21px/1.65 'Young Serif', Georgia, serif; margin: 0; color: #2e3238; }
.ff-reading sup { font: 600 12px 'DM Sans', sans-serif; color: #6a6f77; margin: 0 3px 0 6px; }
.ff-reading sup:first-child { margin-left: 0; }
.ff-thought { font: 400 26px/1.45 'Young Serif', Georgia, serif; margin: 0; color: #2e3238; }
.ff-qs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ff-q { display: flex; gap: 14px; align-items: flex-start; background: #fbf7f0; border-radius: 18px; padding: 14px 16px; }
.ff-q-faces { display: flex; flex: none; }
.ff-q-faces .avatar { width: 38px; height: 38px; font-size: 15px; }
.ff-q-faces .avatar + .avatar { margin-left: -12px; box-shadow: 0 0 0 2px #fbf7f0; }
.ff-q-text { display: flex; flex-direction: column; gap: 3px; }
.ff-q-who { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: #5b6068; }
.ff-q-ask { font: 400 20px/1.45 'Young Serif', Georgia, serif; color: #2e3238; }
.ff-qs-plain .ff-q { padding: 16px 18px; }

.ff-bless-steps { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 1.5; }
.ff-blessing { background: #0f3554; color: #fff; border-radius: 20px; padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.ff-blessing .eyebrow { color: #ebc35f; }
.ff-blessing p { margin: 0; font: 400 22px/1.5 'Young Serif', Georgia, serif; }
.ff-kids { display: flex; flex-wrap: wrap; gap: 8px; }
.ff-kids span { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12); border-radius: 999px; padding: 4px 14px 4px 4px; font-weight: 700; font-size: 14px; }
.ff-kids .avatar { width: 30px; height: 30px; font-size: 13px; }

.ff-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; }
.ff-gold, .ff-navy, .ff-light, .ff-outline { border-radius: 999px; font: 700 16px 'DM Sans', sans-serif; padding: 0 24px; min-height: 50px; cursor: pointer; border: 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.ff-gold { background: #ebc35f !important; color: #0f3554 !important; }
.ff-navy { background: #0f3554 !important; color: #fff !important; }
.scene-night .ff-navy { background: #fff !important; color: #0f3554 !important; }
.ff-light { background: #fff !important; color: #0f3554 !important; border: 1.5px solid #d6dde4 !important; }
.ff-outline { background: #fff; color: #8a2e0e; border: 1.5px solid #c2471c; min-height: 46px; font-size: 15px; align-self: flex-start; }
.ff-outline.chosen { background: #c2471c; color: #fff; }
.ff-gold:disabled { opacity: .5; cursor: default; }
.ff-done-pill { display: inline-flex; align-items: center; gap: 8px; background: #ebc35f; color: #0f3554; border-radius: 999px; padding: 0 20px; min-height: 50px; font-weight: 700; font-size: 16px; }
.ff-done-pill svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; }

/* What we said this week */
.ff-said { display: flex; flex-direction: column; gap: 16px; }
.ff-said-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 10px; }
.ff-said h2 { font: 400 30px 'Young Serif', Georgia, serif; margin: 0 0 4px; }
.ff-said-head p { margin: 0; font-size: 15px; color: #4a4f57; }
.ff-quotes { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.ff-quote { text-align: left; border: 0; cursor: pointer; background: #f3e2bc; color: #3b2e0e; border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 14px; min-height: 190px; font: inherit; }
.ff-quote-day { font-size: 13px; color: #5c4a1e; }
.ff-quote-text { font: 400 21px/1.35 'Young Serif', Georgia, serif; }
.ff-quote-who { margin-top: auto; font-size: 14px; font-weight: 700; }
.ff-said-empty { grid-column: 1 / -1; margin: 0; border: 1.5px dashed #d8c9a8; border-radius: 22px; padding: 22px; font-size: 15px; line-height: 1.6; color: #4a4f57; background: #fbf4e4; }

/* Side cards */
#content .ff-verse { background: #0f3554; color: #fff; border: 0; display: flex; flex-direction: column; gap: 14px; padding: 26px; }
.ff-verse .eyebrow { color: #ebc35f !important; }
.ff-verse > p { margin: 0; font: 400 22px/1.45 'Young Serif', Georgia, serif; color: #fff !important; }
.ff-verse-meta { font-size: 14px; color: #c9d6e3; }
.ff-verse-meta b { color: #fff; }
.ff-verse .ff-gold { align-self: flex-start; min-height: 46px; font-size: 15px; }
#content .ff-challenge { background: #fbe6dc; border: 0; display: flex; flex-direction: column; gap: 12px; padding: 26px; }
.ff-challenge .eyebrow { color: #8a2e0e; }
.ff-challenge h3 { font: 400 26px 'Young Serif', Georgia, serif; margin: 0; }
.ff-challenge p { margin: 0; font-size: 15px; line-height: 1.6; color: #4a3a33; }
#content .ff-hearts { display: flex; flex-direction: column; gap: 12px; padding: 24px; }
.ff-hearts .sectionhead { display: flex; justify-content: space-between; align-items: center; margin: 0; }
.ff-hearts h3 { font: 400 24px 'Young Serif', Georgia, serif; margin: 0; }
.ff-prayer { display: flex; gap: 12px; align-items: flex-start; border-top: 1px solid #eee6d8; padding-top: 12px; }
.ff-prayer > div { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.ff-prayer b { font-weight: 500; font-size: 15px; }
.ff-prayer span:not(.avatar):not(.ff-all):not(.ff-check):not(.ff-tag) { font-size: 13px; color: #5b6068; }
.ff-prayer .avatar, .ff-all { width: 34px; height: 34px; flex: none; font-size: 13px; }
.ff-all { border-radius: 50%; background: #e3e8ee; color: #0f3554; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.ff-mini { border: 1px solid #d6dde4; background: #fff; color: #0f3554; border-radius: 999px; font: 700 12px 'DM Sans', sans-serif; padding: 0 10px; min-height: 32px; cursor: pointer; flex: none; }
.ff-answered { background: #fbf1d9; border-radius: 16px; border: 0; padding: 12px; }
.ff-tag { font-size: 11px; font-weight: 700; letter-spacing: .12em; color: #6e520a; }
.ff-answered .textbtn { align-self: flex-start; padding: 0; min-height: 32px; }
#content .ff-days { display: flex; flex-direction: column; gap: 12px; padding: 24px; }
.ff-days .eyebrow { color: #1c6b67; }
.ff-dots { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.ff-dots span { aspect-ratio: 1; border-radius: 8px; background: #efe8db; }
.ff-dots span.on { background: #299492; }
.ff-days p { margin: 0; font-size: 15px; }

/* Dialogs */
.ff-dialog { border: 0; padding: 0; border-radius: 28px; width: min(480px, calc(100vw - 24px)); max-height: calc(100vh - 24px); overflow: auto; background: #fff; color: #2e3238; }
.ff-dialog::backdrop { background: rgba(15,53,84,.55); }
.ff-dialog .close { position: absolute; right: 16px; top: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: inherit; font-size: 22px; cursor: pointer; }
.ff-keep-top { position: relative; background: #0f3554; color: #fff; padding: 30px 26px 24px; display: flex; flex-direction: column; gap: 10px; }
.ff-keep-top .eyebrow, .ff-blessing .eyebrow { color: #ebc35f !important; }
.ff-keep-top h2 { margin: 0; font: 400 30px/1.15 'Young Serif', Georgia, serif; color: #fff; }
.ff-keep-week { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ff-keep-week span { width: 28px; height: 28px; border-radius: 50%; border: 1.5px dashed #6f8fad; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; color: #c9d6e3; }
.ff-keep-week span.on { background: #ebc35f; border: 0; color: #0f3554; font-weight: 700; }
.ff-keep-week small { color: #c9d6e3; font-size: 13px; margin-left: 4px; }
.ff-keep-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 14px; }
.ff-keep-body h3 { margin: 0; font: 400 21px/1.3 'Young Serif', Georgia, serif; }
.ff-who { display: flex; flex-wrap: wrap; gap: 8px; }
.ff-who button { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid #e5ddcf; background: #fff; border-radius: 999px; padding: 4px 12px 4px 4px; font: 700 14px 'DM Sans', sans-serif; cursor: pointer; min-height: 44px; color: #2e3238; }
.ff-who button.on { border-color: #0f3554; box-shadow: 0 0 0 2px #0f3554 inset; }
.ff-who .avatar { width: 32px; height: 32px; font-size: 13px; }
.ff-keep-body label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: #5b6068; }
.ff-keep-body textarea { font: 400 19px/1.4 'Young Serif', Georgia, serif; color: #3b2e0e; background: #f3e2bc; border: 0; border-radius: 16px; padding: 14px; resize: vertical; margin: 0; }
.ff-keep-body .local-note { margin: 0; }
.ff-keep-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ff-keep-actions .primary { min-height: 50px; padding: 0 22px; border-radius: 999px; }
.ff-verse-dialog { background: #fff; color: #2e3238; }
.ff-verse-body { padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.ff-verse-top { display: flex; justify-content: space-between; align-items: center; }
.ff-verse-top .eyebrow { color: #1c6b67 !important; }
.ff-verse-top .close { position: static; }
.ff-verse-words { margin: 0; font: 400 26px/1.8 'Young Serif', Georgia, serif; }
.ff-verse-words .gone { color: transparent; border-bottom: 3px solid #e0a92e; }
.ff-verse-status { margin: 0; color: #5b6068; font-size: 15px; }
.ff-verse-said { border-top: 1px solid #eee6d8; padding-top: 16px; }

/* Phones */
@media (max-width: 760px) {
  #content .ff-week { padding: 20px 16px; gap: 16px; }
  .ff-strip { gap: 4px; }
  .ff-day { min-height: 0; padding: 6px 0; background: transparent !important; border: 0 !important; align-items: center; gap: 4px; }
  .ff-day-top { display: none; }
  .ff-day-letter { display: block; font-size: 11px; font-weight: 700; color: #5b6068; }
  .ff-day-title { display: none; }
  .ff-day-num { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; border: 1.5px dashed #d3c7b2; box-sizing: border-box; color: #4a4f57; }
  .ff-day.done .ff-day-num, .ff-day.past .ff-day-num { border: 0; background: #f6eedf; }
  .ff-day.done .ff-day-num { background: #ebc35f; color: #0f3554; }
  .ff-day.on .ff-day-num { border: 0; background: #0f3554; color: #fff; }
  #content .ff-moment { min-height: 0; padding: 18px; border-radius: 26px; }
  .ff-steps button { padding: 6px 12px; font-size: 14px; }
  #content .ff-bubble { padding: 18px; }
  .ff-title { font-size: 25px; }
  .ff-reading { font-size: 18px; }
  .ff-thought { font-size: 21px; }
  .ff-q-ask { font-size: 17px; }
  .ff-actions > * { flex: 1 1 100%; }
  .ff-quote-text { font-size: 19px; }
}
.ff-keep-top .close { background: rgba(255,255,255,.18) !important; color: #fff !important; }

/* The family challenge sits wide in the main column, between today and what we said. */
#content .ff-challenge.ff-wide { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; }
.ff-challenge-text { flex: 1 1 360px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ff-challenge.ff-wide .ff-outline { align-self: center; flex: none; }
@media (max-width: 760px) { .ff-challenge.ff-wide .ff-outline { flex: 1 1 100%; } }
@media (max-width: 760px) { .ff-dots { max-width: 260px; gap: 5px; } }
