/* 홈 › 포커스 (owner 2026-12-01: "참신하면서 이쁘게 … 의미 있게"; board review/selfrunning/focus.png approved the same day).
   A shelf of event albums standing face-out: each cover is the event's own photo with its name set large, the 말씀 book is
   teal cloth with its name in foil. The shelf picks its books itself (tools/focus_shelf.py): only events with an album AND
   the church's own words about them. A book opens as a spread on paper (focus.js) — no rings, no coloured edge lines. */
.fb, .fb-dlg { --fb-serif: "MaruBuri", "Noto Serif KR", serif; }
.fb { --book-w: 168px; --book-h: 244px; --gap: 20px; --ink: #0B2447; --paper: #FBF8F2; --gold: #D9B26A; --wood: #B98A5A; }
.fb .fb-head { display: flex; align-items: baseline; gap: 24px; }
.fb .fb-head h2 { flex: none; margin: 0; padding: 0; border: 0; font: 400 clamp(40px, 4.6vw, 60px)/1 var(--fb-serif); letter-spacing: -.01em; color: var(--ink); }
.fb .fb-head::after { content: ""; order: 1; flex: 1; height: 1px; background: var(--rule, rgba(11, 36, 71, .14)); align-self: center; }
.fb .fb-more { order: 2; flex: none; font: 600 15px/1 var(--sans); color: var(--ink); white-space: nowrap; }
.fb .fb-more::after { content: " ›"; }

.fb .fb-wrap { position: relative; margin-top: 40px; }
/* a bookshelf (board review/slop3/shelf.png, approved 2026-12-01): spines packed side by side on one oak plank */
.fb .fb-shelf { display: flex; align-items: flex-end; gap: 3px; margin: 0; padding: 24px 8px 0; list-style: none; overflow-x: auto; overflow-y: visible;
  scroll-snap-type: x proximity; scrollbar-width: none; overscroll-behavior-x: contain; }
.fb .fb-shelf::-webkit-scrollbar { display: none; }
.fb .fb-wrap::after { content: ""; position: absolute; left: 0; right: 0; bottom: -12px; height: 12px; border-radius: 1px;
  background: linear-gradient(#E4C79F, #C9A272 42%, #9F774A); box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 14px 18px -10px rgba(60, 36, 12, .42); pointer-events: none; }
.fb .fb-item { position: relative; flex: none; scroll-snap-align: start; }
/* keyboard focus: a short orange mark on the plank under the book */
.fb .fb-item::after { content: ""; position: absolute; left: 20%; right: 20%; bottom: -12px; height: 3px; border-radius: 2px; background: var(--orange, #EF8306);
  transform: scaleX(0); transition: transform .3s cubic-bezier(.22, 1, .36, 1); pointer-events: none; z-index: 2; }
.fb .fb-item:has(.fb-book:focus-visible)::after { transform: scaleX(1); }

/* a book: its spine (cloth, colour from the cover photo, width from how full the album is) or, when out, its face */
/* sizes from the build (data-w, data-h through focus.js), scaled by --k: 1 on wide screens, smaller on phones */
.fb .fb-book { --spine: #3A3F55; --k: 1; --sw0: 70; --bh0: 304; --sw: calc(var(--sw0) * var(--k) * 1px); --bh: calc(var(--bh0) * var(--k) * 1px); --face: calc(232px * var(--k)); position: relative; display: block; width: var(--sw); height: var(--bh);
  color: #F4ECDA; text-decoration: none; outline: none; transition: width .55s cubic-bezier(.22, 1, .36, 1), transform .4s cubic-bezier(.22, 1, .36, 1);
  filter: drop-shadow(0 10px 8px rgba(30, 20, 8, .2)) drop-shadow(0 1px 1px rgba(30, 20, 8, .25)); }
.fb .fb-spine { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 16px 0 14px;
  border-radius: 2px; overflow: hidden; transition: opacity .3s;
  background: linear-gradient(90deg, color-mix(in srgb, var(--spine) 72%, #000) 0, var(--spine) 14%, color-mix(in srgb, var(--spine) 86%, #fff) 46%, var(--spine) 78%, color-mix(in srgb, var(--spine) 75%, #000) 100%),
              var(--spine); }
/* the cloth weave, faint */
.fb .fb-spine::before { content: ""; position: absolute; inset: 0; opacity: .12; mix-blend-mode: overlay; pointer-events: none;
  background: repeating-linear-gradient(0deg, #fff 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, #000 0 1px, transparent 1px 3px); }
/* two gilt bands near the head and foot, as on bound books */
.fb .fb-spine::after { content: ""; position: absolute; left: 0; right: 0; top: 8px; bottom: 8px; border-top: 1px solid rgba(217, 184, 115, .55); border-bottom: 1px solid rgba(217, 184, 115, .55); pointer-events: none; }
.fb .fb-sname { position: relative; writing-mode: vertical-rl; text-orientation: upright; font: 500 calc(18px * var(--k, 1))/1 "MaruBuri", "Noto Serif KR", serif; letter-spacing: .06em;
  max-height: calc(100% - 52px); overflow: hidden; white-space: nowrap; }
.fb .fb-syear { position: relative; font: 600 12px/1 var(--sans); letter-spacing: .04em; color: #D9B873; }
.fb .fb-cover { position: absolute; inset: 0; border-radius: 2px 4px 4px 2px; overflow: hidden; background: #1A2236; opacity: 0; transition: opacity .35s .1s; }
.fb .fb-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fb .fb-cover::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(9, 14, 28, .7) 0%, rgba(9, 14, 28, .3) 30%, transparent 55%, transparent 72%, rgba(9, 14, 28, .4) 100%),
              linear-gradient(90deg, rgba(0, 0, 0, .32), rgba(255, 255, 255, .1) 3%, transparent 7%); }

.fb .fb-name { position: absolute; z-index: 2; left: 18px; right: 14px; top: 18px; font: 500 24px/1.25 "MaruBuri", "Noto Serif KR", serif; letter-spacing: -.01em; word-break: keep-all; text-wrap: balance; color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, .4); }
.fb .fb-year { position: absolute; z-index: 2; left: 16px; bottom: 14px; font: 500 12px/1 var(--sans); letter-spacing: .08em; color: #fff; opacity: .9; }
/* the book out of the row, face-out */
.fb .fb-item.is-open .fb-book { width: var(--face); transform: translateY(-8px); filter: drop-shadow(0 22px 16px rgba(30, 20, 8, .26)) drop-shadow(0 2px 2px rgba(30, 20, 8, .2)); }
.fb .fb-item.is-open .fb-spine { opacity: 0; }
.fb .fb-item.is-open .fb-cover { opacity: 1; }
@media (hover: hover) { .fb .fb-item:not(.is-open) .fb-book:hover { transform: translateY(-6px); } }
.fb .fb-book:active { transform: translateY(-4px) scale(.985); }
@media (max-width: 760px) {
  .fb .fb-book { --k: .62; --sw: max(44px, calc(var(--sw0) * var(--k) * 1px)); }   /* a spine stays a 44px tap target (audit 2026-12-02) */
  .fb .fb-shelf { margin: 0 calc(-1 * var(--margin, 16px)); padding: 18px var(--margin, 16px) 0; scroll-padding: 0 var(--margin, 16px); }
  .fb .fb-name { font-size: 17px; left: 14px; top: 12px; }
}
@media (prefers-reduced-motion: reduce) { .fb .fb-book, .fb .fb-spine, .fb .fb-cover, .fb .fb-item::after { transition: none; } }

/* ---- the open book (focus.js): a spread on paper. Left page tells, right page shows. ---- */
.fb-dlg { margin: auto; inset: 0; width: min(1180px, calc(100vw - 48px)); max-width: none; max-height: calc(100dvh - 48px); padding: 0; border: 0; background: transparent; overflow: visible; color: var(--ink, #0B2447); }
.fb-dlg::backdrop { background: rgba(11, 18, 32, .62); backdrop-filter: blur(6px); }
.fb-dlg[open] { animation: fb-open .5s cubic-bezier(.22, 1, .36, 1) backwards; }   /* backwards: once open the window keeps no transform, so the zoom inside is fixed to the screen, not to the book (owner 2026-12-01 "중심정렬 안된게") */
@keyframes fb-open { from { opacity: 0; transform: translateY(18px) scale(.97); } }
.fb-spread { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: min(640px, calc(100dvh - 96px));
  border-radius: 6px; background: #FBF8F2; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55), 0 0 0 1px rgba(11, 36, 71, .06); overflow: hidden; }
/* the gutter: two pages meeting, shade on either side of the fold (no line drawn) */
.fb-spread::after { content: ""; position: absolute; top: 0; bottom: 0; left: calc(5 / 12 * 100%); width: 56px; transform: translateX(-50%); pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(60, 44, 20, .09) 44%, rgba(60, 44, 20, .16) 50%, rgba(60, 44, 20, .06) 56%, transparent); }
.fb-left { display: flex; flex-direction: column; padding: 56px 56px 40px; min-width: 0; }
.fb-right { position: relative; padding: 40px 40px 32px 48px; min-width: 0; display: flex; flex-direction: column; }
.fb-kick { margin: 0 0 20px; font: 500 13px/1 var(--sans); letter-spacing: .14em; color: var(--ink-3, #5E6880); }
.fb-title { margin: 0; font: 400 clamp(36px, 4vw, 56px)/1.1 var(--fb-serif); letter-spacing: -.02em; word-break: keep-all; text-wrap: balance; }
.fb-date { margin: 14px 0 0; font: 400 18px/1 var(--fb-serif); color: var(--ink-2, #4A5670); }
.fb-quote { position: relative; margin: auto 0 0; padding: 28px 0 0; border-top: 1px solid var(--rule, rgba(11, 36, 71, .14));
  font: 400 19px/1.75 var(--fb-serif); color: var(--ink); word-break: keep-all; quotes: "“" "”"; }
.fb-quote::before { content: open-quote; } .fb-quote::after { content: close-quote; }
.fb-read { align-self: flex-start; margin-top: 24px; font: 600 15px/1 var(--sans); color: #B4560A; text-decoration: none; }
.fb-read::after { content: " ›"; }
.fb-read:hover, .fb-read:focus-visible { text-decoration: underline; text-underline-offset: 4px; }

/* photos: one large, four beside — a magazine page, each a print that opens in the viewer */
.fb-mosaic { flex: 1; display: grid; grid-template-columns: 1.5fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 10px; min-height: 0; }
.fb-mosaic button { position: relative; padding: 0; border: 0; border-radius: 3px; overflow: hidden; background: #E8E2D6; cursor: zoom-in; min-height: 0; }
.fb-mosaic button:first-child { grid-row: 1 / 3; }
.fb-mosaic img.is-broken { visibility: hidden; }
.fb-mosaic img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.22, 1, .36, 1), opacity .4s; }
.fb-mosaic img.is-loading { opacity: 0; }
@media (hover: hover) { .fb-mosaic button:hover img { transform: scale(1.04); } }
.fb-mosaic button:focus-visible { outline: 3px solid var(--orange, #EF8306); outline-offset: 2px; }
.fb-mosaic.is-turn { animation: fb-turn .45s cubic-bezier(.22, 1, .36, 1); }
@keyframes fb-turn { from { opacity: 0; transform: translateX(var(--dir, 24px)); } }
.fb-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 20px; font: 400 15px/1 var(--fb-serif); color: var(--ink-2, #4A5670); }
.fb-prog { position: relative; width: min(240px, 40%); height: 2px; border-radius: 2px; background: var(--rule, rgba(11, 36, 71, .14)); overflow: hidden; }
.fb-prog i { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: var(--ink); transition: transform .45s cubic-bezier(.22, 1, .36, 1); }
.fb-nav button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--rule, rgba(11, 36, 71, .14)); border-radius: 50%;
  background: transparent; color: var(--ink); cursor: pointer; transition: background-color .2s, transform .2s; }
.fb-nav button:hover { background: rgba(11, 36, 71, .06); }
.fb-nav button:active { transform: scale(.94); }
.fb-nav button:disabled { opacity: .3; cursor: default; }
.fb-nav svg, .fb-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fb-close { position: absolute; top: -18px; right: -18px; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
  background: #fff; color: var(--ink); box-shadow: 0 8px 20px rgba(0, 0, 0, .25); cursor: pointer; }
.fb-close:focus-visible, .fb-nav button:focus-visible { outline: 3px solid var(--orange, #EF8306); outline-offset: 2px; }

/* 말씀: the left page is the newest message as a 말씀 카드 in its theme's Scripture colour; the right page lists the rest */
.fb-spread.is-word .fb-left { padding: 0; }
.fb-card { position: relative; flex: 1; display: flex; flex-direction: column; padding: 48px 44px 40px; color: #fff; background-color: var(--c, #0B3E44);
  background-image: linear-gradient(180deg, var(--c, #0B3E44) 38%, color-mix(in srgb, var(--c, #0B3E44) 30%, transparent)), var(--art, none);
  background-size: cover, 220% auto; background-position: center, 72% 100%; background-repeat: no-repeat; }
.fb-card .fb-kick { color: rgba(255, 255, 255, .78); }
.fb-card .fb-day { margin: 0; font: 300 96px/.9 var(--fb-serif); letter-spacing: -.04em; }
.fb-card .fb-mon { margin: 8px 0 0; font: 500 13px/1 var(--sans); letter-spacing: .14em; opacity: .85; }
.fb-card .fb-title { margin-top: 28px; font-size: clamp(30px, 3.2vw, 44px); color: #fff; }
.fb-card .fb-pass { margin: 14px 0 0; font: 400 17px/1.4 var(--fb-serif); opacity: .9; }
.fb-card .fb-by { margin: 6px 0 0; font: 400 14px/1.4 var(--sans); opacity: .78; }
.fb-card .fb-play { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; margin-top: auto; min-height: 48px; padding: 0 22px 0 8px;
  border-radius: 100vmax; background: #fff; color: var(--c, #0B3E44); font: 600 15px/1 var(--sans); text-decoration: none; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.fb-card .fb-play i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--c, #0B3E44); color: #fff; }
.fb-card .fb-play svg { width: 14px; height: 14px; margin-left: 2px; fill: currentColor; }
.fb-card .fb-play:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.fb-list { margin: 0; padding: 0; list-style: none; overflow-y: auto; }
.fb-list li + li { border-top: 1px solid var(--rule, rgba(11, 36, 71, .14)); }
.fb-list a { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 18px; align-items: baseline; padding: 16px 4px; color: var(--ink); text-decoration: none; }
.fb-list .d { grid-row: 1 / 3; font: 400 32px/1 var(--fb-serif); letter-spacing: -.02em; color: var(--ink-2, #4A5670); }
.fb-list b { font: 600 17px/1.4 var(--sans); word-break: keep-all; }
.fb-list small { font: 400 14px/1.4 var(--sans); color: var(--ink-3, #5E6880); }
.fb-list a:hover b, .fb-list a:focus-visible b { text-decoration: underline; text-underline-offset: 4px; }
.fb-list a[aria-current] .d { color: var(--ink); }
.fb-list a[aria-current] b { font-weight: 800; }
.fb-all { align-self: flex-end; margin-top: 16px; font: 600 15px/1 var(--sans); color: var(--ink); text-decoration: none; }
.fb-all::after { content: " ›"; }

@media (max-width: 760px) {
  .fb-dlg { width: 100vw; max-height: 100dvh; height: 100dvh; margin: 0; inset: 0; }
  .fb-spread { grid-template-columns: minmax(0, 1fr); min-height: 100dvh; border-radius: 0; overflow-y: auto; }
  .fb-spread::after { display: none; }
  .fb-left { padding: 64px 20px 24px; }
  .fb-right { padding: 0 20px 32px; }
  .fb-quote { margin-top: 28px; font-size: 17px; }
  .fb-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 150px 150px; }
  .fb-mosaic button:first-child { grid-column: 1 / 3; grid-row: 1; }
  .fb-close { top: 12px; right: 12px; position: fixed; }
  .fb-card { padding: 64px 20px 28px; min-height: 66dvh; }
  .fb-card .fb-day { font-size: 72px; }
  .fb-spread.is-word .fb-right { padding-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .fb .fb-book, .fb .fb-cover img, .fb-mosaic img { transition: none; }
  .fb-dlg[open], .fb-mosaic.is-turn { animation: none; }
}
/* one photo large, over the spread: near-black, arrows at the sides, the close at the corner */
.fb-zoom { position: fixed; inset: 0; z-index: 10; display: grid; place-items: center; background: rgba(6, 9, 16, .94); animation: fb-fade .25s ease-out both; }
@keyframes fb-fade { from { opacity: 0; } }
.fb-zoom img { max-width: calc(100vw - 160px); max-height: calc(100dvh - 80px); object-fit: contain; border-radius: 2px; }
.fb-zoom > button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; transition: background-color .2s; }
.fb-zoom > button:hover { background: rgba(255, 255, 255, .22); }
.fb-zoom > button:disabled { opacity: .25; cursor: default; }
.fb-zoom > button:focus-visible { outline: 3px solid var(--orange, #EF8306); outline-offset: 2px; }
.fb-zoom > button:nth-of-type(1) { left: 24px; top: 50%; transform: translateY(-50%); }
.fb-zoom > button:nth-of-type(2) { right: 24px; top: 50%; transform: translateY(-50%); }
.fb-zoom .fb-zoom-x { top: 20px; right: 20px; }
.fb-zoom svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 760px) { .fb-zoom img { max-width: 100vw; max-height: calc(100dvh - 140px); } .fb-zoom > button:nth-of-type(1), .fb-zoom > button:nth-of-type(2) { top: auto; bottom: 24px; transform: none; } }
@media (prefers-reduced-motion: reduce) { .fb-zoom { animation: none; } }

/* the face of a book (owner 2026-12-01 "앨범 책 표지 좀 이쁘게 만들어라"): a photobook — bookcloth in the book's own spine
   colour, the album's best photo mounted near the head with a fine gold line round it, the name in gold serif beneath,
   the date at the foot. The photo is chosen by tools/focus_shelf.py (_cover: sharp, well lit, colourful, group shots). */
.fb .fb-cover { background: color-mix(in srgb, var(--spine) 92%, #000); }
.fb .fb-cover::before { z-index: 0; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 3px),
  repeating-linear-gradient(90deg, rgba(0, 0, 0, .05) 0 1px, transparent 1px 3px), linear-gradient(90deg, rgba(0, 0, 0, .32), rgba(255, 255, 255, .08) 4%, transparent 9%); }
.fb .fb-cover img { inset: calc(16px * var(--k, 1)) calc(14px * var(--k, 1)) auto calc(18px * var(--k, 1)); width: auto; height: 62%; z-index: 1;
  outline: 1px solid rgba(217, 184, 115, .65); outline-offset: 3px; box-shadow: 0 2px 6px rgba(0, 0, 0, .35); }
.fb .fb-name { top: calc(62% + 30px * var(--k, 1)); left: calc(18px * var(--k, 1)); right: calc(14px * var(--k, 1)); font: 500 calc(22px * var(--k, 1))/1.3 "MaruBuri", "Noto Serif KR", serif;
  color: #E7CC8E; text-shadow: none; }
.fb .fb-year { left: calc(18px * var(--k, 1)); bottom: calc(14px * var(--k, 1)); color: #E7CC8E; opacity: .85; letter-spacing: .1em; }
@media (max-width: 760px) { .fb .fb-name { font-size: 14px; top: calc(62% + 18px); } }

/* a shelf of different books (owner 2026-12-01 "앨범 많아지고 다양하게 … 색깔이나 텍스쳐 크기 등 개성있게"): the build gives
   each book a binding — bookcloth, linen, leather grain, or cloth with a paper title label — with its own colour and size */
.fb .fb-book.is-linen .fb-spine::before { opacity: .2; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .5) 0 1px, transparent 1px 2px), repeating-linear-gradient(90deg, rgba(0, 0, 0, .35) 0 1px, transparent 1px 2px); }
.fb .fb-book.is-linen .fb-sname { font-family: var(--sans); font-weight: 600; font-size: calc(15px * var(--k, 1)); letter-spacing: .12em; }
.fb .fb-book.is-leather .fb-spine::before { opacity: .22; mix-blend-mode: soft-light;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='turbulence' baseFrequency='.35' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"); }
.fb .fb-book.is-leather .fb-spine::after { top: 10px; bottom: 10px; border-top: 3px double rgba(217, 184, 115, .75); border-bottom: 3px double rgba(217, 184, 115, .75); }
.fb .fb-book.is-leather .fb-sname { color: #E3C27E; }
.fb .fb-book.is-leather .fb-spine { border-radius: 4px; }
/* a paper label on the spine, its name in ink */
.fb .fb-book.is-cloth-label .fb-sname { margin-top: calc(10px * var(--k, 1)); padding: 10px 4px; width: 72%; display: flex; align-items: center; justify-content: flex-start;
  background: #EFE6D2; color: #2A2620; border-radius: 1px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); font-size: 16px; }
.fb .fb-book.is-cloth-label .fb-spine::after { display: none; }

/* the deck: the card shown in the main slot is pulled aside, but it never covers the next card's title */
.ww-deck li:has(.ww-mini[aria-pressed="true"]) { z-index: auto; }
/* a long name fits its spine whole: smaller, never cut mid-letter */
.fb .fb-sname.is-long { font-size: calc(13px * var(--k, 1)) !important; letter-spacing: .02em; max-height: calc(100% - 44px); }

/* real books (owner 2026-12-01 "앨범 퀄리티 좀 더 진짜 책 같이"): a headband at the head of each spine, the spine's round
   catching light, a soft contact shadow on the plank; out of the row, the cover board's edge and the page block show */
.fb .fb-spine { border-radius: 3px 3px 2px 2px; box-shadow: inset 0 3px 0 -1px rgba(255, 255, 255, .12), inset -2px 0 3px rgba(0, 0, 0, .25), inset 2px 0 3px rgba(255, 255, 255, .06); }
.fb .fb-spine > .fb-sname::before { content: none; }
.fb .fb-book::before { content: ""; position: absolute; z-index: 2; left: 2px; right: 2px; top: 0; height: 4px; border-radius: 2px 2px 0 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, #C9A86A 0 2px, #7E2E2A 2px 4px); opacity: .85; transition: opacity .3s; }
.fb .fb-item.is-open .fb-book::before { opacity: 0; }
.fb .fb-item::before { content: ""; position: absolute; left: 6%; right: 6%; bottom: -3px; height: 8px; border-radius: 50%; background: rgba(30, 20, 8, .28); filter: blur(4px); pointer-events: none; }
/* out of the row: the page block along the fore-edge and the board's thickness */
.fb .fb-item.is-open .fb-cover { border-radius: 2px 5px 5px 2px; box-shadow: 4px 0 0 -1px #EFE7D4, 6px 1px 0 -1px #E2D8C2, 8px 2px 0 -2px #D6CBB2, inset 0 0 0 1px rgba(0, 0, 0, .25); }
/* a poster book: the event's own poster as the jacket, edge to edge, its name left to the poster itself */
.fb .fb-book.is-poster .fb-cover img { inset: 0 !important; width: 100% !important; height: 100% !important; outline: none !important; box-shadow: none !important; object-fit: contain; }
.fb .fb-book.is-poster .fb-cover::before { background: linear-gradient(90deg, rgba(0, 0, 0, .3), rgba(255, 255, 255, .1) 3%, transparent 8%) !important; }
.fb .fb-book.is-poster .fb-name { display: none; }
.fb .fb-book.is-poster .fb-year { color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }

/* ---- v3, real bound books (type stays on the site scale: only the books scale, never the letters) — (owner 2026-12-02 "책 흉내내는 건더기 … 글자 폰트 … 중심정렬 … 포스터 짤려있고";
   board docs/boards/focus-shelf-v3.png): every spine is a bound book — leather grain over the cloth colour, the round
   catching light, raised bands at head and foot in gilt, the name and year stamped in gilt serif; some carry a dark
   leather title label in a gilt frame. A face-out book shows its picture whole, in the picture's own shape: a poster book
   is exactly as wide as its poster; a photo book mounts the photo uncropped in a gilt frame with the name set left beneath. */
.fb .fb-book { --ar: .75; --sw: max(44px, calc(var(--sw0) * var(--kw, var(--k)) * 1px)); }   /* a spine stays a 44px tap target */
.fb .fb-spine { padding: calc(30px * var(--k, 1)) 0 calc(22px * var(--k, 1)); }
.fb .fb-book .fb-spine::before, .fb .fb-book.is-linen .fb-spine::before { opacity: .2; mix-blend-mode: soft-light;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='turbulence' baseFrequency='.35' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"); }
/* raised bands: a ridge of leather over a cord, edged in gilt, near the head and the foot */
.fb .fb-book .fb-spine::after, .fb .fb-book.is-leather .fb-spine::after, .fb .fb-book.is-cloth-label .fb-spine::after { display: block; top: calc(12px * var(--k, 1)); bottom: calc(12px * var(--k, 1));
  border-top: 3px double rgba(222, 190, 120, .8); border-bottom: 3px double rgba(222, 190, 120, .8);
  background: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, .28) 0 2px, transparent 2px), linear-gradient(0deg, transparent 0, rgba(0, 0, 0, .28) 0 2px, transparent 2px); }
.fb .fb-book .fb-sname, .fb .fb-book.is-linen .fb-sname, .fb .fb-book.is-leather .fb-sname { font: 600 17px/1 var(--fb-serif); letter-spacing: .08em; color: #E6C77F;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .45), 0 -1px 0 rgba(255, 236, 190, .18); }
.fb .fb-book .fb-sname.is-long { font-size: 13px !important; letter-spacing: .03em; }
.fb .fb-syear { font: 600 12px/1 var(--fb-serif); letter-spacing: .06em; color: #E6C77F; text-shadow: 0 1px 0 rgba(0, 0, 0, .45); }
/* the title label: dark leather, a gilt frame, gilt letters */
.fb .fb-book.is-cloth-label .fb-sname { width: 70%; padding: 12px 0; justify-content: center; border-radius: 2px; color: #E6C77F;
  background: linear-gradient(90deg, rgba(0, 0, 0, .22), transparent 30%, transparent 70%, rgba(0, 0, 0, .22)), #5A1E1A;
  box-shadow: inset 0 0 0 1px rgba(230, 199, 127, .85), inset 0 0 0 3px #5A1E1A, inset 0 0 0 4px rgba(230, 199, 127, .5), 0 1px 2px rgba(0, 0, 0, .4); }
.fb .fb-book.is-cloth-label:nth-child(odd) .fb-sname { background-color: #1F3A2A; }
/* the face: the cover board in the book's own colour; the picture whole, then the name set left with a gilt rule */
.fb .fb-item.is-open .fb-book:not(.is-poster) { width: calc(var(--face) * 1.04); }
.fb .fb-book:not(.is-poster) .fb-cover { display: flex; flex-direction: column; align-items: flex-start;
  padding: calc(18px * var(--k, 1)) calc(16px * var(--k, 1)) calc(14px * var(--k, 1)) calc(20px * var(--k, 1)); }
.fb .fb-book:not(.is-poster) .fb-cover img { position: relative !important; inset: auto !important; flex: none; width: auto !important; height: auto !important;
  max-width: 100%; max-height: 58%; object-fit: contain; outline: 1px solid rgba(230, 199, 127, .7); outline-offset: 4px;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--spine) 70%, #000), 0 2px 8px rgba(0, 0, 0, .45); }
.fb .fb-book:not(.is-poster) .fb-name { position: relative !important; inset: auto !important; margin-top: calc(20px * var(--k, 1)); padding-bottom: calc(10px * var(--k, 1));
  border-bottom: 1px solid rgba(230, 199, 127, .55); font: 600 22px/1.3 var(--fb-serif) !important; color: #E6C77F; text-align: left; text-wrap: pretty; }
.fb .fb-book:not(.is-poster) .fb-year { position: relative !important; inset: auto !important; margin-top: auto; font: 500 13px/1 var(--fb-serif); letter-spacing: .08em; color: #E6C77F; }
/* a poster book: as wide as its poster, the whole poster, nothing cut */
.fb .fb-item.is-open .fb-book.is-poster { width: calc(var(--bh) * var(--ar)); }
.fb .fb-book.is-poster .fb-cover img { object-fit: contain !important; background: color-mix(in srgb, var(--spine) 88%, #000); }
.fb .fb-book.is-poster .fb-year { display: none; }
@media (max-width: 760px) {
  .fb .fb-book:not(.is-poster) .fb-name { font-size: 15px !important; margin-top: 12px; }
  .fb .fb-book .fb-sname, .fb .fb-book.is-linen .fb-sname, .fb .fb-book.is-leather .fb-sname { font-size: 13px; }
  .fb .fb-book .fb-sname.is-long { font-size: 12px !important; }
  .fb .fb-book.is-cloth-label .fb-sname { font-size: 13px; }
}

/* ---- v4, Bibles (owner 2026-12-03 "책들은 조금 더 성경책처럼 … 왜 표지밖에 안보이냐"): every book is bound like a Bible — deep
   leather in its photo's hue (never pastel), gilt page edges along the head; a
   poster book is dressed like the others: leather boards, the poster mounted whole in a gilt frame, the name and date below.
   Lighter to draw ("랙"): one box-shadow per book instead of two drop-shadow filters, no blended grain layer. */
.fb .fb-book { --leather: color-mix(in oklab, var(--spine) 46%, #1C130D); filter: none; }
.fb .fb-spine { background: linear-gradient(90deg, color-mix(in oklab, var(--leather) 70%, #000) 0, var(--leather) 12%, color-mix(in oklab, var(--leather) 84%, #fff) 44%, var(--leather) 76%, color-mix(in oklab, var(--leather) 72%, #000) 100%), var(--leather);
  box-shadow: inset 0 3px 0 -1px rgba(255, 255, 255, .1), inset -2px 0 3px rgba(0, 0, 0, .3), 0 10px 12px -8px rgba(30, 20, 8, .45); }
.fb .fb-book .fb-spine::before, .fb .fb-book.is-linen .fb-spine::before { mix-blend-mode: normal; opacity: .07; }
.fb .fb-cover { background: var(--leather); }
/* gilt page edges at the head, as on a Bible */
.fb .fb-book::before { height: 5px; left: 3px; right: 3px; border-radius: 2px 2px 0 0; opacity: 1;
  background: linear-gradient(180deg, #F3DB97, #C9A24E 55%, #8E6A28); box-shadow: 0 1px 0 rgba(0, 0, 0, .25); }
/* a poster book, dressed like the others */
.fb .fb-item.is-open .fb-book.is-poster { width: calc(var(--face) * 1.04); }
.fb .fb-book.is-poster .fb-cover { display: flex; flex-direction: column; align-items: flex-start;
  padding: calc(18px * var(--k, 1)) calc(16px * var(--k, 1)) calc(14px * var(--k, 1)) calc(20px * var(--k, 1)); }
.fb .fb-book.is-poster .fb-cover img { position: relative !important; inset: auto !important; flex: none; width: auto !important; height: auto !important;
  max-width: 100%; max-height: 64%; object-fit: contain !important; background: none; outline: 1px solid rgba(230, 199, 127, .7) !important; outline-offset: 4px;
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--leather) 70%, #000), 0 2px 8px rgba(0, 0, 0, .45) !important; }
.fb .fb-book.is-poster .fb-name { display: block; position: relative !important; inset: auto !important; margin-top: calc(18px * var(--k, 1)); padding-bottom: calc(8px * var(--k, 1));
  border-bottom: 1px solid rgba(230, 199, 127, .55); font: 600 20px/1.3 var(--fb-serif) !important; color: #E6C77F; text-align: left; text-wrap: pretty; }
.fb .fb-book.is-poster .fb-year { display: block; position: relative !important; inset: auto !important; margin-top: auto; font: 500 13px/1 var(--fb-serif); letter-spacing: .08em;
  color: #E6C77F; text-shadow: none; }
@media (max-width: 760px) { .fb .fb-book.is-poster .fb-name { font-size: 15px !important; margin-top: 12px; } }

/* one column per name in one letter size (focus.js fitNames, owner 2026-12-03 "비율이나 글자가 잘 안맞잖아"): 15px across the
   shelf; only a name that does not fit steps down on its own spine; never cut */
.fb .fb-book .fb-sname, .fb .fb-book .fb-sname.is-long { white-space: nowrap; line-height: 1; letter-spacing: .08em; font-size: 15px !important;
  max-height: calc(100% - 44px); overflow: hidden; }
.fb .fb-book .fb-sname.fs-13 { font-size: 13px !important; letter-spacing: .05em; }
.fb .fb-book .fb-sname.fs-12 { font-size: 12px !important; letter-spacing: .02em; }
.fb .fb-book .fb-sname.is-latin { text-orientation: sideways; letter-spacing: .1em; }
.fb .fb-book.is-cloth-label .fb-sname { padding: 6px 0; }
/* phones: the year needs ~20px under the name, not 44 (the spines are 0.62 of their desktop height) */
@media (max-width: 760px) { .fb .fb-book .fb-sname, .fb .fb-book .fb-sname.is-long { max-height: calc(100% - 18px); } .fb .fb-spine { padding-top: 14px; } }
/* phones: a label box leaves too little room on a short spine, so the name is stamped straight on the leather like the rest */
.fb .fb-book.is-cloth-label.no-label .fb-sname, .fb .fb-book.is-cloth-label.no-label:nth-child(odd) .fb-sname { width: auto; padding: 0; margin-top: 0; background: none; box-shadow: none; }

/* ---- v5, a walnut bookcase of Bibles (owner 2026-12-03 "선반 디테일이 너무 아쉬운데 … 책 디자인도 … 글자나 이런것도";
   board docs/boards/shelf-bible-v5.png): a walnut case — back panel, side boards, top rail, a thick grained plank with a
   rounded lip; the books one set of Bibles of one height in six leathers, a gilt cross at the head, raised bands with gilt
   rules near head and foot, the title stamped large in gilt, the year between the foot bands; no title labels. */
.fb .fb-wrap { margin-top: 32px; padding: 16px 16px 24px; border-radius: 3px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .018) 0 2px, transparent 2px 7px), linear-gradient(180deg, #2A1A10, #3A2416 60%, #2E1C11);
  box-shadow: inset 0 0 0 14px #5B3821, inset 0 0 0 15px rgba(0, 0, 0, .35), inset 0 18px 22px rgba(0, 0, 0, .5), 0 18px 26px -16px rgba(40, 24, 10, .55); }
.fb .fb-wrap::before { content: ""; position: absolute; inset: 0; border-radius: 3px; pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 220, 170, .14), transparent 2.5%, transparent 97.5%, rgba(0, 0, 0, .25)), linear-gradient(180deg, rgba(255, 220, 170, .16), transparent 14px); }
.fb .fb-shelf { position: relative; z-index: 1; padding: 24px 8px 0; }
/* the plank: a grained walnut board, its top catching light, its front lip rounded */
.fb .fb-wrap::after { left: 0; right: 0; bottom: 0; height: 22px; border-radius: 0 0 3px 3px; z-index: 2;
  background: linear-gradient(180deg, #8A5A36 0, #6E4426 5px, #5B3821 6px, #4A2C19 70%, #3A2213),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .08) 0 1px, transparent 1px 9px, rgba(255, 255, 255, .03) 9px 10px, transparent 10px 23px);
  background-blend-mode: normal, overlay; box-shadow: inset 0 1px 0 rgba(255, 228, 190, .45), 0 10px 16px -6px rgba(30, 16, 6, .55); }
@media (max-width: 760px) { .fb .fb-wrap { margin: 24px calc(-1 * var(--margin, 16px)) 0; border-radius: 0; padding: 10px 10px 18px; }
  .fb .fb-wrap::after { height: 18px; } .fb .fb-shelf { margin: 0; padding: 16px 8px 0; } }

/* one set: one height, six Bible leathers in turn */
.fb .fb-book { --bh0: 300 !important; }
.fb .fb-item:nth-child(6n+1) .fb-book { --leather: #1F1B19; }
.fb .fb-item:nth-child(6n+2) .fb-book { --leather: #5A1C1C; }
.fb .fb-item:nth-child(6n+3) .fb-book { --leather: #1D2A44; }
.fb .fb-item:nth-child(6n+4) .fb-book { --leather: #1F3A2C; }
.fb .fb-item:nth-child(6n+5) .fb-book { --leather: #4A2E1D; }
.fb .fb-item:nth-child(6n) .fb-book { --leather: #34383D; }
/* the spine: rounded leather, a gilt cross at the head, the title from below the head bands */
.fb .fb-spine { padding: 48px 0 40px; border-radius: 4px 4px 3px 3px;
  background: linear-gradient(90deg, rgba(0, 0, 0, .45) 0, rgba(0, 0, 0, .05) 16%, rgba(255, 240, 215, .16) 42%, rgba(255, 240, 215, .05) 58%, rgba(0, 0, 0, .12) 82%, rgba(0, 0, 0, .5) 100%), var(--leather); }
.fb .fb-book .fb-spine::before, .fb .fb-book.is-linen .fb-spine::before, .fb .fb-book.is-leather .fb-spine::before, .fb .fb-book.is-cloth-label .fb-spine::before { opacity: 1; mix-blend-mode: normal; inset: auto; left: 50%; top: calc(14px * var(--k, 1)); width: 12px; height: 16px; margin-left: -6px;
  background: linear-gradient(#E6C77F, #C9A24E) 50% 0 / 2px 100% no-repeat, linear-gradient(#E6C77F, #C9A24E) 50% 30% / 100% 2px no-repeat; }
/* raised bands: a ridge between two gilt rules, near the head and near the foot */
.fb .fb-book .fb-spine::after, .fb .fb-book.is-leather .fb-spine::after, .fb .fb-book.is-cloth-label .fb-spine::after { display: block; border: 0;
  top: calc(34px * var(--k, 1)); bottom: calc(30px * var(--k, 1));
  background:
    linear-gradient(180deg, #D9B873 0 1px, rgba(0, 0, 0, .5) 1px 2px, rgba(255, 240, 215, .18) 2px 4px, rgba(0, 0, 0, .35) 4px 7px, #D9B873 7px 8px, transparent 8px) 0 0 / 100% 8px no-repeat,
    linear-gradient(180deg, #D9B873 0 1px, rgba(0, 0, 0, .5) 1px 2px, rgba(255, 240, 215, .18) 2px 4px, rgba(0, 0, 0, .35) 4px 7px, #D9B873 7px 8px, transparent 8px) 0 100% / 100% 8px no-repeat; }
/* the title, stamped large in gilt; no label boxes */
.fb .fb-book .fb-sname, .fb .fb-book .fb-sname.is-long { font: 600 17px/1 var(--fb-serif) !important; letter-spacing: .1em; color: #E8CB86;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .55), 0 -1px 0 rgba(255, 240, 200, .2); max-height: calc(100% - 20px); }
.fb .fb-book .fb-sname.fs-15 { font-size: 15px !important; }
.fb .fb-book .fb-sname.fs-13 { font-size: 13px !important; letter-spacing: .06em; }
.fb .fb-book .fb-sname.fs-12 { font-size: 12px !important; letter-spacing: .03em; }
.fb .fb-book.is-cloth-label .fb-sname, .fb .fb-book.is-cloth-label:nth-child(odd) .fb-sname { width: auto; padding: 0; margin-top: 0; background: none; box-shadow: none; }
.fb .fb-syear { position: absolute; left: 0; right: 0; bottom: calc(12px * var(--k, 1)); text-align: center; font: 600 12px/1 var(--fb-serif); color: #E8CB86; }
/* the face-out book: its board framed with a gilt double rule */
.fb .fb-item.is-open .fb-cover { box-shadow: inset 0 0 0 7px var(--leather), inset 0 0 0 8px rgba(230, 199, 127, .75), inset 0 0 0 11px var(--leather), inset 0 0 0 12px rgba(230, 199, 127, .45),
  4px 0 0 -1px #EFE7D4, 6px 1px 0 -1px #E2D8C2, 8px 2px 0 -2px #D6CBB2; }
@media (max-width: 760px) {
  .fb .fb-book { --k: .72 !important; }
  .fb .fb-spine { padding: 40px 0 32px; }
  .fb .fb-book .fb-spine::before, .fb .fb-book.is-linen .fb-spine::before, .fb .fb-book.is-leather .fb-spine::before, .fb .fb-book.is-cloth-label .fb-spine::before { top: 8px; }
  .fb .fb-book .fb-spine::after, .fb .fb-book.is-leather .fb-spine::after, .fb .fb-book.is-cloth-label .fb-spine::after { top: 26px; bottom: 20px; }
  .fb .fb-book .fb-sname, .fb .fb-book .fb-sname.is-long { max-height: 100%; font-size: 15px !important; }   /* phones start a step smaller, so a row reads even */
  .fb .fb-book .fb-sname.fs-13 { font-size: 13px !important; }
  .fb .fb-book .fb-sname.fs-12 { font-size: 12px !important; }
  .fb .fb-syear { bottom: 6px; }
}

/* ---- v5.1 details (owner 2026-12-03 "뭔가 아직 디테일이 아쉽도 이게 뭐지"): the title sits centred between the bands as on a
   bound Bible, not crowded under the head; the bands are raised ridges (light above, shadow below), not flat lines; the
   face-out book's page edge is gilt, not a white strip */
.fb .fb-spine { justify-content: center; }
.fb .fb-book .fb-spine::after, .fb .fb-book.is-leather .fb-spine::after, .fb .fb-book.is-cloth-label .fb-spine::after {
  background:
    linear-gradient(180deg, #E6C77F 0 1px, rgba(255, 245, 225, .32) 1px 3px, rgba(255, 245, 225, .08) 3px 6px, rgba(0, 0, 0, .42) 6px 9px, #C9A24E 9px 10px, transparent 10px) 0 0 / 100% 10px no-repeat,
    linear-gradient(180deg, #E6C77F 0 1px, rgba(255, 245, 225, .32) 1px 3px, rgba(255, 245, 225, .08) 3px 6px, rgba(0, 0, 0, .42) 6px 9px, #C9A24E 9px 10px, transparent 10px) 0 100% / 100% 10px no-repeat; }
.fb .fb-item.is-open .fb-cover { box-shadow: inset 0 0 0 7px var(--leather), inset 0 0 0 8px rgba(230, 199, 127, .75), inset 0 0 0 11px var(--leather), inset 0 0 0 12px rgba(230, 199, 127, .45),
  3px 0 0 -1px #D9B873, 4px 1px 0 -1px #B8913F, 6px 3px 8px -4px rgba(0, 0, 0, .5); }
/* the title exactly between the bands: the same room above and below (bands 32px in from head and foot, padding 44 each),
   and the trailing letter-space after the last character taken back, so the column's ink is centred, not its box */
.fb .fb-spine { padding: 44px 0; }
.fb .fb-book .fb-spine::after, .fb .fb-book.is-leather .fb-spine::after, .fb .fb-book.is-cloth-label .fb-spine::after { top: 32px; bottom: 32px; }
.fb .fb-book .fb-sname { margin-bottom: -.1em; }
.fb .fb-book .fb-sname.is-latin { margin-bottom: 0; }
@media (max-width: 760px) {
  .fb .fb-spine { padding: 36px 0; }
  .fb .fb-book .fb-spine::after, .fb .fb-book.is-leather .fb-spine::after, .fb .fb-book.is-cloth-label .fb-spine::after { top: 26px; bottom: 26px; }
}
/* ---- the head panel (owner 2026-12-03 "십자가랑 가로 라인이 좀 겹친다"): the cross stood 2px above the head band, so they read as
   one tangle. The head band moves down, leaving the cross its own panel between the gilt cap and the band with clear leather
   above and below; the title keeps the same room to both bands, so it stays centred between them */
.fb .fb-book .fb-spine::before, .fb .fb-book.is-linen .fb-spine::before, .fb .fb-book.is-leather .fb-spine::before, .fb .fb-book.is-cloth-label .fb-spine::before { top: 16px; }
.fb .fb-book .fb-spine::after, .fb .fb-book.is-leather .fb-spine::after, .fb .fb-book.is-cloth-label .fb-spine::after { top: 44px; }
.fb .fb-spine { padding: 56px 0 44px; }
@media (max-width: 760px) {
  .fb .fb-book .fb-spine::before, .fb .fb-book.is-linen .fb-spine::before, .fb .fb-book.is-leather .fb-spine::before, .fb .fb-book.is-cloth-label .fb-spine::before { top: 11px; }
  .fb .fb-book .fb-spine::after, .fb .fb-book.is-leather .fb-spine::after, .fb .fb-book.is-cloth-label .fb-spine::after { top: 36px; }
  .fb .fb-spine { padding: 46px 0 36px; }
}

/* ---- v6, a real leather Bible set (owner 2026-12-03 "성경 디자인이 중국티 나는데 조금더 리얼하게"): what read as Chinese was
   the upright stacked characters, the bright red-and-gold, the gold cap and the flat gold stripes. A Korean leather Bible
   set reads its title turned along the spine, in fine gilt; its bands are raised ridges of the leather itself (light on
   top, shadow under), with one blind-tooled line beside each; the head shows the leather turned over the boards, not gold;
   the leather has grain and a softer, aged colour. */
.fb .fb-item:nth-child(6n+1) .fb-book { --leather: #26211E; }
.fb .fb-item:nth-child(6n+2) .fb-book { --leather: #4A2422; }
.fb .fb-item:nth-child(6n+3) .fb-book { --leather: #24304A; }
.fb .fb-item:nth-child(6n+4) .fb-book { --leather: #27392F; }
.fb .fb-item:nth-child(6n+5) .fb-book { --leather: #47321F; }
.fb .fb-item:nth-child(6n) .fb-book { --leather: #34373B; }
.fb .fb-spine { background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23g)'/%3E%3C/svg%3E") 0 0 / 120px 120px,
    linear-gradient(90deg, rgba(0, 0, 0, .5) 0, rgba(0, 0, 0, .08) 14%, rgba(255, 236, 205, .13) 40%, rgba(255, 236, 205, .04) 60%, rgba(0, 0, 0, .14) 84%, rgba(0, 0, 0, .55) 100%),
    var(--leather);
  background-blend-mode: soft-light, normal, normal; }
/* the head: leather turned over the boards, a soft rounded edge, no gold */
.fb .fb-book::before { height: 6px; left: 2px; right: 2px; border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, color-mix(in oklab, var(--leather) 70%, #fff) 0, var(--leather) 45%, color-mix(in oklab, var(--leather) 70%, #000) 100%);
  box-shadow: none; }
/* a small fine cross, tooled in gilt */
.fb .fb-book .fb-spine::before, .fb .fb-book.is-linen .fb-spine::before, .fb .fb-book.is-leather .fb-spine::before, .fb .fb-book.is-cloth-label .fb-spine::before {
  top: 17px; width: 10px; height: 14px; margin-left: -5px; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .5));
  background: linear-gradient(#DCC089, #B8975A) 50% 0 / 1.5px 100% no-repeat, linear-gradient(#DCC089, #B8975A) 50% 28% / 100% 1.5px no-repeat; }
/* raised bands: two ridges at the head, two at the foot, each a leather bump (light above, shadow below) with a fine
   blind-tooled line under it; only the title and the cross are gilt */
.fb .fb-book .fb-spine::after, .fb .fb-book.is-leather .fb-spine::after, .fb .fb-book.is-cloth-label .fb-spine::after {
  --ridge: linear-gradient(180deg, rgba(0, 0, 0, .35) 0 1px, rgba(255, 236, 205, .2) 1px 3px, rgba(255, 236, 205, .06) 3px 5px, rgba(0, 0, 0, .4) 5px 7px, transparent 7px 9px, rgba(0, 0, 0, .3) 9px 10px, rgba(255, 236, 205, .1) 10px 11px, transparent 11px);
  top: 42px; bottom: 30px;
  background: var(--ridge) 0 0 / 100% 12px no-repeat, var(--ridge) 0 18px / 100% 12px no-repeat,
    var(--ridge) 0 calc(100% - 18px) / 100% 12px no-repeat, var(--ridge) 0 100% / 100% 12px no-repeat; }
/* the title turned along the spine, as Korean books set it; fine gilt, quieter */
.fb .fb-book .fb-sname, .fb .fb-book .fb-sname.is-long { text-orientation: sideways; font: 600 16px/1 var(--fb-serif) !important; letter-spacing: .08em;
  color: #D6BC82; text-shadow: 0 -1px 0 rgba(0, 0, 0, .55), 0 1px 0 rgba(255, 236, 200, .12); max-height: calc(100% - 8px); }
.fb .fb-book .fb-sname.fs-15 { font-size: 15px !important; }
.fb .fb-book .fb-sname.fs-13 { font-size: 14px !important; letter-spacing: .04em; }
.fb .fb-book .fb-sname.fs-12 { font-size: 13px !important; letter-spacing: .02em; }
.fb .fb-spine { padding: 82px 0 60px; }
.fb .fb-syear { color: #C9AE76; font-weight: 500; letter-spacing: .06em; }
@media (max-width: 760px) {
  .fb .fb-book .fb-spine::before, .fb .fb-book.is-linen .fb-spine::before, .fb .fb-book.is-leather .fb-spine::before, .fb .fb-book.is-cloth-label .fb-spine::before { top: 12px; }
  .fb .fb-book .fb-spine::after, .fb .fb-book.is-leather .fb-spine::after, .fb .fb-book.is-cloth-label .fb-spine::after { top: 32px; bottom: 22px;
    background: var(--ridge) 0 0 / 100% 12px no-repeat, var(--ridge) 0 100% / 100% 12px no-repeat; }
  .fb .fb-spine { padding: 52px 0 40px; }
  .fb .fb-book .fb-sname, .fb .fb-book .fb-sname.is-long { font-size: 14px !important; }
  .fb .fb-book .fb-sname.fs-13, .fb .fb-book .fb-sname.fs-12 { font-size: 13px !important; }
}
/* one type scale on the home page (audit 2026-12-04: 13 sizes): the spine titles take two steps of it, 15 and 14 for a
   crowded spine, and the years the 13 step */
@media (min-width: 761px) {
  .fb .fb-book .fb-sname, .fb .fb-book .fb-sname.is-long, .fb .fb-book .fb-sname.fs-15 { font-size: 15px !important; }
  .fb .fb-book .fb-sname.fs-13, .fb .fb-book .fb-sname.fs-12 { font-size: 14px !important; }
}
.fb .fb-syear { font-size: 13px !important; }
