.fo-shelves,
.fo-shelves *,
.fo-shelves *::before,
.fo-shelves *::after,
.fo-pb,
.fo-pb *,
.fo-toast {
  box-sizing: border-box;
}

.fo-shelves {
  --fo-cw: 140px;
  --fo-ch: calc(var(--fo-cw) / 0.68);
  --fo-bar: 22px;
  --fo-gap: 36px;
  --fo-pad: 30px;
  --fo-head: 40px;
  --fo-top: 8px;
  --fo-front: 30px;
  --fo-drop: 16px;
  --fo-lift: 22px;
  --fo-row: calc(var(--fo-head) + var(--fo-ch) + var(--fo-top) + var(--fo-front) + var(--fo-drop));
  --fo-base: calc(var(--fo-drop) + var(--fo-front) + var(--fo-top) / 2);
  --fo-ease: cubic-bezier(0.2, 0.75, 0.2, 1);
  --fo-acrylic: #14151b;
  --fo-acrylic-text: #e7e3d8;
  --fo-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 .9 0 0 0 -.3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.fo-shelf {
  container-type: inline-size;
}

.fo-shelf + .fo-shelf {
  margin-top: 30px;
}

.fo-shelf-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-family: var(--uv-font);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--uv-ink);
}

.fo-shelf-label::after {
  content: "";
  flex: 1 1;
  height: 1px;
  background: var(--uv-line);
}

.fo-shelf-count {
  min-width: 20px;
  padding: 2px 6px;
  font-size: 0.7rem;
  font-weight: 800;
  text-align: center;
  color: var(--uv-gold);
  background: rgba(var(--accent-rgb), 0.1);
  border-radius: 4px;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

.fo-ledge {
  list-style: none;
  margin: 0;
  padding: 0 var(--fo-pad);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0 var(--fo-gap);
  border: 1px solid var(--uv-line);
  border-radius: 6px;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.3);
  background-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.55) 0,
    rgba(0, 0, 0, 0) 24px,
    rgba(0, 0, 0, 0) calc(var(--fo-row) - var(--fo-drop) - var(--fo-front) - var(--fo-top)),
    var(--ink-700) calc(var(--fo-row) - var(--fo-drop) - var(--fo-front) - var(--fo-top)),
    var(--ink-700) calc(var(--fo-row) - var(--fo-drop) - var(--fo-front)),
    var(--bronze) calc(var(--fo-row) - var(--fo-drop) - var(--fo-front)),
    var(--bronze) calc(var(--fo-row) - var(--fo-drop) - var(--fo-front) + 1px),
    var(--ink-925) calc(var(--fo-row) - var(--fo-drop) - var(--fo-front) + 1px),
    var(--ink-925) calc(var(--fo-row) - var(--fo-drop) - 1px),
    #050608 calc(var(--fo-row) - var(--fo-drop) - 1px),
    rgba(0, 0, 0, 0.6) calc(var(--fo-row) - var(--fo-drop)),
    rgba(0, 0, 0, 0) var(--fo-row)
  );
  background-size: 100% var(--fo-row);
  box-shadow: inset 14px 0 18px -14px rgba(0, 0, 0, 0.7), inset -14px 0 18px -14px rgba(0, 0, 0, 0.7);
}

.fo-cell {
  position: relative;
  z-index: 0;
  flex: 0 0 auto;
  width: calc(var(--fo-bar) + var(--fo-cw));
  height: var(--fo-row);
  transform: translateX(var(--shift, 0px));
  transition: transform 0.5s var(--fo-ease);
  animation: fo-in 0.6s ease both;
  animation-delay: calc(min(var(--i, 0), 12) * 45ms);
}

@keyframes fo-in {
  from {
    opacity: 0;
  }
}

.fo-cell:hover,
.fo-cell:focus-within,
.fo-cell.is-active {
  z-index: 3;
}

