/* 홈 › FOCUS as a shelf of albums (owner 2026-11-29; board docs/boards/focus-books-v2.png, built to the owner's references:
   the "FAVORITE BOOKS" shelf, the flat stack, the "WEEKEND" binder, an A24 shelf where every spine has its own type).
   Spines of real thickness pressed together, sharp corners, the pencil palette, light that rolls across each spine; one
   book face-out as an object with its page block; 말씀 앨범 a flat stack seen spine-on. Opens as a ring binder (focus.js). */
.fb { --shelf-h: 310px; --cover-w: 204px; --page-w: 12px; --ink: #0B2447; --paper: #FBF8F2; --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  text-align: center; }
.fb .fb-head { display: grid; justify-items: center; gap: 12px; }
.fb .fb-kicker { display: flex; align-items: center; gap: 14px; margin: 0; font: 500 13px/1 var(--sans); letter-spacing: .16em; color: #6B7385; }
.fb .fb-kicker::before, .fb .fb-kicker::after { content: ""; width: 52px; height: 1px; background: currentColor; opacity: .4; }
.fb .fb-head h2 { margin: 0; padding: 0; border: 0; font: 300 clamp(44px, 5.4vw, 68px)/1 "MaruBuri", serif; letter-spacing: .03em; color: var(--ink); }

.fb .fb-wrap { position: relative; margin: 40px auto 0; }
.fb .fb-wrap::after { content: ""; position: absolute; left: 6%; right: 6%; bottom: 4px; height: 22px; border-radius: 50%;   /* the floor shadow */
  background: radial-gradient(closest-side, rgba(58, 40, 20, .2), transparent); pointer-events: none; }
.fb .fb-shelf { display: flex; align-items: flex-end; justify-content: safe center; gap: 2px; min-height: var(--shelf-h); margin: 0; padding: 0 10px 14px;
  list-style: none; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
.fb .fb-shelf::-webkit-scrollbar { display: none; }
.fb .fb-item { flex: none; display: flex; align-items: flex-end; height: var(--shelf-h); }
.fb .fb-more { margin: 18px 0 0; }

/* a standing book */
.fb .fb-book { position: relative; display: block; width: var(--w); height: calc(var(--shelf-h) * var(--h) / 100); color: var(--on, var(--ink));
  text-decoration: none; cursor: pointer; transition: width .6s cubic-bezier(.2, .8, .2, 1), transform .35s cubic-bezier(.2, .8, .2, 1); }
.fb .fb-book:hover:not(.is-face) { transform: translateY(-10px); }
.fb .fb-book:focus-visible { outline: 2px solid var(--blue, #2D63E2); outline-offset: 5px; }
.fb .fb-spine { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 0 12px; overflow: hidden;
  border-radius: 1px 1px .5px .5px; background: var(--c);
  /* light rolls across a rounded spine: a lit edge, the body, the edge turning away; a sharp top edge; contact shadow */
  background-image: linear-gradient(90deg, rgba(255, 255, 255, .32) 0, rgba(255, 255, 255, .1) 14%, rgba(255, 255, 255, 0) 32%,
    rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, .1) 92%, rgba(0, 0, 0, .18) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -1px 0 rgba(0, 0, 0, .12), 1px 0 0 rgba(0, 0, 0, .06), 0 10px 18px -6px rgba(58, 40, 20, .28);
  transition: opacity .25s ease; }
.fb .fb-spine b { flex: 1 1 auto; min-height: 0; display: block; writing-mode: vertical-rl; overflow: hidden; white-space: nowrap; font: 600 14px/1 var(--sans); letter-spacing: .05em; }
.fb .fb-mark { flex: none; font: 600 10px/1 "MaruBuri", serif; font-style: normal; letter-spacing: -.02em; opacity: .85; }
.fb .fb-run { flex: none; writing-mode: vertical-rl; font: 500 10px/1 var(--mono); letter-spacing: .08em; opacity: .75; white-space: nowrap; }
/* 0: typewriter run-line on top, the title in mono caps-like weight */
.fb .fb-s0 b { font: 600 13px/1 var(--mono); letter-spacing: .1em; }
/* 1: bold condensed, the title fills the spine */
.fb .fb-s1 b { font: 800 clamp(16px, calc(var(--w) * .52), 26px)/.95 var(--sans); letter-spacing: -.01em; }
/* 2: light serif, generous */
.fb .fb-s2 b { font: 400 clamp(14px, calc(var(--w) * .44), 22px)/1 "MaruBuri", serif; letter-spacing: .08em; }
/* 3: title with a small second line beside it */
.fb .fb-s3 b { display: flex; align-items: center; gap: 8px; font: 700 15px/1 var(--sans); }
.fb .fb-s3 b small { font: 500 10px/1 var(--sans); letter-spacing: .04em; opacity: .7; }
/* 4: a column of figures (the dates) beside the title */
.fb .fb-figs { flex: none; display: grid; gap: 3px; font: 500 10px/1 var(--mono); letter-spacing: .06em; opacity: .72; }
.fb .fb-figs i { font-style: normal; }
.fb .fb-s4 b { font: 600 13px/1 "MaruBuri", serif; }
/* 5: playful stacked letters, each its own weight */
.fb .fb-play { writing-mode: horizontal-tb !important; display: flex !important; flex-direction: column; align-items: center; gap: 1px; }
.fb .fb-play i { font-style: normal; font: 800 17px/1.02 var(--sans); }
.fb .fb-play i:nth-child(3n + 2) { font-weight: 300; font-family: "MaruBuri", serif; }
.fb .fb-play i:nth-child(4n + 3) { color: var(--accent, #C25E00); }
.fb .fb-spine.is-long b { font-size: 13px; }
.fb .fb-spine.is-xlong b { font-size: 13px; letter-spacing: 0; }
.fb .fb-s1.is-long b, .fb .fb-s1.is-xlong b { font-size: clamp(13px, calc(var(--w) * .4), 18px); }

/* face-out: a photo book (owner 2026-11-29: "사진처럼 다 등록하거나 이쁘게", the font and detail were not right): the event
   photo full-bleed in its own colour, the name in clean white type over a soft shade; the book's own detail — a debossed
   hinge, the board's edge, gloss, worn corners, the page block, and a ribbon bookmark for NEW */
.fb .fb-book.is-face { width: calc(var(--cover-w) + var(--page-w)); height: calc(var(--cover-w) * 1.36); }
.fb .fb-book.is-face .fb-spine { opacity: 0; }
.fb .fb-cover { position: absolute; inset: 0 var(--page-w) 0 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 16px 16px 22px;
  border-radius: 2px 4px 4px 2px; background-color: var(--c); color: #fff; text-align: left;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 1px 1px rgba(0, 0, 0, .18), 0 3px 4px rgba(58, 40, 20, .14), 0 24px 40px -12px rgba(40, 26, 12, .5);
  opacity: 0; transition: opacity .28s ease .08s; }
.fb .fb-print { position: absolute; inset: 0; z-index: 0; }
.fb .fb-print img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fb .fb-cover::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background:
    linear-gradient(90deg, rgba(0, 0, 0, .38) 0, rgba(0, 0, 0, .12) 5px, rgba(255, 255, 255, .22) 7px, rgba(255, 255, 255, 0) 10px, rgba(0, 0, 0, .14) 11px, rgba(0, 0, 0, 0) 15px),
    linear-gradient(115deg, rgba(255, 255, 255, .26) 0%, rgba(255, 255, 255, .06) 24%, rgba(255, 255, 255, 0) 40%),
    linear-gradient(180deg, rgba(10, 8, 6, 0) 46%, rgba(10, 8, 6, .2) 64%, rgba(10, 8, 6, .72) 100%); }
.fb .fb-cover::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit;   /* worn corners */
  background: radial-gradient(circle at 100% 0, rgba(255, 255, 255, .28), transparent 9px), radial-gradient(circle at 100% 100%, rgba(255, 255, 255, .2), transparent 9px); }
.fb .fb-cover > :not(.fb-print):not(.fb-new) { position: relative; z-index: 2; }
.fb .fb-cover-t { display: grid; gap: 7px; text-align: left; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
.fb .fb-cover-t b { font: 700 22px/1.2 var(--sans); letter-spacing: -.02em; word-break: keep-all; }
.fb .fb-cover-t.is-long b { font-size: 18px; }
.fb .fb-cover-t small { font: 500 10px/1.3 var(--sans); letter-spacing: .02em; opacity: .86; }
.fb .fb-imprint { display: block; margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .35); white-space: nowrap;
  font: 600 10px/1 var(--sans); letter-spacing: .22em; opacity: .8; }
/* the ribbon: its word set on the ribbon's centre line — the line box is exactly the ribbon's width, the word sits in
   the part above the notch (owner 2026-11-29 "중심 정렬") */
.fb .fb-new { position: absolute; z-index: 3; right: 18px; top: -4px; box-sizing: border-box; width: 24px; height: 54px; padding: 0 0 13px; background: #EF8306; color: #fff;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%); font: 800 10px/24px var(--sans); font-style: normal; letter-spacing: .1em;
  writing-mode: vertical-rl; text-align: center; text-indent: .1em; box-shadow: 0 2px 4px rgba(0, 0, 0, .3); }
.fb .fb-pages { position: absolute; top: 4px; bottom: 3px; right: 0; width: var(--page-w); border-radius: 0 2px 2px 0;
  background: repeating-linear-gradient(90deg, #FBF8F2 0 1.2px, #DDD2C0 1.2px 2px), #FBF8F2;
  box-shadow: inset 0 0 0 .5px rgba(58, 40, 20, .1), inset 3px 0 4px rgba(58, 40, 20, .18), 4px 14px 22px -8px rgba(58, 40, 20, .3);
  transform: skewY(-26deg); transform-origin: left bottom; opacity: 0; transition: opacity .3s ease .15s; }
.fb .fb-book.is-face .fb-cover, .fb .fb-book.is-face .fb-pages { opacity: 1; }
@media (max-width: 760px) { .fb .fb-cover { padding: 0 12px 12px 18px; } .fb .fb-cover-t b { font-size: 17px; } .fb .fb-cover-t.is-long b { font-size: 15px; } }

/* 말씀 앨범: a flat stack seen spine-on; its top book slides out a little on hover */
.fb .fb-word-item { margin-right: 28px; }
.fb .fb-word { display: block; color: var(--ink); text-decoration: none; }
.fb .fb-word:focus-visible { outline: 2px solid var(--blue, #2D63E2); outline-offset: 6px; }
.fb .fb-stack { display: flex; flex-direction: column; align-items: center; filter: drop-shadow(0 12px 14px rgba(58, 40, 20, .18)); }
.fb .fb-lay { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 34px; padding: 0 16px; border-radius: .5px 1px 1px .5px;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .34) 0, rgba(255, 255, 255, 0) 30%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, .14) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 1px 0 rgba(0, 0, 0, .1); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.fb .fb-lay b { min-width: 0; font: 600 13px/1 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fb .fb-lay small { flex: none; font: 500 10px/1 var(--mono); letter-spacing: .06em; opacity: .7; }
.fb .fb-lay0 { z-index: 3; width: 236px; height: 48px; background-color: #F1EADF; }
.fb .fb-lay0 b { font: 600 18px/1 "MaruBuri", serif; }
.fb .fb-lay0 small { max-width: 108px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 10px/1.2 var(--sans); }
.fb .fb-lay1 { z-index: 2; width: 218px; background-color: #A9C9B5; transform: translateX(12px); }
.fb .fb-lay2 { z-index: 1; width: 246px; height: 40px; background-color: #3A3A3C; color: #fff; transform: translateX(-6px); }
.fb .fb-word:hover .fb-lay0, .fb .fb-word:focus-visible .fb-lay0 { transform: translate(16px, -5px) rotate(-1.6deg); }

@media (max-width: 760px) {
  .fb { --shelf-h: 236px; --cover-w: 150px; --page-w: 9px; }
  .fb .fb-wrap { margin-left: calc(-1 * var(--margin, 16px)); margin-right: calc(-1 * var(--margin, 16px)); }
  .fb .fb-shelf { justify-content: flex-start; padding-left: var(--margin, 16px); padding-right: var(--margin, 16px); }
  .fb .fb-spine b { font-size: 13px; }
  .fb .fb-play i { font-size: 14px; }
  .fb .fb-cover-t b { font-size: 15px; }
  .fb .fb-word-item { margin-right: 16px; }
  .fb .fb-lay0 { width: 160px; height: 42px; } .fb .fb-lay0 b { font-size: 16px; } .fb .fb-lay0 small { display: none; }
  .fb .fb-lay1 { width: 148px; } .fb .fb-lay2 { width: 168px; }
  .fb .fb-lay b { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { .fb .fb-book, .fb .fb-cover, .fb .fb-pages, .fb .fb-lay { transition: none; } }

/* the album: a white ring binder lying open (reference "WEEKEND"), coloured tabs on its edge, photos mounted as prints */
.fb-dlg { position: fixed; inset: 0; margin: auto; height: fit-content; width: min(1100px, calc(100vw - 72px)); max-height: calc(100vh - 40px); padding: 0; border: 0; background: transparent; overflow: visible; color: #0B2447; }
.fb-dlg::backdrop { background: rgba(20, 16, 12, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.fb-dlg .fb-binder { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 12px; border-radius: 10px; background: #ECE6DC;
  background-image: linear-gradient(135deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 40%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 rgba(0, 0, 0, .06), 0 2px 4px rgba(10, 8, 6, .2), 0 36px 90px rgba(10, 8, 6, .5); }
.fb-dlg .fb-page { position: relative; min-height: min(600px, calc(100vh - 100px)); padding: 34px 38px 28px; background: #FDFBF7; text-align: left; }
.fb-dlg .fb-page.l { border-radius: 6px 0 0 6px; box-shadow: inset -22px 0 26px -20px rgba(58, 40, 20, .3); }
.fb-dlg .fb-page.r { display: flex; flex-direction: column; border-radius: 0 6px 6px 0; box-shadow: inset 22px 0 26px -20px rgba(58, 40, 20, .3); }
.fb-dlg .fb-page::before { content: ""; position: absolute; top: 30px; bottom: 30px; width: 8px;   /* punched holes */
  background: radial-gradient(circle, #DED6C8 2.6px, rgba(0, 0, 0, .06) 3.2px, transparent 3.6px) center / 8px 70px repeat-y; }
.fb-dlg .fb-page.l::before { right: 12px; } .fb-dlg .fb-page.r::before { left: 12px; }
.fb-dlg .fb-rings { position: absolute; left: 50%; top: 56px; bottom: 56px; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; transform: translateX(-50%); }
.fb-dlg .fb-rings i { width: 38px; height: 13px; border-radius: 8px; background: linear-gradient(#FAFBFC, #B5BBC3 55%, #8E959F 80%, #D7DBE0);
  box-shadow: 0 2px 3px rgba(0, 0, 0, .25), inset 0 1px 0 #fff; }
.fb-dlg .fb-tabs { position: absolute; top: 44px; right: -30px; display: flex; flex-direction: column; gap: 6px; }
.fb-dlg .fb-tabs button { width: 38px; height: 46px; padding: 0 0 0 10px; border: 0; border-radius: 0 7px 7px 0; background: var(--t); color: #0B2447; cursor: pointer;
  font: 600 10px/1 var(--mono); background-image: linear-gradient(90deg, rgba(0, 0, 0, .12), rgba(0, 0, 0, 0) 30%, rgba(255, 255, 255, .25) 70%, rgba(255, 255, 255, 0));
  box-shadow: 2px 2px 5px rgba(58, 40, 20, .22); transition: transform .2s ease; }
.fb-dlg .fb-tabs button[aria-current="true"] { transform: translateX(7px); }
.fb-dlg .fb-tabs button:focus-visible { outline: 2px solid #2D63E2; outline-offset: 2px; }

.fb-dlg .fb-kick { margin: 0 0 20px; font: 500 10px/1 var(--mono); letter-spacing: .22em; color: #6B7385; }
.fb-dlg .fb-hero { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #E9E2D6; transform: rotate(-.7deg);
  box-shadow: 0 0 0 7px #fff, 0 0 0 8px rgba(58, 40, 20, .08), 0 10px 24px rgba(58, 40, 20, .25); }
.fb-dlg .fb-hero.is-poster { aspect-ratio: 3 / 4; height: min(360px, 52vh); width: auto; margin: 0 auto; transform: none; }
.fb-dlg .fb-hero img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fb-dlg .fb-hero.is-poster img { object-fit: contain; background: #F3EEE5; }
.fb-dlg h3 { margin: 30px 0 12px; padding: 0; border: 0; font: 600 clamp(26px, 2.6vw, 34px)/1.2 "MaruBuri", serif; word-break: keep-all; color: #0B2447; }
.fb-dlg .fb-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 0; font: 500 13px/1.5 var(--sans); color: #6B7385; }
.fb-dlg .fb-meta .num { font-family: var(--mono); font-size: 13px; letter-spacing: .04em; }
.fb-dlg .fb-meta a { color: #0B2447; font-weight: 600; text-underline-offset: 3px; }
.fb-dlg .fb-grid { flex: 1; display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 1fr; gap: 26px 18px; margin: 4px 0 0 12px; padding: 0; list-style: none; }
.fb-dlg .fb-grid li { position: relative; margin: 0; background: #fff; box-shadow: 0 0 0 5px #fff, 0 0 0 6px rgba(58, 40, 20, .07), 0 5px 12px rgba(58, 40, 20, .2); }
.fb-dlg .fb-grid li:nth-child(4n + 1) { transform: rotate(-.6deg); } .fb-dlg .fb-grid li:nth-child(4n + 2) { transform: rotate(.5deg); }
.fb-dlg .fb-grid li:nth-child(4n + 3) { transform: rotate(.35deg); } .fb-dlg .fb-grid li:nth-child(4n) { transform: rotate(-.4deg); }
.fb-dlg .fb-grid button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: #E9E2D6; cursor: zoom-in; }
.fb-dlg .fb-grid img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fb-dlg .fb-grid .fb-n { position: absolute; left: 0; bottom: -21px; font: 500 10px/1 var(--mono); letter-spacing: .12em; color: #9196A2; }
.fb-dlg .fb-grid.is-words { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 12px; }
.fb-dlg .fb-grid .fb-sermon { transform: none; box-shadow: 0 0 0 1px #ECE5D9; }
.fb-dlg .fb-sermon a { display: grid; grid-template-columns: 124px 1fr; align-items: center; gap: 16px; padding: 8px; color: inherit; text-decoration: none; }
.fb-dlg .fb-sermon img { width: 124px; aspect-ratio: 16 / 9; height: auto; object-fit: cover; }
.fb-dlg .fb-sermon span { display: grid; gap: 6px; font: 400 13px/1.4 var(--mono); letter-spacing: .02em; color: #6B7385; }
.fb-dlg .fb-sermon b { font: 600 15px/1.35 "MaruBuri", serif; color: #0B2447; word-break: keep-all; letter-spacing: 0; }
.fb-dlg .fb-pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 30px; font: 500 13px/1 var(--mono); letter-spacing: .12em; color: #6B7385; }
.fb-dlg .fb-pager button, .fb-dlg .fb-close { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #0B2447; cursor: pointer; }
.fb-dlg .fb-pager button:hover, .fb-dlg .fb-close:hover { background: rgba(11, 36, 71, .06); }
.fb-dlg .fb-pager button:disabled { opacity: .25; cursor: default; }
.fb-dlg svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.fb-dlg .fb-close { position: absolute; top: -50px; right: 0; z-index: 3; background: rgba(255, 255, 255, .94); box-shadow: 0 2px 10px rgba(0, 0, 0, .2); }
.fb-dlg .fb-empty { margin: auto; max-width: 20em; text-align: center; font: 400 15px/1.7 var(--sans); color: #6B7385; }
.fb-dlg .fb-flip { animation: fb-flip .4s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes fb-flip { from { opacity: 0; transform: translateX(14px) rotateY(-6deg); } }
.fb-dlg .fb-zoom { position: absolute; inset: 12px; z-index: 4; display: grid; place-items: center; border-radius: 6px; background: rgba(14, 12, 10, .94); cursor: zoom-out; }
.fb-dlg .fb-zoom img { max-width: 92%; max-height: 92%; object-fit: contain; box-shadow: 0 0 0 7px #fff, 0 20px 50px rgba(0, 0, 0, .5); }
.fb-dlg .fb-zoom[hidden] { display: none; }
@media (max-width: 760px) {
  .fb-dlg { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; }
  .fb-dlg .fb-binder { grid-template-columns: 1fr; height: 100%; padding: 0; border-radius: 0; overflow-y: auto; background: #FDFBF7; box-shadow: none; }
  .fb-dlg .fb-rings, .fb-dlg .fb-tabs, .fb-dlg .fb-page::before { display: none; }
  .fb-dlg .fb-page { min-height: 0; padding: 22px 22px; border-radius: 0 !important; box-shadow: none !important; }
  .fb-dlg .fb-page.l { padding-top: max(66px, calc(env(safe-area-inset-top) + 54px)); }
  .fb-dlg .fb-grid { grid-auto-rows: auto; gap: 26px 16px; margin-left: 0; }
  .fb-dlg .fb-grid li { aspect-ratio: 1; }
  .fb-dlg .fb-grid.is-words li { aspect-ratio: auto; }
  .fb-dlg .fb-sermon a { grid-template-columns: 104px 1fr; } .fb-dlg .fb-sermon img { width: 104px; }
  .fb-dlg .fb-pager { display: none; }
  .fb-dlg .fb-close { position: fixed; top: max(12px, env(safe-area-inset-top)); right: 12px; }
}

/* spine colors, heights and widths (classes: the CSP allows no inline style); --on is the type color on that spine */
.fb .fb-c0 { --c: #D9B3B5; --on: #0B2447; --accent: #9C3D4A; }
.fb .fb-c1 { --c: #E39A3B; --on: #FFFFFF; --accent: #0B2447; }
.fb .fb-c2 { --c: #A9C9B5; --on: #0B2447; --accent: #2F6B4B; }
.fb .fb-c3 { --c: #9DB7CF; --on: #0B2447; --accent: #FFFFFF; }
.fb .fb-c4 { --c: #ECE7DD; --on: #0B2447; --accent: #C25E00; }
.fb .fb-c5 { --c: #3A3A3C; --on: #FFFFFF; --accent: #E39A3B; }
.fb .fb-h0 { --h: 100; } .fb .fb-h1 { --h: 88; } .fb .fb-h2 { --h: 95; } .fb .fb-h3 { --h: 83; }
.fb .fb-h4 { --h: 92; } .fb .fb-h5 { --h: 86; } .fb .fb-h6 { --h: 97; } .fb .fb-h7 { --h: 90; }
.fb .fb-w0 { --w: 30px; } .fb .fb-w1 { --w: 38px; } .fb .fb-w2 { --w: 46px; } .fb .fb-w3 { --w: 54px; }
@media (max-width: 760px) { .fb .fb-w0 { --w: 26px; } .fb .fb-w1 { --w: 31px; } .fb .fb-w2 { --w: 37px; } .fb .fb-w3 { --w: 43px; } }

/* the album, more of a real one (owner 2026-11-29 "앨범을 좀 더 진짜처럼… 디테일을 추가"): a stitched seam around the
   binder cover, the stack of pages under each side, paper grain, a soft curl at the outer corners, prints held by black
   photo corners */
.fb-dlg .fb-binder::after { content: ""; position: absolute; inset: 5px; border: 1.5px dashed rgba(120, 100, 76, .35); border-radius: 7px; pointer-events: none; }
.fb-dlg .fb-page { background-image:
    radial-gradient(rgba(120, 100, 76, .045) 1px, transparent 1.2px),
    linear-gradient(180deg, rgba(255, 255, 255, .6), rgba(255, 255, 255, 0) 30%);
  background-size: 5px 5px, 100% 100%; }
.fb-dlg .fb-page.l { box-shadow: inset -22px 0 26px -20px rgba(58, 40, 20, .3), -1px 1px 0 #F4EFE6, -2px 2px 0 #E9E2D6, -3px 3px 0 #F4EFE6, -4px 4px 0 #E2DACB; }
.fb-dlg .fb-page.r { box-shadow: inset 22px 0 26px -20px rgba(58, 40, 20, .3), 1px 1px 0 #F4EFE6, 2px 2px 0 #E9E2D6, 3px 3px 0 #F4EFE6, 4px 4px 0 #E2DACB; }
.fb-dlg .fb-page.r::after, .fb-dlg .fb-page.l::after { content: ""; position: absolute; bottom: 0; width: 70px; height: 70px; pointer-events: none; }
.fb-dlg .fb-page.r::after { right: 0; background: radial-gradient(circle at 100% 100%, rgba(58, 40, 20, .1), transparent 70%); border-radius: 0 0 6px 0; }
.fb-dlg .fb-page.l::after { left: 0; background: radial-gradient(circle at 0 100%, rgba(58, 40, 20, .1), transparent 70%); border-radius: 0 0 0 6px; }
.fb-dlg .fb-grid li:not(.fb-sermon)::before, .fb-dlg .fb-grid li:not(.fb-sermon)::after, .fb-dlg .fb-hero::before, .fb-dlg .fb-hero::after {
  content: ""; position: absolute; z-index: 2; width: 22px; height: 22px; background: linear-gradient(135deg, #2B2724 50%, transparent 50%);
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .3)); pointer-events: none; }
.fb-dlg .fb-grid li:not(.fb-sermon)::before, .fb-dlg .fb-hero::before { top: -7px; left: -7px; }
.fb-dlg .fb-grid li:not(.fb-sermon)::after, .fb-dlg .fb-hero::after { bottom: -7px; right: -7px; transform: rotate(180deg); }
.fb-dlg .fb-hero { position: relative; overflow: visible; }
.fb-dlg .fb-hero img { position: relative; }
.fb-dlg .fb-hero.is-poster::before, .fb-dlg .fb-hero.is-poster::after { display: none; }
@media (max-width: 760px) { .fb-dlg .fb-binder::after { display: none; } }

/* 말씀 앨범: the latest message as a typeset poster on the left page, the others as one-line rows (owner 2026-11-29
   "포스터 제대로", "중심정렬") — every row centred on its own middle line */
.fb-dlg .fb-hero.fb-sposter { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px; aspect-ratio: 4 / 3.1;
  padding: 34px 36px; overflow: visible; transform: rotate(-.5deg); background: #F3ECDF; color: #0B2447;
  background-image: radial-gradient(rgba(120, 100, 76, .06) 1px, transparent 1.2px); background-size: 4px 4px; }
.fb-dlg .fb-sp-k { font: 600 10px/1 var(--mono, ui-monospace, monospace); letter-spacing: .16em; color: #8A6A3F; }
.fb-dlg .fb-sp-t { font: 600 clamp(28px, 3vw, 40px)/1.18 "MaruBuri", serif; letter-spacing: -.01em; word-break: keep-all; }
.fb-dlg .fb-sp-rule { display: block; width: 36px; height: 2.5px; background: #EF8306; }
.fb-dlg .fb-sp-p { font: 500 15px/1.4 var(--sans); }
.fb-dlg .fb-sp-by { font: 400 13px/1.4 var(--sans); color: #6B7385; }
.fb-dlg .fb-sp-play { display: inline-flex; align-items: center; gap: 8px; height: 40px; margin-top: 6px; padding: 0 18px 0 14px; border-radius: 100vmax;
  background: #0B2447; color: #fff; font: 600 13px/1 var(--sans); text-decoration: none; }
.fb-dlg .fb-sp-play svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.fb-dlg .fb-sp-play:hover { background: #163563; }
.fb-dlg .fb-grid.is-words { gap: 10px; }
.fb-dlg .fb-sermon a { display: grid; grid-template-columns: 74px minmax(0, 1fr) 32px; align-items: center; gap: 16px; min-height: 72px; padding: 10px 14px 10px 10px; }
.fb-dlg .fb-sr-d { display: grid; place-items: center; align-content: center; gap: 5px; height: 56px; border-radius: 4px; background: #F3ECDF; text-align: center; }
.fb-dlg .fb-sr-d b { font: 600 17px/1 var(--mono, ui-monospace, monospace); letter-spacing: .02em; color: #0B2447; }
.fb-dlg .fb-sr-d small { font: 500 10px/1 var(--sans); color: #8A6A3F; }
.fb-dlg .fb-sr-t { display: grid; align-content: center; gap: 6px; min-width: 0; }
.fb-dlg .fb-sr-t b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 16px/1.3 "MaruBuri", serif; color: #0B2447; }
.fb-dlg .fb-sr-t small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 13px/1.3 var(--sans); color: #6B7385; }
.fb-dlg .fb-sermon svg { justify-self: center; width: 16px; height: 16px; fill: #0B2447; stroke: none; opacity: .55; transition: opacity .2s ease; }
.fb-dlg .fb-sermon a:hover svg { opacity: 1; }
.fb-dlg .fb-sermon a:hover .fb-sr-t b { text-decoration: underline; text-underline-offset: 3px; }
.fb-dlg .fb-grid.is-words { grid-auto-rows: 1fr; }
.fb-dlg .fb-sermon { display: flex; }
.fb-dlg .fb-sermon a { flex: 1; height: 100%; }

/* QA 2026-11-29 (tools/audit.mjs): the kicker at 4.5:1, NEW in navy on the orange (white was 2.65:1), the shadow on the
   cover's own words (it sat on their box), the shelf on the 4/8 spacing scale */
.fb .fb-kicker { color: var(--ink-2, #4A5670); }
.fb .fb-new { color: #0B2447; }
.fb .fb-cover-t b, .fb .fb-cover-t small, .fb .fb-imprint { text-shadow: 0 1px 2px rgba(0, 0, 0, .55), 0 0 12px rgba(0, 0, 0, .35); }
.fb .fb-shelf { gap: 4px; }
.fb .fb-play { gap: 0; }
.fb .fb-more { margin-top: 16px; }
/* phones: every spine a 44px finger target (Apple HIG; tools/audit.mjs counted nine under it), the four widths kept
   apart so the row still reads as mixed books; the shelf already scrolls sideways */
@media (max-width: 760px) { .fb .fb-w0 { --w: 44px; } .fb .fb-w1 { --w: 46px; } .fb .fb-w2 { --w: 50px; } .fb .fb-w3 { --w: 54px; } }
.fb .fb-print img { position: absolute; inset: 0; }   /* pinned to its frame like the print it is (same box as before); lets tools read the cover as text on a photo */
/* the bold spine title on the site's type steps instead of a width-derived size (19.8px at 38px wide) */
.fb .fb-w0 .fb-s1 b { font-size: 15px; } .fb .fb-w1 .fb-s1 b { font-size: 18px; } .fb .fb-w2 .fb-s1 b, .fb .fb-w3 .fb-s1 b { font-size: 22px; }
.fb .fb-s1.is-long b, .fb .fb-s1.is-xlong b { font-size: 15px; }
@media (max-width: 760px) { .fb .fb-s1 b, .fb .fb-s1.is-long b { font-size: 13px; } }
/* the binder grows with the screen (owner 2026-11-29 "화면이 크면 크게 잘 떠야지"): focus.js sets the zoom (--fbz, up to
   1.75) and the drawn width and page height (--fbw, --fbh) from the window, so it fills a big monitor and still fits */
@media (min-width: 761px) {
  .fb-dlg { width: fit-content; max-width: calc(100vw - 48px); }
  .fb-dlg .fb-binder { width: var(--fbw, min(1100px, calc(100vw - 72px))); zoom: var(--fbz, 1); }
  .fb-dlg .fb-page { min-height: var(--fbh, min(600px, calc(100vh - 100px))); }
}