.fo-progress {
  position: absolute;
  left: 2px;
  bottom: var(--fo-drop);
  width: calc(var(--fo-bar) - 4px);
  height: calc(var(--fo-ch) + var(--fo-top) / 2 + var(--fo-front));
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

.fo-progress-rail {
  position: relative;
  flex: 0 0 var(--fo-ch);
  width: 4px;
  margin-bottom: calc(var(--fo-top) / 2);
  border-radius: 2px;
  background: rgba(236, 238, 244, 0.08);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.fo-progress-fill {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--accent);
  transition: height 0.5s var(--fo-ease);
}

.fo-shelves .fo-progress-pct {
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--fo-front);
  font-family: var(--uv-font);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  color: var(--uv-ink);
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.fo-shelves .fo-book {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--fo-bar);
  width: var(--fo-cw);
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  perspective: 720px;
  perspective-origin: 30% 35%;
  outline: none;
}

.fo-3d,
.fo-shadow {
  position: absolute;
  left: 0;
  bottom: var(--fo-base);
  width: var(--fo-cw);
  height: var(--fo-ch);
}

.fo-shadow {
  background: #000;
  filter: blur(9px);
  transform: translate(14px, -2px) scale(0.94, 0.98) skewX(-3deg);
  transform-origin: 50% 100%;
  opacity: 0.7;
  will-change: transform, opacity;
  transition: transform 0.6s var(--fo-ease), opacity 0.6s var(--fo-ease);
}

.fo-3d {
  transform-style: preserve-3d;
  transform-origin: 50% 100%;
  transform: rotateX(4deg) rotateY(-28deg) rotateZ(var(--tilt, 0deg));
  will-change: transform;
  transition: transform 0.6s var(--fo-ease);
}

.fo-cover {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1px 3px 3px 1px;
  background: var(--ink-850);
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}

.fo-3d::before,
.fo-3d::after {
  content: "";
  position: absolute;
  pointer-events: none;
  transform: translateZ(0.5px);
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}

.fo-3d::before {
  inset: 0;
  border-radius: 1px 3px 3px 1px;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.45),
    inset 10px 0 12px -10px rgba(0, 0, 0, 0.7);
}

.fo-3d::after {
  top: 0;
  bottom: 0;
  left: 7px;
  width: 2px;
  border-left: 1px solid rgba(0, 0, 0, 0.42);
  border-right: 1px solid rgba(236, 238, 244, 0.12);
}

.fo-edge {
  position: absolute;
  top: 3px;
  right: 1px;
  width: var(--th);
  height: calc(100% - 6px);
  transform-origin: 100% 50%;
  transform: rotateY(-90deg) scaleX(var(--k, 0.4));
  background-color: #dcd1b9;
  background-image:
    linear-gradient(to left, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.32) 100%),
    repeating-linear-gradient(to right, rgba(70, 52, 30, 0.16) 0 1px, transparent 1px 2px),
    linear-gradient(to left, #b3a487 0, #b3a487 var(--read), transparent var(--read));
  border-top: 2px solid var(--ink-800);
  border-bottom: 2px solid var(--ink-800);
  border-left: 2px solid var(--ink-800);
  transition: transform 0.6s var(--fo-ease);
}

.fo-shelves .fo-talker {
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--fo-drop);
  height: var(--fo-front);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--uv-font);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  color: var(--ivory-dim);
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
}

/* Chapitres restant à lire : étiquette dans le coin haut droit de la couverture. */
.fo-left {
  position: absolute;
  top: 7px;
  right: 6px;
  z-index: 1;
  padding: 3px 6px 3px;
  border: 1px solid rgba(231, 227, 216, 0.22);
  border-radius: 4px;
  background: color-mix(in srgb, #14151b 78%, transparent);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #f3efe6;
  font-family: var(--uv-font, "Montserrat", sans-serif);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  transform: translateZ(1px);
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}

/* Bande d'une seule rangée qui défile (page d'accueil). */
.fo-shelves.is-strip {
  --fo-cw: 180px;
  --fo-ch: calc(var(--fo-cw) / 0.68);
  --fo-row: calc(var(--fo-head) + var(--fo-ch) + var(--fo-top) + var(--fo-front) + var(--fo-drop));
}

.fo-shelves.is-strip .fo-ledge {
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-left: var(--fo-pad);
  scrollbar-width: thin;
  scrollbar-color: var(--ink-700) transparent;
  touch-action: pan-x pan-y;
}

.fo-shelves.is-strip .fo-ledge::after {
  content: "";
  flex: 0 0 calc(var(--fo-pad) - var(--fo-gap));
}

.fo-shelves.is-strip .fo-cell {
  scroll-snap-align: start;
}

.fo-shelves.is-strip .fo-ledge::-webkit-scrollbar {
  height: 6px;
}

.fo-shelves.is-strip .fo-ledge::-webkit-scrollbar-thumb {
  background: var(--ink-700);
  border-radius: 3px;
}

.fo-shelves .fo-talker span,
.fo-shelves .fo-talker b {
  font-size: inherit;
  line-height: 1;
}

.fo-talker-short {
  display: none;
}

.fo-cell:hover .fo-3d,
.fo-book:focus-visible .fo-3d,
.fo-cell.is-active .fo-3d {
  transform: translateY(calc(var(--fo-lift) * -1)) rotateX(1deg) rotateY(-46deg) rotateZ(0deg);
}

.fo-cell:hover .fo-edge,
.fo-book:focus-visible .fo-edge,
.fo-cell.is-active .fo-edge {
  transform: rotateY(-90deg) scaleX(1);
}

.fo-cell:hover .fo-shadow,
.fo-book:focus-visible .fo-shadow,
.fo-cell.is-active .fo-shadow {
  transform: translate(30px, -6px) scale(0.86, 0.94) skewX(-6deg);
  opacity: 0.4;
}

.fo-cell.is-active .fo-talker {
  color: var(--uv-ink);
}

.fo-book:focus-visible .fo-talker {
  outline: 1px solid var(--bronze);
  outline-offset: -1px;
}

/* Volet bureau : acrylique (fond teinte translucide, flou, grain), comme la feuille mobile. */
.fo-panel {
  position: absolute;
  top: calc(var(--fo-row) - var(--fo-base) - var(--fo-ch) - var(--fo-lift));
  width: var(--fo-panel-w);
  min-height: var(--fo-ch);
  display: flex;
  flex-direction: column;
  padding: 14px 14px 12px;
  color: var(--fo-acrylic-text);
  background: color-mix(in srgb, var(--fo-acrylic) 72%, transparent);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
  backdrop-filter: blur(22px) saturate(1.35);
  border: 1px solid color-mix(in srgb, var(--fo-acrylic-text) 22%, transparent);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
  animation: fo-panel-right 0.45s var(--fo-ease) both;
}

.fo-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: var(--fo-grain);
  opacity: 0.07;
  pointer-events: none;
}

.fo-panel > * {
  position: relative;
}

@supports not (((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) or (-webkit-backdrop-filter: blur(1px))) {
  .fo-panel { background: var(--fo-acrylic); }
}

.fo-panel.is-right {
  left: calc(var(--fo-bar) + var(--fo-cw) + var(--fo-panel-gap));
  border-radius: 0 12px 12px 0;
}

.fo-panel.is-left {
  right: calc(100% + var(--fo-panel-gap));
  border-radius: 12px 0 0 12px;
  animation-name: fo-panel-left;
}

@keyframes fo-panel-right {
  from {
    opacity: 0;
    -webkit-clip-path: inset(0 100% 0 0);
            clip-path: inset(0 100% 0 0);
    transform: translateX(-28px);
  }
  to {
    opacity: 1;
    -webkit-clip-path: inset(0 0 0 0);
            clip-path: inset(0 0 0 0);
    transform: none;
  }
}

@keyframes fo-panel-left {
  from {
    opacity: 0;
    -webkit-clip-path: inset(0 0 0 100%);
            clip-path: inset(0 0 0 100%);
    transform: translateX(28px);
  }
  to {
    opacity: 1;
    -webkit-clip-path: inset(0 0 0 0);
            clip-path: inset(0 0 0 0);
    transform: none;
  }
}

/* Contenu du volet et de la feuille (la feuille est rendue hors de la page). */
.fo-pb {
  display: flex;
  flex: 1 1;
  flex-direction: column;
  font-family: var(--uv-font, "Montserrat", sans-serif);
  color: inherit;
}

.fo-pb p,
.fo-pb h4 {
  margin: 0;
}

.fo-pb .fo-pb-status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  color: color-mix(in srgb, currentColor 62%, transparent);
}

.fo-pb .fo-pb-status i {
  font-size: 10px;
  color: var(--accent, #d63a5a);
}

.fo-pb .fo-pb-title {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fo-pb .fo-pb-meta {
  margin-top: 4px;
  font-size: 12px;
  color: color-mix(in srgb, currentColor 72%, transparent);
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

.fo-pb .fo-pb-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--accent-deep, #8a2539);
  color: #f3efe6;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.fo-pb .fo-pb-cta:hover,
.fo-pb .fo-pb-cta:focus-visible {
  background: var(--accent, #d63a5a);
  outline: none;
}

.fo-pb .fo-pb-cta i {
  font-size: 10px;
}

.fo-pb-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent);
}

.fo-pb-set {
  display: flex;
  gap: 2px;
}

.fo-pb-sep {
  width: 1px;
  height: 18px;
  background: color-mix(in srgb, currentColor 14%, transparent);
}

.fo-pb .fo-ico,
.fo-pb-tools .fb-btn.fb-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: color-mix(in srgb, currentColor 62%, transparent);
  font-size: 12px;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.fo-pb-tools .fb-btn.fb-icon {
  color: #a9adbb;
}

.fo-pb .fo-ico:hover,
.fo-pb .fo-ico:focus-visible,
.fo-pb-tools .fb-btn.fb-icon:hover {
  color: #f3efe6;
  background: color-mix(in srgb, #f3efe6 8%, transparent);
  outline: none;
}

.fo-pb .fo-ico.is-current,
.fo-pb-tools .fb-btn.fb-icon.fb-on {
  color: var(--accent, #d63a5a);
  border-color: rgba(var(--accent-rgb, 214, 58, 90), 0.4);
  background: rgba(var(--accent-rgb, 214, 58, 90), 0.1);
}

.fo-pb .fo-ico.is-danger:hover,
.fo-pb .fo-ico.is-danger:focus-visible {
  color: #e0717f;
  background: rgba(214, 58, 90, 0.12);
}

/* Variante feuille mobile */
.fo-pb.is-sheet {
  gap: 14px;
  padding-bottom: calc(6px + env(safe-area-inset-bottom));
}

.fo-pb-hero {
  display: flex;
  gap: 14px;
  align-items: center;
}

.fo-pb-book {
  --fo-cw: 104px;
  --fo-ch: calc(var(--fo-cw) / 0.68);
  --fo-base: 0px;
  position: relative;
  flex: 0 0 auto;
  width: calc(var(--fo-cw) + 18px);
  height: calc(var(--fo-ch) + 8px);
  perspective: 620px;
  perspective-origin: 30% 40%;
}

.fo-pb-book .fo-3d {
  bottom: 0;
  transform: rotateX(4deg) rotateY(-16deg);
  animation: fo-book-open 0.75s var(--fo-ease, cubic-bezier(0.2, 0.75, 0.2, 1)) 0.12s both;
  will-change: transform;
}

.fo-pb-book .fo-edge {
  animation: fo-edge-open 0.75s var(--fo-ease, cubic-bezier(0.2, 0.75, 0.2, 1)) 0.12s both;
}

.fo-pb-book::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 0;
  bottom: -6px;
  height: 10px;
  background: #000;
  filter: blur(7px);
  opacity: 0.6;
}

@keyframes fo-book-open {
  from {
    transform: rotateX(4deg) rotateY(-16deg);
  }
  to {
    transform: translateY(-6px) rotateX(1deg) rotateY(-40deg);
  }
}

@keyframes fo-edge-open {
  from {
    transform: rotateY(-90deg) scaleX(var(--k, 0.4));
  }
  to {
    transform: rotateY(-90deg) scaleX(1);
  }
}

.fo-pb-hero-text {
  display: flex;
  flex: 1 1;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.fo-pb span {
  font-size: inherit;
}

.fo-pb .fo-pb-left {
  font-weight: 500;
  color: color-mix(in srgb, currentColor 62%, transparent);
}

.fo-pb-track {
  height: 4px;
  border-radius: 2px;
  background: color-mix(in srgb, currentColor 12%, transparent);
  overflow: hidden;
}

.fo-pb-track > span {
  display: block;
  height: 100%;
  background: var(--accent, #d63a5a);
}

.fo-pb .fo-pb-pct {
  font-size: 12px;
  font-weight: 700;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

.fo-pb.is-sheet .fo-pb-cta {
  margin-top: 0;
  padding: 14px 16px;
  font-size: 14px;
  border-radius: 12px;
}

.fo-pb-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: color-mix(in srgb, currentColor 5%, transparent);
  font-size: 14px;
  font-weight: 600;
}

.fo-pb .fo-pb-label {
  margin-bottom: -6px;
  font-size: 12px;
  font-weight: 700;
  color: color-mix(in srgb, currentColor 62%, transparent);
}

.fo-pb-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 8px;
  gap: 8px;
}

.fo-pb .fo-pb-opt,
.fo-pb .fo-pb-remove {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, currentColor 5%, transparent);
  color: inherit;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.fo-pb .fo-pb-opt i {
  width: 16px;
  text-align: center;
  color: color-mix(in srgb, currentColor 62%, transparent);
}

.fo-pb .fo-pb-opt.is-current {
  border-color: rgba(var(--accent-rgb, 214, 58, 90), 0.55);
  background: rgba(var(--accent-rgb, 214, 58, 90), 0.14);
}

.fo-pb .fo-pb-opt.is-current i {
  color: var(--accent, #d63a5a);
}

.fo-pb .fo-pb-remove {
  justify-content: center;
  color: #e0717f;
  border-color: rgba(214, 58, 90, 0.35);
  background: transparent;
}

.fo-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: calc(100vw - 32px);
  padding: 12px 14px 12px 16px;
  transform: translateX(-50%);
  background: var(--ink-850);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
  font-family: var(--uv-font);
  font-size: 13px;
  color: var(--ivory-dim);
  animation: fo-toast-in 0.25s ease both;
}

@keyframes fo-toast-in {
  from {
    opacity: 0;
    transform: translate(-50%, 10px);
  }
}

.fo-toast span {
  font-size: inherit;
}

.fo-toast button {
  flex-shrink: 0;
  margin: 0;
  padding: 6px 10px;
  border: 1px solid rgba(var(--accent-rgb), 0.45);
  border-radius: 5px;
  background: transparent;
  color: var(--uv-ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.fo-toast button:hover {
  background: rgba(var(--accent-rgb), 0.14);
}

/* Mobile : trois œuvres par rangée, largeur calculée sur la tablette. */
@media (max-width: 720px) {
  .fo-shelves {
    --fo-bar: 12px;
    --fo-gap: 6px;
    --fo-pad: 4px;
    --fo-head: 22px;
    --fo-front: 24px;
    --fo-drop: 10px;
    --fo-lift: 10px;
  }
  .fo-ledge {
    --fo-cw: calc((100cqw - 2 * var(--fo-pad) - 2 * var(--fo-gap) - 2px) / 3 - var(--fo-bar) - 0.5px);
    --fo-ch: calc(var(--fo-cw) / 0.68);
    --fo-row: calc(var(--fo-head) + var(--fo-ch) + var(--fo-top) + var(--fo-front) + var(--fo-drop));
    --fo-base: calc(var(--fo-drop) + var(--fo-front) + var(--fo-top) / 2);
  }
  .fo-cell { transform: none; }
  .fo-shelves.is-strip .fo-ledge {
    --fo-cw: 124px;
    --fo-gap: 12px;
    --fo-pad: 10px;
  }
  .fo-shelves.is-strip .fo-progress-pct {
    display: flex;
    width: 100%;
    font-size: 9px;
    white-space: nowrap;
  }
  .fo-shelves.is-strip .fo-talker-short b { display: none; }
  .fo-left { top: 5px; right: 4px; padding: 2px 4px; font-size: 9px; }
  .fo-shelves .fo-talker { font-size: 10px; }
  .fo-shelves .fo-progress-pct { display: none; }
  .fo-talker-full { display: none; }
  .fo-talker-short {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
  }
  .fo-talker-short b {
    font-weight: 800;
    color: var(--uv-ink);
  }
  .fo-progress { left: 0; width: var(--fo-bar); }
  .fo-progress-rail { width: 3px; }
  .fo-3d { transform: rotateX(4deg) rotateY(-16deg) rotateZ(var(--tilt, 0deg)); }
  .fo-toast { bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .fo-cell,
  .fo-panel { animation: none; }
  .fo-cell,
  .fo-3d,
  .fo-shadow,
  .fo-edge,
  .fo-progress-fill {
    transition: none;
  }
}

.lp-zone {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 20px;
  padding: 24px;
  background: var(--surface-zone, #16181f);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  color: var(--uv-ink, #eceef4);
  font-family: var(--uv-font, var(--font-sans));
}

.lp-zone::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  pointer-events: none;
}

.lp-zone > * {
  position: relative;
  z-index: 1;
}

.lp-zone .lp-head {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--uv-line, rgba(236, 238, 244, 0.1));
}

.lp-zone .lp-head::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 80px;
  height: 1px;
  background: var(--uv-red, #6d2638);
}

.lp-zone .lp-head h2 {
  margin: 0;
  font-family: var(--uv-font, var(--font-sans));
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.25;
  color: var(--uv-ink, #eceef4);
}

.lp-zone .lp-all {
  flex: none;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--uv-muted, #8b8f9c);
  text-decoration: underline;
  -webkit-text-decoration-color: var(--uv-line, rgba(236, 238, 244, 0.1));
          text-decoration-color: var(--uv-line, rgba(236, 238, 244, 0.1));
  text-underline-offset: 4px;
}

.lp-zone .lp-card {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  grid-gap: 28px;
  gap: 28px;
  align-items: center;
}

.lp-zone .lp-card.is-plain {
  grid-template-columns: minmax(0, 1fr);
}

.lp-zone .lp-cover {
  display: block;
  aspect-ratio: 1200 / 630;
  overflow: hidden;
  border: 1px solid var(--uv-line, rgba(236, 238, 244, 0.1));
  border-radius: 8px;
  background: var(--ink-950, #0a0b0f);
}

.lp-zone .lp-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lp-zone .lp-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.lp-zone .lp-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--uv-gold, #9b815d);
}

.lp-zone .lp-title {
  margin: 0;
  font-family: var(--uv-font, var(--font-sans));
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.3;
}

.lp-zone .lp-title a {
  color: var(--uv-ink, #eceef4);
  text-decoration: none;
}

.lp-zone .lp-excerpt {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ivory-dim, #a9adbb);
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.lp-zone .lp-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  margin-top: 6px;
}

.lp-zone .lp-read {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border: 1px solid var(--uv-red, #6d2638);
  border-radius: 6px;
  background: var(--uv-red, #6d2638);
  color: var(--uv-ink, #eceef4);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.lp-zone .lp-count {
  font-size: 0.85rem;
  color: var(--uv-muted, #8b8f9c);
}

.lp-zone a:focus-visible {
  outline: 1px solid var(--uv-gold, #9b815d);
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .lp-zone {
    padding: 16px;
  }
  .lp-zone .lp-head {
    margin-bottom: 16px;
  }
  .lp-zone .lp-head h2 {
    font-size: 1.2rem;
    white-space: nowrap;
  }
  .lp-zone .lp-all {
    font-size: 0.78rem;
  }
  .lp-zone .lp-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .lp-zone .lp-title {
    font-size: 1.12rem;
  }
  .lp-zone .lp-excerpt {
    font-size: 0.9rem;
  }
  .lp-zone .lp-foot {
    justify-content: space-between;
  }
}

