/* ISOLELE page-level finish layer.  All selectors are scoped by the route stored on #app. */

#app[data-route] > main {
  min-height: 100vh;
  background: var(--isolele-bg, #fff) !important;
  color: var(--isolele-text, #1a1a1a);
  transition: background-color .8s ease, color .8s ease;
}

#app[data-route$="/characters"] > main,
#app[data-route$="/comics"] > main,
#app[data-route$="/games"] > main,
#app[data-route$="/books/zaiire"] > main,
#app[data-route$="/privacy"] > main,
#app[data-route$="/careers"] > main,
#app[data-route$="/contact"] > main {
  padding-top: clamp(4.5rem, 7vw, 6.5rem);
}

#app[data-route$="/characters"] main section,
#app[data-route$="/comics"] main section,
#app[data-route$="/games"] main section,
#app[data-route$="/books/zaiire"] main section,
#app[data-route$="/privacy"] main section,
#app[data-route$="/careers"] main section,
#app[data-route$="/contact"] main section {
  scroll-margin-top: 5rem;
}

#app[data-route$="/characters"] h1,
#app[data-route$="/characters"] h2,
#app[data-route$="/characters"] h3,
#app[data-route$="/comics"] h1,
#app[data-route$="/comics"] h2,
#app[data-route$="/comics"] h3,
#app[data-route$="/games"] h1,
#app[data-route$="/games"] h2,
#app[data-route$="/games"] h3,
#app[data-route$="/books/zaiire"] h1,
#app[data-route$="/books/zaiire"] h2,
#app[data-route$="/books/zaiire"] h3 {
  text-wrap: balance;
  letter-spacing: .02em;
}

#app[data-route$="/characters"] article,
#app[data-route$="/comics"] article,
#app[data-route$="/games"] article,
#app[data-route$="/books/zaiire"] article {
  transition: transform .35s cubic-bezier(.22, .61, .36, 1), box-shadow .35s ease, border-color .35s ease;
}

#app[data-route$="/characters"] article:hover,
#app[data-route$="/comics"] article:hover,
#app[data-route$="/games"] article:hover,
#app[data-route$="/books/zaiire"] article:hover {
  transform: translateY(-4px);
}

#app[data-route$="/characters"] button,
#app[data-route$="/comics"] button,
#app[data-route$="/games"] button,
#app[data-route$="/books/zaiire"] button,
#app[data-route$="/privacy"] button,
#app[data-route$="/careers"] button,
#app[data-route$="/contact"] button {
  transition: color .3s ease, background-color .3s ease, border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}

#app[data-route$="/characters"] button:focus-visible,
#app[data-route$="/comics"] button:focus-visible,
#app[data-route$="/games"] button:focus-visible,
#app[data-route$="/books/zaiire"] button:focus-visible,
#app[data-route$="/privacy"] button:focus-visible,
#app[data-route$="/careers"] button:focus-visible,
#app[data-route$="/contact"] button:focus-visible {
  outline: 2px solid var(--isolele-accent, #b8860b);
  outline-offset: 3px;
}

#app[data-route$="/privacy"] section,
#app[data-route$="/careers"] section,
#app[data-route$="/contact"] section {
  max-width: 72rem;
  margin-inline: auto;
}

@media (max-width: 1023px) {
  #app[data-route] > main {
    padding-bottom: 6.5rem;
  }

  #app[data-route$="/characters"] article,
  #app[data-route$="/comics"] article,
  #app[data-route$="/games"] article,
  #app[data-route$="/books/zaiire"] article {
    transform: none !important;
  }

  #app[data-route$="/characters"] article:active,
  #app[data-route$="/comics"] article:active,
  #app[data-route$="/games"] article:active,
  #app[data-route$="/books/zaiire"] article:active {
    transform: scale(.985) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #app[data-route] *, #app[data-route] *::before, #app[data-route] *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}


/* Final interaction and institutional-page finish layer. */
.home-news-history-button {
  margin-left: .75rem;
  border-color: var(--isolele-accent, #b8860b);
  color: var(--isolele-accent, #b8860b);
  background: transparent;
}
.home-news-history-button:hover,
.home-news-history-button:focus-visible {
  color: var(--isolele-bg, #fff);
  background: var(--isolele-accent, #b8860b);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(184, 134, 11, .2);
}
.news-home-card-changing {
  animation: home-news-card-fade .65s ease both;
}
@keyframes home-news-card-fade {
  from { opacity: .25; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

#app[data-route$="/careers"] > main,
#app[data-route$="/privacy"] > main,
#app[data-route$="/contact"] > main {
  background:
    radial-gradient(circle at 12% 12%, color-mix(in srgb, var(--isolele-accent, #b8860b) 10%, transparent), transparent 30rem),
    var(--isolele-bg, #fff) !important;
}
#app[data-route$="/careers"] main section,
#app[data-route$="/privacy"] main section,
#app[data-route$="/contact"] main section {
  width: min(100% - 2rem, 72rem);
  padding: clamp(2rem, 5vw, 4.75rem) clamp(1.25rem, 4vw, 4rem);
  border: 1px solid color-mix(in srgb, var(--isolele-accent, #b8860b) 28%, transparent);
  border-radius: 1.5rem;
  background: color-mix(in srgb, var(--isolele-bg, #fff) 92%, var(--isolele-accent, #b8860b));
  box-shadow: 0 24px 70px rgba(0, 0, 0, .08);
}
#app[data-route$="/careers"] main section > div:first-child,
#app[data-route$="/privacy"] main section > div:first-child,
#app[data-route$="/contact"] main section > div:first-child {
  margin-bottom: clamp(2rem, 5vw, 4rem);
}
#app[data-route$="/careers"] main h1,
#app[data-route$="/privacy"] main h1,
#app[data-route$="/contact"] main h1 {
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: .98;
  letter-spacing: -.045em;
  text-wrap: balance;
}
#app[data-route$="/careers"] main h2,
#app[data-route$="/privacy"] main h2,
#app[data-route$="/contact"] main h2 {
  margin-top: 2rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid color-mix(in srgb, var(--isolele-accent, #b8860b) 34%, transparent);
  font-size: clamp(1.25rem, 2vw, 1.85rem);
  letter-spacing: .02em;
}
#app[data-route$="/careers"] main h3,
#app[data-route$="/privacy"] main h3,
#app[data-route$="/contact"] main h3 {
  margin-top: 1.35rem;
  color: var(--isolele-accent, #b8860b);
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
#app[data-route$="/careers"] main p,
#app[data-route$="/privacy"] main p,
#app[data-route$="/contact"] main p,
#app[data-route$="/careers"] main li,
#app[data-route$="/privacy"] main li,
#app[data-route$="/contact"] main li {
  color: var(--isolele-text-secondary, #5b5b5b);
  line-height: 1.8;
}
#app[data-route$="/careers"] main .space-y-8 > div:has(h2),
#app[data-route$="/careers"] main .space-y-8 > div:has(h3),
#app[data-route$="/privacy"] main .space-y-8 > div:has(h2),
#app[data-route$="/contact"] main .space-y-8 > div:has(h2) {
  margin-top: 1.5rem;
  padding: 1.25rem clamp(1rem, 2vw, 1.75rem);
  border: 1px solid color-mix(in srgb, var(--isolele-accent, #b8860b) 20%, transparent);
  border-radius: 1rem;
  background: color-mix(in srgb, var(--isolele-bg, #fff) 96%, var(--isolele-accent, #b8860b));
}
#app[data-route$="/careers"] main ul,
#app[data-route$="/privacy"] main ul,
#app[data-route$="/contact"] main ul {
  display: grid;
  gap: .65rem;
  margin-top: .9rem;
  padding-left: 1.2rem;
}
#app[data-route$="/careers"] main li::marker,
#app[data-route$="/privacy"] main li::marker,
#app[data-route$="/contact"] main li::marker {
  color: var(--isolele-accent, #b8860b);
}
#app[data-route$="/careers"] main a[href^="mailto:"],
#app[data-route$="/contact"] main a[href^="mailto:"] {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-top: .7rem;
  padding: .8rem 1.1rem;
  border: 1px solid var(--isolele-accent, #b8860b);
  border-radius: 999px;
  color: var(--isolele-accent, #b8860b);
  font-weight: 800;
  transition: background-color .25s ease, color .25s ease, transform .25s ease;
}
#app[data-route$="/careers"] main a[href^="mailto:"]:hover,
#app[data-route$="/contact"] main a[href^="mailto:"]:hover {
  color: var(--isolele-bg, #fff);
  background: var(--isolele-accent, #b8860b);
  transform: translateY(-2px);
}
#app[data-route$="/privacy"] main strong,
#app[data-route$="/careers"] main strong,
#app[data-route$="/contact"] main strong {
  color: var(--isolele-text, #1a1a1a);
}

.article-detail-page {
  min-height: 100vh;
}
.article-detail-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: center;
  max-width: 78rem !important;
  margin-inline: auto !important;
  padding: clamp(2rem, 7vw, 7rem) clamp(1rem, 4vw, 4rem) !important;
}
.article-detail-media img {
  display: block;
  width: 100%;
  min-height: 28rem;
  object-fit: cover;
  border-radius: 1.5rem;
  box-shadow: 0 30px 80px rgba(0,0,0,.18);
}
.article-detail-kicker {
  color: var(--isolele-accent, #b8860b) !important;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.article-detail-copy h1 {
  margin-top: .8rem;
}
.article-detail-lead {
  margin-top: 1.25rem;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.65 !important;
}
.article-detail-copy time {
  display: block;
  margin-top: 1.25rem;
  color: var(--isolele-accent, #b8860b);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.article-detail-body {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in srgb, var(--isolele-accent, #b8860b) 28%, transparent);
}
.article-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}
@media (max-width: 760px) {
  .home-news-history-button { display: block; margin: .75rem 0 0; width: 100%; }
  #app[data-route$="/careers"] main section,
  #app[data-route$="/privacy"] main section,
  #app[data-route$="/contact"] main section { width: min(100% - 1rem, 72rem); border-radius: 1rem; }
  .article-detail-shell { grid-template-columns: 1fr; }
  .article-detail-media img { min-height: 16rem; }
}


/* Homepage section fidelity and responsive grid pass */
.home-section-visible { opacity: 1 !important; visibility: visible !important; }
.home-section-visible > *, .home-section-visible [style*="opacity:0"], .home-section-visible [style*="opacity: 0"] { opacity: 1 !important; visibility: visible !important; }
.home-latest-news-section { position: relative; display: block !important; min-height: 420px; z-index: 2; }
.home-latest-news-section h2, .home-latest-news-section a[href$="/news"], .home-news-button-visible { opacity: 1 !important; visibility: visible !important; }
.home-news-button-visible { display: inline-flex !important; position: relative; z-index: 3; }
.home-products-section .home-product-grid { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); align-items: stretch; }
.home-shango-product { min-height: 100%; background: var(--isolele-bg, #fff); border-color: color-mix(in srgb, var(--isolele-accent, #b8860b) 35%, transparent); transition: transform .35s ease, box-shadow .35s ease; }
.home-shango-product:hover { transform: translateY(-8px); box-shadow: 0 22px 50px rgba(0,0,0,.16); }
.home-product-image { aspect-ratio: 3 / 4; overflow: hidden; background: #071b40; }
.home-product-image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.home-product-copy { padding: 1.15rem; color: var(--isolele-text, #222); }
.home-product-kicker { color: var(--isolele-accent, #b8860b); font-size: .68rem; letter-spacing: .16em; font-weight: 800; }
.home-product-copy h3 { margin: .4rem 0; font-weight: 900; letter-spacing: .06em; }
.home-product-copy span { display: inline-block; margin-top: .9rem; color: var(--isolele-accent, #b8860b); font-weight: 800; font-size: .75rem; letter-spacing: .1em; }
.home-universe-section img { display: block; width: 100%; max-height: 720px; object-fit: cover; object-position: center; }
.home-chosen-rail { display: flex; gap: 1rem; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; padding: .5rem .25rem 1.25rem; }
.home-shango-chosen { width: clamp(210px, 24vw, 300px); min-width: clamp(210px, 24vw, 300px); scroll-snap-align: start; border-radius: 1rem; overflow: hidden; border: 1px solid color-mix(in srgb, var(--isolele-accent, #b8860b) 40%, transparent); background: var(--isolele-bg, #fff); box-shadow: 0 14px 34px rgba(0,0,0,.12); }
.home-shango-chosen img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center top; }
.home-shango-chosen div { padding: .9rem; color: var(--isolele-text, #222); }
.home-shango-chosen p { margin: 0; font-weight: 900; letter-spacing: .06em; }
.home-shango-chosen span { display: block; margin-top: .25rem; font-size: .72rem; color: var(--isolele-accent, #b8860b); letter-spacing: .08em; }
.home-collection-cta, .home-join-cta { position: relative; z-index: 3; display: inline-flex !important; visibility: visible !important; opacity: 1 !important; }
.home-join-section img { width: 100%; object-fit: cover; }
@media (max-width: 1100px) { .home-products-section .home-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .home-products-section .home-product-grid { grid-template-columns: 1fr; } .home-shango-chosen { width: 76vw; min-width: 76vw; } .home-universe-section img { max-height: 520px; object-fit: cover; } .home-latest-news-section { min-height: 520px; } }


/* File:// fidelity fix: the original Tailwind aspect utilities are not generated in this standalone build. */
.home-products-section .home-product-grid > a > .relative[class*="aspect-"] {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  min-height: 0;
  overflow: hidden;
  background: var(--isolele-bg-secondary, #071b40);
}
.home-products-section .home-product-grid > a > .relative[class*="aspect-"] > img[data-nimg="fill"] {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.home-universe-section .relative[class*="aspect-"] > img[data-nimg="fill"],
.home-collection-section .relative[class*="aspect-"] > img[data-nimg="fill"],
.home-join-section .relative[class*="aspect-"] > img[data-nimg="fill"] {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-universe-section .relative[class*="aspect-"] { position: relative; aspect-ratio: 16 / 9; min-height: clamp(280px, 45vw, 680px); overflow: hidden; }
.home-collection-section .relative[class*="aspect-"] { position: relative; aspect-ratio: 16 / 9; min-height: clamp(240px, 36vw, 560px); overflow: hidden; }
.home-join-section .relative[class*="aspect-"] { position: relative; aspect-ratio: 16 / 9; min-height: clamp(240px, 36vw, 560px); overflow: hidden; }
@media (max-width: 1100px) {
  .home-products-section .home-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .home-products-section .home-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
  .home-products-section .home-product-grid > a > .relative[class*="aspect-"] { aspect-ratio: 3 / 4; }
  .home-universe-section .relative[class*="aspect-"] { min-height: 300px; }
}

/* Branded CTA treatment for the hero and home cards. */
#app main[data-home-complete] #hero a button,
.home-products-section a span,
.home-collection-cta,
.home-join-cta,
.home-latest-news-section a[href$="/news"] {
  border: 1px solid color-mix(in srgb, var(--isolele-accent, #d4af37) 72%, transparent);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--isolele-accent, #d4af37), var(--isolele-accent-secondary, #8f6b1d));
  color: #101010;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--isolele-accent, #d4af37) 20%, transparent), inset 0 1px 0 rgba(255,255,255,.38);
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}
#app main[data-home-complete] #hero a button:hover,
.home-products-section a:hover span,
.home-collection-cta:hover,
.home-join-cta:hover,
.home-latest-news-section a[href$="/news"]:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px color-mix(in srgb, var(--isolele-accent, #d4af37) 30%, transparent), inset 0 1px 0 rgba(255,255,255,.46);
}
.home-products-section a span { padding: .65rem 1rem; }
@media (max-width: 640px) {
  #app main[data-home-complete] #hero a button { min-height: 46px; padding: 12px 20px; font-size: 11px; }
}


/* Product and narrative media containers: preserve the original visual frame under file://. */
.home-products-section .home-product-grid > a {
  display: block;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  border-radius: 1rem;
}
.home-products-section .home-product-grid > a > .relative[class*="aspect-"] {
  aspect-ratio: 3 / 4 !important;
  height: auto !important;
  min-height: clamp(260px, 26vw, 420px);
}
.home-products-section .home-product-grid > a > .relative[class*="aspect-"] img[data-nimg="fill"] {
  opacity: 1 !important;
  visibility: visible !important;
}
.home-universe-section .relative[class*="aspect-"],
.home-collection-section .relative[class*="aspect-"],
.home-join-section .relative[class*="aspect-"] {
  height: auto !important;
}
.home-universe-section .relative[class*="aspect-"] > img[data-nimg="fill"],
.home-collection-section .relative[class*="aspect-"] > img[data-nimg="fill"],
.home-join-section .relative[class*="aspect-"] > img[data-nimg="fill"] {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Match the compact gold-outline controls used on the KUFU detail page. */
.game-detail-page a[href*="/comics"],
.game-detail-page a[href*="/games"],
.game-detail-page button,
[data-page="kufu-game"] a,
[data-page="kufu-game"] button {
  border-radius: .35rem;
  font-weight: 800;
  letter-spacing: .03em;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.game-detail-page a[href*="/comics"]:hover,
.game-detail-page a[href*="/games"]:hover,
.game-detail-page button:hover,
[data-page="kufu-game"] a:hover,
[data-page="kufu-game"] button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,.22);
}

/* Final file:// correction: the original cards wrap the aspect frame inside a group div. */
.home-products-section .home-product-grid > a .relative[class*="aspect-"] {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: clamp(260px, 26vw, 420px) !important;
  min-height: clamp(260px, 26vw, 420px) !important;
  aspect-ratio: 3 / 4 !important;
  overflow: hidden !important;
  background: var(--isolele-bg-secondary, #071b40) !important;
}
.home-products-section .home-product-grid > a .relative[class*="aspect-"] > img,
.home-products-section .home-product-grid > a .relative[class*="aspect-"] > img[data-nimg="fill"] {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.home-narrative-section .relative[class*="aspect-"] {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: clamp(260px, 42vw, 620px) !important;
  min-height: 260px !important;
  overflow: hidden !important;
}
.home-narrative-section .relative[class*="aspect-"] > img,
.home-narrative-section .relative[class*="aspect-"] > img[data-nimg="fill"] {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.home-narrative-section img:not([data-nimg="fill"]) {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 260px;
  object-fit: cover !important;
  opacity: 1 !important;
  visibility: visible !important;
}
@media (max-width: 640px) {
  .home-products-section .home-product-grid > a .relative[class*="aspect-"] {
    height: clamp(220px, 58vw, 360px) !important;
    min-height: clamp(220px, 58vw, 360px) !important;
  }
  .home-narrative-section .relative[class*="aspect-"] {
    height: clamp(240px, 72vw, 420px) !important;
  }
}


/* Reference-capture correction: THE CHOSEN ONES is the character grid, not the products grid. */
.home-character-grid-section .home-character-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: clamp(.85rem, 1.7vw, 1.5rem) !important;
  width: 100% !important;
  align-items: start !important;
}
.home-character-grid-section .home-character-grid > * {
  min-width: 0 !important;
  width: 100% !important;
  aspect-ratio: 3 / 4 !important;
  position: relative !important;
  overflow: hidden !important;
  border-radius: clamp(.8rem, 1.5vw, 1.25rem) !important;
}
.home-character-grid-section .home-character-grid > * > img[data-nimg="fill"],
.home-character-grid-section .home-character-grid > * > img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: 50% 0 !important;
}
.home-character-grid-section .home-character-grid-cta {
  display: inline-flex !important;
  width: max-content !important;
  max-width: 100% !important;
  min-height: 48px !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto !important;
  padding: .85rem 1.45rem !important;
  border: 1px solid var(--isolele-accent, #b8860b) !important;
  border-radius: .35rem !important;
  background: var(--isolele-accent, #b8860b) !important;
  color: #fff !important;
  font-size: .75rem !important;
  font-weight: 900 !important;
  letter-spacing: .08em !important;
  line-height: 1.2 !important;
  text-align: center !important;
  text-decoration: none !important;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--isolele-accent, #b8860b) 22%, transparent) !important;
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease !important;
}
.home-character-grid-section .home-character-grid-cta:hover,
.home-character-grid-section .home-character-grid-cta:focus-visible {
  transform: translateY(-2px) !important;
  filter: brightness(1.06) !important;
  box-shadow: 0 12px 26px color-mix(in srgb, var(--isolele-accent, #b8860b) 30%, transparent) !important;
}

/* The first Chosen Ones area is an auto-moving, touch-draggable book rail. */
.home-chosen-ones-section .home-chosen-rail > .group {
  width: clamp(280px, 27vw, 390px) !important;
  min-width: clamp(280px, 27vw, 390px) !important;
  scroll-snap-align: start;
}
.home-chosen-ones-section .home-chosen-rail > .group h3 {
  color: var(--isolele-text, #1a1a1a) !important;
  font-size: clamp(1.15rem, 2vw, 1.55rem) !important;
  line-height: 1.08 !important;
}
.home-chosen-ones-section .home-chosen-rail > .group p {
  color: var(--isolele-accent, #f6b800) !important;
  min-height: 2.6em;
  font-size: clamp(.9rem, 1.5vw, 1.05rem) !important;
  line-height: 1.35 !important;
}
.home-chosen-ones-section .home-chosen-rail > .group span {
  color: var(--isolele-accent-secondary, #b8860b) !important;
  font-size: .9rem !important;
  font-weight: 800 !important;
  letter-spacing: .08em !important;
}
.home-chosen-ones-section .home-chosen-rail > .group .relative.h-96 {
  height: clamp(380px, 43vw, 560px) !important;
}

/* Large narrative card from THE ISOLELE UNIVERSE / The Lion Has Learned to Write. */
.home-universe-section > .max-w-7xl > .grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 2rem !important;
}
.home-universe-section > .max-w-7xl > .grid > .group {
  min-width: 0 !important;
  min-height: clamp(620px, 72vw, 980px) !important;
  aspect-ratio: 4 / 5 !important;
}
.home-universe-section > .max-w-7xl > .grid > .group > .relative.h-full {
  min-height: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  border-radius: 1.25rem !important;
  overflow: hidden !important;
  position: relative !important;
}
.home-universe-section > .max-w-7xl > .grid > .group > .relative.h-full > .absolute.inset-0 {
  position: absolute !important;
  inset: 0 !important;
  opacity: 1 !important;
  background-size: cover !important;
  background-position: center !important;
}
.home-universe-section > .max-w-7xl > .grid > .group > .relative.h-full > .absolute.bottom-0 {
  padding: 1.1rem !important;
  gap: .9rem !important;
}
.home-universe-section > .max-w-7xl > .grid > .group > .relative.h-full > .absolute.bottom-0 .relative.z-10 > div {
  padding: clamp(1.25rem, 3vw, 2.5rem) !important;
  border-radius: 1.25rem !important;
  background: rgba(245, 240, 232, .9) !important;
  box-shadow: 0 12px 34px rgba(0,0,0,.08) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.home-universe-section > .max-w-7xl > .grid > .group h3 {
  color: #000 !important;
  font-size: clamp(1.55rem, 4vw, 3rem) !important;
  line-height: 1.08 !important;
}
.home-universe-section > .max-w-7xl > .grid > .group p {
  color: #000 !important;
  font-size: clamp(.95rem, 1.7vw, 1.3rem) !important;
  line-height: 1.55 !important;
}
.home-universe-section > .max-w-7xl > .grid > .group span[role="button"] { display: none !important; }
.home-universe-section > .max-w-7xl > .grid > .group > .relative.h-full > a.relative.z-10 {
  display: block !important;
  width: 100% !important;
  margin-top: 0 !important;
}
.home-universe-section > .max-w-7xl > .grid > .group > .relative.h-full > a.relative.z-10 button {
  display: flex !important;
  width: 100% !important;
  min-height: 72px !important;
  align-items: center !important;
  justify-content: center !important;
  gap: .75rem !important;
  border: 0 !important;
  border-radius: 1rem !important;
  background: #b8860b !important;
  color: #fff !important;
  font-size: clamp(1rem, 2.1vw, 1.45rem) !important;
  font-weight: 900 !important;
  letter-spacing: .05em !important;
  box-shadow: 0 10px 24px rgba(184,134,11,.24) !important;
}
.home-universe-section > .max-w-7xl > .grid > .group > .relative.h-full > a.relative.z-10 button:hover,
.home-universe-section > .max-w-7xl > .grid > .group > .relative.h-full > a.relative.z-10 button:focus-visible {
  filter: brightness(1.08) !important;
  transform: translateY(-2px) !important;
}
@media (min-width: 900px) {
  .home-universe-section > .max-w-7xl > .grid > .group {
    min-height: clamp(560px, 58vw, 820px) !important;
    aspect-ratio: 16 / 9 !important;
  }
}
@media (max-width: 767px) {
  .home-character-grid-section .home-character-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .75rem !important;
  }
  .home-character-grid-section .home-character-grid-cta {
    width: 100% !important;
  }
  .home-chosen-ones-section .home-chosen-rail > .group {
    width: clamp(270px, 63vw, 480px) !important;
    min-width: clamp(270px, 63vw, 480px) !important;
  }
  .home-chosen-ones-section .home-chosen-rail > .group .relative.h-96 {
    height: clamp(350px, 82vw, 540px) !important;
  }
  .home-universe-section > .max-w-7xl > .grid > .group {
    min-height: clamp(620px, 118vw, 980px) !important;
  }
  .home-universe-section > .max-w-7xl > .grid > .group > .relative.h-full > .absolute.bottom-0 {
    padding: .65rem !important;
  }
  .home-universe-section > .max-w-7xl > .grid > .group > .relative.h-full > a.relative.z-10 button {
    min-height: 64px !important;
    font-size: 1rem !important;
  }
}


/* Keep product layout independent from THE CHOSEN ONES: original products are 3-up on desktop and stacked on mobile. */
.home-products-section .home-product-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 2rem !important;
}
@media (max-width: 767px) {
  .home-products-section .home-product-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
}
.home-character-grid-section h2 {
  font-size: clamp(2rem, 5vw, 3.8rem) !important;
  line-height: .98 !important;
  letter-spacing: .04em !important;
  margin-bottom: 1rem !important;
}
.home-character-grid-section > .max-w-7xl > p,
.home-character-grid-section > .max-w-7xl > .text-base {
  font-size: clamp(1rem, 1.7vw, 1.25rem) !important;
  color: var(--isolele-text-secondary, #4a4a4a) !important;
}
@media (max-width: 767px) {
  .home-universe-section > .max-w-7xl > .grid > .group {
    min-height: clamp(360px, 94vw, 620px) !important;
    aspect-ratio: 1 / 1.04 !important;
  }
  .home-universe-section > .max-w-7xl > .grid > .group > .relative.h-full > .absolute.bottom-0 {
    padding: .8rem !important;
  }
  .home-universe-section > .max-w-7xl > .grid > .group > .relative.h-full > .absolute.bottom-0 .relative.z-10 > div {
    padding: 1rem !important;
    border-radius: .85rem !important;
  }
  .home-universe-section > .max-w-7xl > .grid > .group h3 {
    font-size: clamp(1.2rem, 5.2vw, 1.8rem) !important;
  }
  .home-universe-section > .max-w-7xl > .grid > .group p {
    font-size: clamp(.78rem, 3.6vw, 1rem) !important;
    line-height: 1.42 !important;
  }
  .home-universe-section > .max-w-7xl > .grid > .group > .relative.h-full > a.relative.z-10 button {
    min-height: 48px !important;
    border-radius: .75rem !important;
    font-size: clamp(.82rem, 3.5vw, 1rem) !important;
  }
}


/* Reference capture alignment: THE CHOSEN ONES is the character grid, not the products grid. */
#app main .char-grid,
#app main .home-character-grid-section .home-character-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(.75rem, 2vw, 1.25rem) !important;
}
@media (min-width: 768px) {
  #app main .char-grid,
  #app main .home-character-grid-section .home-character-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: clamp(1rem, 2vw, 1.75rem) !important;
  }
}
#app main .char-grid .char-card,
#app main .home-character-grid-section .home-character-grid > * {
  min-width: 0 !important;
  border-color: color-mix(in srgb, var(--isolele-accent, #b8860b) 22%, transparent) !important;
}
#app main .char-grid .char-card img,
#app main .home-character-grid-section .home-character-grid img {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 3 / 4 !important;
  object-fit: cover !important;
}

/* The book rail has coloured titles and a clean image edge, not an extra accent frame. */
.home-chosen-ones-section .home-chosen-rail > .group,
.home-chosen-ones-section .home-chosen-rail > .home-shango-chosen {
  border: 0 !important;
  box-shadow: none !important;
}
.home-chosen-ones-section .home-chosen-rail > .group h3,
.home-chosen-ones-section .home-chosen-rail > .group p,
.home-chosen-ones-section .home-chosen-rail > .group span {
  border: 0 !important;
  text-shadow: none !important;
}

/* Narrative capture: broad framed artwork with a translucent copy panel and a full gold CTA. */
.home-universe-section > .max-w-7xl > .grid > .group {
  border: 1px solid color-mix(in srgb, var(--isolele-accent, #b8860b) 55%, transparent) !important;
  border-radius: 1.25rem !important;
  overflow: hidden !important;
}
.home-universe-section > .max-w-7xl > .grid > .group > .relative.h-full > .absolute.bottom-0 .relative.z-10 > div h3 {
  font-weight: 900 !important;
  letter-spacing: -.02em !important;
}
.home-universe-section > .max-w-7xl > .grid > .group > .relative.h-full > a.relative.z-10 button {
  border: 0 !important;
  text-transform: uppercase !important;
}

/* Keep the products section independent: three cards on desktop, one stacked card on mobile. */
.home-products-section .home-product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
@media (max-width: 767px) {
  .home-products-section .home-product-grid {
    grid-template-columns: 1fr !important;
  }
}
/* The existing pointer rail engine supplies pause, drag/swipe and automatic resume. */
.home-chosen-ones-section .home-chosen-rail {
  touch-action: pan-x;
  cursor: grab;
}
.home-chosen-ones-section .home-chosen-rail.is-dragging {
  cursor: grabbing;
}
@media (max-width: 767px) {
  .home-universe-section > .max-w-7xl > .grid > .group {
    min-height: clamp(620px, 150vw, 980px) !important;
  }
}


/* Characters route uses the original utility grid markup, so override that exact container. */
#app[data-page="en-characters"] main > section:nth-of-type(2) > .grid,
#app[data-page="fr-characters"] main > section:nth-of-type(2) > .grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(.75rem, 2vw, 1.25rem) !important;
}
@media (min-width: 768px) {
  #app[data-page="en-characters"] main > section:nth-of-type(2) > .grid,
  #app[data-page="fr-characters"] main > section:nth-of-type(2) > .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: clamp(1rem, 2vw, 1.75rem) !important;
  }
}
#app[data-page="en-characters"] main > section:nth-of-type(2) > .grid > article,
#app[data-page="fr-characters"] main > section:nth-of-type(2) > .grid > article {
  min-width: 0 !important;
}
#app[data-page="en-characters"] main > section:nth-of-type(2) > .grid > article img,
#app[data-page="fr-characters"] main > section:nth-of-type(2) > .grid > article img {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 3 / 4 !important;
  object-fit: cover !important;
}


/* Final route-specific selector: the Characters registry wraps both sections in .min-h-screen. */
#app[data-page="en-characters"] main > .min-h-screen > section:nth-of-type(2) > .grid,
#app[data-page="fr-characters"] main > .min-h-screen > section:nth-of-type(2) > .grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(.75rem, 2vw, 1.25rem) !important;
}
@media (min-width: 768px) {
  #app[data-page="en-characters"] main > .min-h-screen > section:nth-of-type(2) > .grid,
  #app[data-page="fr-characters"] main > .min-h-screen > section:nth-of-type(2) > .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: clamp(1rem, 2vw, 1.75rem) !important;
  }
}


/* Final fidelity pass for KUFU, JOIN, bilingual controls and desktop navigation. */
@media (min-width: 1024px) {
  #app > header.fixed > div[class*="grid-cols-[auto_1fr_auto]"] > nav {
    margin-left: auto !important;
    margin-right: 0 !important;
    justify-content: flex-end !important;
  }
}

/* The home JOIN/THE LEGENDS CREW artwork is part of the page, not the institutional footer. */
.home-join-section .relative[class*="aspect-"] {
  min-height: clamp(300px, 42vw, 620px) !important;
  height: clamp(300px, 42vw, 620px) !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.home-join-section .relative[class*="aspect-"] > img,
.home-join-section img[src*="18_legends-crew"] {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  object-fit: cover !important;
  object-position: center center !important;
}

/* Keep all hero/product actions legible in French and across every theme. */
#app main[data-home-complete] #hero a button,
#app main[data-home-complete] #hero a span,
#app main[data-home-complete] .home-hero-actions a,
.home-products-section a span,
.home-chosen-ones-section a span,
.home-collection-cta,
.home-join-cta,
.home-latest-news-section a[href$="/news"] {
  opacity: 1 !important;
  visibility: visible !important;
  color: #101010 !important;
  text-shadow: none !important;
}
#app[data-theme="nuit-royale"] main[data-home-complete] #hero a button,
#app[data-theme="cosmos"] main[data-home-complete] #hero a button,
#app[data-theme="kongo"] main[data-home-complete] #hero a button,
#app[data-theme="sang-de-roi"] main[data-home-complete] #hero a button,
#app[data-theme="terre-rouge"] main[data-home-complete] #hero a button {
  color: #101010 !important;
}

/* KUFU Ludo uses the verified board asset as a full hero image, with a contained mobile frame. */
#app.kufu-page main img[alt="KUFU Ludo cover"],
#app.kufu-page main img[alt="KUFU Ludo board"] {
  opacity: 1 !important;
  visibility: visible !important;
  object-fit: cover !important;
  object-position: center center !important;
}
#app.kufu-page main img[alt="KUFU Ludo cover"] {
  width: 100% !important;
  height: 100% !important;
}
#app.kufu-page main .relative[style*="aspect-ratio:16/9"] {
  min-height: 0 !important;
  overflow: hidden !important;
}
#app.kufu-page main a[href*="kufu-game"],
#app.kufu-page main a[href*="comics"] {
  opacity: 1 !important;
  visibility: visible !important;
}
@media (max-width: 640px) {
  #app.kufu-page main .relative[style*="aspect-ratio:16/9"] {
    aspect-ratio: 4 / 3 !important;
    width: 100% !important;
  }
  #app.kufu-page main img[alt="KUFU Ludo cover"] {
    object-position: center center !important;
  }
}

/* Do not let the narrative card exceed the real viewport on narrow phones. */
@media (max-width: 640px) {
  .home-universe-section,
  .home-universe-section > .max-w-7xl,
  .home-universe-section > .max-w-7xl > .grid,
  .home-universe-section > .max-w-7xl > .grid > .group {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .home-universe-section > .max-w-7xl > .grid > .group {
    min-height: min(150vw, 760px) !important;
    aspect-ratio: 4 / 5 !important;
  }
  .home-universe-section > .max-w-7xl > .grid > .group > .relative.h-full > .absolute.bottom-0 {
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
  }
}

/* The book rail is a clean, borderless horizontal marquee with touch scrolling. */
.home-chosen-ones-section .home-chosen-rail {
  overflow-x: auto !important;
  overscroll-behavior-x: contain !important;
  scroll-behavior: auto !important;
  -webkit-overflow-scrolling: touch !important;
  touch-action: pan-x !important;
}
.home-chosen-ones-section .home-chosen-rail > .group,
.home-chosen-ones-section .home-chosen-rail > .group > .relative,
.home-chosen-ones-section .home-chosen-rail > .group img {
  border-width: 0 !important;
  outline: 0 !important;
}

/* History rows must look like links and remain clickable above the popup layer. */
.news-history-item,
.news-history-item * {
  cursor: pointer !important;
}
.news-history-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: .45rem !important;
  color: var(--isolele-accent, #b8860b) !important;
  font-weight: 900 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Final correction pass: dock desktop navigation to the right while preserving the mobile header. */
@media (min-width: 1024px) {
  #app > header:not(.home-mobile-header) > div {
    grid-template-columns: auto auto auto !important;
  }
  #app > header:not(.home-mobile-header) > div > nav {
    justify-self: end !important;
    margin-left: auto !important;
    margin-right: 0 !important;
  }
  #app > header:not(.home-mobile-header) > div > nav + div {
    justify-self: end !important;
  }
}

/* Keep every chosen card as a real horizontal item so the continuous rail has measurable overflow. */
.home-chosen-ones-section .home-chosen-rail {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  width: 100% !important;
  min-width: 0 !important;
  overflow-x: auto !important;
}
.home-chosen-ones-section .home-chosen-rail > * {
  flex: 0 0 auto !important;
  min-width: clamp(238px, 25vw, 340px) !important;
}
.home-chosen-ones-section .home-chosen-rail > .home-shango-chosen {
  min-width: clamp(238px, 25vw, 340px) !important;
}

/* The mobile narrative card must clip its overlay inside the viewport, never outside it. */
@media (max-width: 640px) {
  .home-universe-section,
  .home-universe-section > .max-w-7xl,
  .home-universe-section > .max-w-7xl > .grid,
  .home-universe-section > .max-w-7xl > .grid > * {
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  .home-universe-section img {
    max-width: 100% !important;
  }
}

/* Match the public KUFU composition: board image full-frame, with a contained readable hero panel. */
#app.kufu-page main > section:first-child {
  position: relative !important;
  overflow: hidden !important;
  background-image: url("../../public/IMG-20260304-WA0012-XSCUSyYtBnqRoFkU9Ubd5qRihh3IXm.jpg") !important;
  background-position: center top !important;
  background-size: cover !important;
}
#app.kufu-page main > section:first-child img[alt="KUFU Ludo cover"],
#app.kufu-page main > section:first-child img[alt="KUFU Ludo board"] {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  object-fit: cover !important;
  object-position: center center !important;
}
#app.kufu-page main img[alt="KUFU Ludo cover"] + div,
#app.kufu-page main img[alt="KUFU Ludo board"] + div {
  opacity: 1 !important;
  visibility: visible !important;
}
@media (max-width: 640px) {
  #app.kufu-page main > section:first-child {
    background-position: 50% top !important;
  }
}

/* JOIN artwork fallback: the section contains one artwork even if the original alt/src query changes. */
.home-join-section img {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.home-join-section .home-join-media {
  overflow: hidden !important;
}

/* Archive links remain above popup layers and behave as real navigation controls. */
.news-history-overlay .news-history-item {
  position: relative !important;
  z-index: 3 !important;
  pointer-events: auto !important;
}
.news-history-overlay .news-history-link {
  pointer-events: none !important;
}

/* Highest-specificity CTA contrast fix: French and light themes must never render invisible hero labels. */
#app main[data-home-complete] #hero .relative.z-10 a button,
#app main[data-home-complete] #hero .relative.z-10 a span {
  opacity: 1 !important;
  visibility: visible !important;
  color: #101010 !important;
  -webkit-text-fill-color: #101010 !important;
  text-shadow: none !important;
}
#app main[data-home-complete] #hero .relative.z-10 a button {
  background-color: var(--isolele-accent, #f6b800) !important;
  border-color: var(--isolele-accent, #f6b800) !important;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--isolele-accent, #f6b800) 24%, transparent) !important;
}
#app main[data-home-complete] #hero.hero-slide-shango .relative.z-10 a button {
  background: #2f8cff !important;
  border-color: #2f8cff !important;
  color: #ffd84d !important;
  -webkit-text-fill-color: #ffd84d !important;
}
@supports not (color: color-mix(in srgb, black, white)) {
  #app main[data-home-complete] #hero .relative.z-10 a button {
    background-color: #f6b800 !important;
    border-color: #f6b800 !important;
    box-shadow: 0 8px 24px rgba(246,184,0,.24) !important;
  }
}

/* Ensure the rail starts moving after the browser has laid out its image cards. */
@media (prefers-reduced-motion: no-preference) {
  .home-chosen-ones-section .home-chosen-rail {
    scroll-behavior: auto !important;
  }
}

/* KUFU purchase panel: the public desktop/tablet layout keeps the cover beside the copy. */
@media (min-width: 768px) {
  #app.kufu-page main > .min-h-screen > section.relative.z-10 > .rounded-2xl > .flex.flex-col.items-start.gap-6.md\:flex-row {
    display: grid !important;
    grid-template-columns: 96px minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 20px !important;
  }
  #app.kufu-page main > .min-h-screen > section.relative.z-10 > .rounded-2xl > .flex.flex-col.items-start.gap-6.md\:flex-row > .relative.h-\[140px\].w-\[140px\] {
    width: 96px !important;
    height: 96px !important;
  }
  #app.kufu-page main > .min-h-screen > section.relative.z-10 > .rounded-2xl > .flex.flex-col.items-start.gap-6.md\:flex-row > :last-child {
    min-width: 0 !important;
  }
}
@media (min-width: 1100px) {
  #app.kufu-page main > .min-h-screen > section.relative.z-10 > .rounded-2xl > .flex.flex-col.items-start.gap-6.md\:flex-row {
    grid-template-columns: 140px minmax(0, 1fr) !important;
    gap: 24px !important;
  }
  #app.kufu-page main > .min-h-screen > section.relative.z-10 > .rounded-2xl > .flex.flex-col.items-start.gap-6.md\:flex-row > .relative.h-\[140px\].w-\[140px\] {
    width: 140px !important;
    height: 140px !important;
  }
}


/* Book detail fidelity pass: use the selected title artwork as the visual frame. */
#app[data-route*="/comics/"] main.book-detail-page {
  min-height: 100vh;
  background: var(--isolele-bg, #fff) !important;
  color: var(--isolele-text, #171717);
}
#app[data-route*="/comics/"] main.book-detail-page img.book-detail-background {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  opacity: 1 !important;
  visibility: visible !important;
}
#app[data-route*="/comics/"] main.book-detail-page img[alt$=" background"] {
  filter: saturate(1.04) contrast(1.02);
}
#app[data-route*="/comics/"] main.book-detail-page img[alt="MOKELE"] {
  object-fit: cover !important;
  object-position: center center !important;
}
#app[data-route*="/comics/"] main.book-detail-page a[href*="buy.stripe.com"],
#app[data-route*="/comics/"] main.book-detail-page a[href$="/comics"] {
  opacity: 1 !important;
  visibility: visible !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: .78rem 1.25rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #111 !important;
  background: var(--isolele-accent, #f6b800) !important;
  border: 1px solid var(--isolele-accent, #f6b800) !important;
  box-shadow: 0 12px 28px color-mix(in srgb, var(--isolele-accent, #f6b800) 22%, transparent);
}
#app[data-route*="/comics/"] main.book-detail-page a[href*="buy.stripe.com"]:hover,
#app[data-route*="/comics/"] main.book-detail-page a[href$="/comics"]:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}
#app.kufu-page main.kufu-board-detail-page {
  min-height: 100vh;
}
#app.kufu-page main.kufu-board-detail-page img.kufu-board-image {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
  opacity: 1 !important;
  visibility: visible !important;
}
#app.kufu-page main.kufu-board-detail-page [class*="aspect-"] {
  overflow: hidden;
}
#app.kufu-page main.kufu-board-detail-page a,
#app.kufu-page main.kufu-board-detail-page button {
  opacity: 1 !important;
  visibility: visible !important;
}
@media (max-width: 760px) {
  #app[data-route*="/comics/"] main.book-detail-page img.book-detail-background {
    min-height: 18rem !important;
  }
  #app[data-route*="/comics/"] main.book-detail-page a[href*="buy.stripe.com"],
  #app[data-route*="/comics/"] main.book-detail-page a[href$="/comics"] {
    width: 100%;
  }
  #app.kufu-page main.kufu-board-detail-page img.kufu-board-image {
    min-height: 14rem !important;
  }
}
@supports not (color: color-mix(in srgb, black, white)) {
  #app[data-route*="/comics/"] main.book-detail-page a[href*="buy.stripe.com"],
  #app[data-route*="/comics/"] main.book-detail-page a[href$="/comics"] {
    box-shadow: 0 12px 28px rgba(184, 134, 11, .22);
  }
}

/* French route safety net: translated labels must never inherit hidden/transparent states. */
html[lang="fr"] #app a,
html[lang="fr"] #app button,
#app[data-route^="/fr"] a,
#app[data-route^="/fr"] button {
  -webkit-text-fill-color: currentColor;
}
html[lang="fr"] #app main[data-home-complete] #hero a button,
#app[data-route^="/fr"] main[data-home-complete] #hero a button {
  display: inline-flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  color: #101010 !important;
  -webkit-text-fill-color: #101010 !important;
}
html[lang="fr"] #app main[data-home-complete] #hero a button::first-letter,
#app[data-route^="/fr"] main[data-home-complete] #hero a button::first-letter {
  color: inherit;
}
#app main[data-home-complete] #hero.hero-slide-shango a button {
  color: #ffd84d !important;
  -webkit-text-fill-color: #ffd84d !important;
}

/* Final hero CTA safeguard: the public button remains a real, readable control in every language and theme. */
#app main[data-home-complete] #hero .hero-cta,
#app main[data-home-complete] #hero .hero-cta-button,
#app main[data-home-complete] #hero a[href] button,
#app main[data-home-complete] #hero .hero-slide .hero-cta,
#app main[data-home-complete] #hero .hero-slide .hero-cta-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 1 !important;
  visibility: visible !important;
  color: #101010 !important;
  -webkit-text-fill-color: #101010 !important;
  background: var(--hero-slide-accent, var(--isolele-accent, #F8B90D)) !important;
  background-color: var(--hero-slide-accent, var(--isolele-accent, #F8B90D)) !important;
  border-color: var(--hero-slide-accent, var(--isolele-accent, #F8B90D)) !important;
  transform: none;
}
#app main[data-home-complete] #hero.hero-slide-shango .hero-cta,
#app main[data-home-complete] #hero.hero-slide-shango .hero-cta-button,
#app main[data-home-complete] #hero.hero-slide-shango a[href] button {
  color: #FFD84D !important;
  -webkit-text-fill-color: #FFD84D !important;
  background: #2F8CFF !important;
  background-color: #2F8CFF !important;
  border-color: #2F8CFF !important;
}
html[lang="fr"] #app main[data-home-complete] #hero .hero-cta,
html[lang="fr"] #app main[data-home-complete] #hero .hero-cta-button,
#app[data-lang="fr"] main[data-home-complete] #hero .hero-cta,
#app[data-lang="fr"] main[data-home-complete] #hero .hero-cta-button {
  opacity: 1 !important;
  visibility: visible !important;
  color: #101010 !important;
  -webkit-text-fill-color: #101010 !important;
}
html[lang="fr"] #app main[data-home-complete] #hero.hero-slide-shango .hero-cta-button,
#app[data-lang="fr"] main[data-home-complete] #hero.hero-slide-shango .hero-cta-button {
  color: #FFD84D !important;
  -webkit-text-fill-color: #FFD84D !important;
}

/* Discover hero: use the selected book cover as a full, carefully cropped visual background. */
#app[data-route*="/comics/"] main.book-detail-page > .min-h-screen > section:first-child {
  position: relative !important;
  isolation: isolate;
  min-height: clamp(440px, 58vh, 700px) !important;
  overflow: hidden !important;
  display: flex;
  align-items: stretch;
}
#app[data-route*="/comics/"] main.book-detail-page > .min-h-screen > section:first-child > img.book-detail-background {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
  object-position: center 28% !important;
  filter: saturate(1.03) contrast(1.03) !important;
}
#app[data-route*="/comics/"] main.book-detail-page > .min-h-screen > section:first-child::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.90) 34%, rgba(255,255,255,.56) 65%, rgba(255,255,255,.18) 100%);
}
#app[data-route*="/comics/"] main.book-detail-page > .min-h-screen > section:first-child > *:not(.book-detail-background) {
  position: relative;
  z-index: 2;
}
#app[data-route*="/comics/"] main.book-detail-page > .min-h-screen > section:first-child h1,
#app[data-route*="/comics/"] main.book-detail-page > .min-h-screen > section:first-child p,
#app[data-route*="/comics/"] main.book-detail-page > .min-h-screen > section:first-child a {
  text-shadow: 0 1px 14px rgba(255,255,255,.36);
}
@media (max-width: 760px) {
  #app[data-route*="/comics/"] main.book-detail-page > .min-h-screen > section:first-child {
    min-height: 560px !important;
  }
  #app[data-route*="/comics/"] main.book-detail-page > .min-h-screen > section:first-child::after {
    background: linear-gradient(180deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.82) 48%, rgba(255,255,255,.35) 100%);
  }
  #app[data-route*="/comics/"] main.book-detail-page > .min-h-screen > section:first-child > img.book-detail-background {
    object-position: center 24% !important;
  }
}

/* Bundle-derived pages: additive layer for routes that were absent from the original clone registry. */
.bundle-page{min-height:calc(100vh - 72px);background:var(--isolele-bg,#f7f4ee);color:var(--isolele-text,#1a1815);font-family:var(--isolele-font,Inter,system-ui,sans-serif)}
.bundle-eyebrow,.bundle-section-label{color:var(--isolele-accent,#b8860b);font-size:.72rem;font-weight:800;letter-spacing:.22em;text-transform:uppercase}
.bundle-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border-radius:999px;padding:.72rem 1.25rem;font-size:.73rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;transition:transform .25s ease,opacity .25s ease,background .25s ease;border:1px solid var(--isolele-accent,#b8860b);text-decoration:none}
.bundle-button:hover{transform:translateY(-2px)}
.bundle-button-outline{background:transparent;color:var(--isolele-accent,#b8860b)}
.bundle-button-solid{background:var(--isolele-accent,#b8860b);color:#111;border-color:var(--isolele-accent,#b8860b)}
.bundle-character-page{padding:clamp(5rem,9vw,8rem) clamp(1rem,5vw,5rem) 4rem}
.bundle-character-hero{display:grid;grid-template-columns:minmax(280px,.95fr) minmax(0,1.05fr);gap:clamp(2rem,6vw,6rem);max-width:1160px;margin:0 auto;align-items:center}
.bundle-character-media{min-height:510px;border-radius:1.1rem;overflow:hidden;background:#15120f;box-shadow:0 22px 60px rgba(0,0,0,.18)}
.bundle-character-media img{width:100%;height:100%;min-height:510px;object-fit:cover;object-position:center;display:block}
.bundle-character-copy h1{margin:.55rem 0 0;font-size:clamp(2.7rem,6vw,5.6rem);line-height:.95;letter-spacing:.05em;font-weight:950}
.bundle-character-tagline{margin:.7rem 0 2.2rem;color:var(--isolele-accent,#b8860b);font-size:1.25rem;font-weight:700}
.bundle-body-copy{max-width:650px;color:var(--isolele-text-secondary,#5f5a54);font-size:clamp(1rem,1.5vw,1.18rem);line-height:1.8}
.bundle-actions{display:flex;gap:.8rem;flex-wrap:wrap;margin-top:2rem}
.bundle-character-powers{max-width:1160px;margin:4rem auto 0;padding-top:2.2rem;border-top:1px solid color-mix(in srgb,var(--isolele-accent,#b8860b) 28%,transparent)}
.bundle-character-powers ul{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.8rem;list-style:none;padding:0;margin:1.2rem 0 0}
.bundle-character-powers li{border:1px solid color-mix(in srgb,var(--isolele-accent,#b8860b) 26%,transparent);background:color-mix(in srgb,var(--isolele-bg,#f7f4ee) 88%,#000);border-radius:.9rem;padding:1rem;color:var(--isolele-text-secondary,#5f5a54);font-size:.9rem;font-weight:650}
.bundle-book-page{background:#0d0b09;color:#fff}
.bundle-book-hero{min-height:calc(100vh - 72px);background-size:cover;background-position:center;display:flex;align-items:center;padding:clamp(6rem,11vw,9rem) clamp(1rem,7vw,7rem)}
.bundle-book-content{max-width:900px}
.bundle-book-badge{display:inline-flex;gap:.45rem;align-items:center;margin-bottom:1.25rem}
.bundle-book-badge span{border:1px solid rgba(255,255,255,.2);background:rgba(0,0,0,.3);border-radius:.25rem;padding:.34rem .55rem;color:#f1eee8;font-size:.68rem;letter-spacing:.12em;font-weight:750}
.bundle-book-eyebrow{display:inline-flex;background:var(--isolele-accent,#b8860b);color:#111;border-radius:.25rem;padding:.4rem .7rem;font-size:.68rem;font-weight:900;letter-spacing:.16em;text-transform:uppercase}
.bundle-book-content h1{max-width:900px;margin:1.1rem 0 0;font-size:clamp(2.25rem,6vw,5rem);line-height:1.02;letter-spacing:-.035em;font-weight:950}
.bundle-book-intro{max-width:760px;margin:1.35rem 0 0;color:#e9e2d8;font-size:clamp(1rem,1.6vw,1.2rem);line-height:1.75}
.bundle-book-body{max-width:820px;margin-top:3rem;display:grid;gap:1.4rem;color:#f7f3ec;font-size:clamp(1.05rem,1.9vw,1.36rem);line-height:1.85}
.bundle-book-body p{margin:0}
.bundle-context{max-width:650px;margin-top:2.5rem;color:#e9e2d8;line-height:1.75}
.bundle-book-cta{margin-top:2.4rem}
.bundle-book-cta>p{margin:0 0 .8rem;color:#cfc4b5;font-size:.7rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase}
.bundle-articles-page{padding:clamp(5rem,9vw,8rem) clamp(1rem,5vw,5rem) 5rem;background:#0d0b09;color:#f7f3ec}
.bundle-articles-inner{max-width:976px;margin:0 auto}
.bundle-articles-inner h1{margin:.7rem 0 0;font-size:clamp(2.7rem,6vw,4.6rem);line-height:1;font-weight:950;letter-spacing:-.04em}
.bundle-page-intro{margin:1.1rem 0 2.8rem;color:#aaa39b;font-size:1.05rem;line-height:1.6}
.bundle-article-list{display:grid;gap:1rem}
.bundle-article-card{display:grid;grid-template-columns:180px 1fr;gap:1.1rem;padding:1rem;border:1px solid #2a2723;border-radius:.65rem;background:#161412;color:#f7f3ec;text-decoration:none;transition:border-color .25s ease,transform .25s ease}
.bundle-article-card:hover{border-color:rgba(246,184,0,.55);transform:translateY(-2px)}
.bundle-article-card-mark{min-height:120px;border-radius:.45rem;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#2b2419,#8f6308);color:#f6d77f;font-size:.82rem;letter-spacing:.16em;font-weight:900}
.bundle-article-card h2{margin:0;color:#fff;font-size:1.3rem;line-height:1.25}
.bundle-article-card p{margin:.55rem 0 0;color:#a9a39c;line-height:1.6;font-size:.93rem}
.bundle-article-card span{display:inline-block;margin-top:.8rem;color:#f6b800;font-size:.85rem;font-weight:700}
.bundle-history-page{background:#0d0b09;color:#f7f3ec;padding:clamp(5rem,9vw,8rem) clamp(1rem,6vw,7rem) 5rem}
.bundle-history-intro,.bundle-history-content,.bundle-history-end{max-width:980px;margin:0 auto}
.bundle-history-badge{display:inline-flex;border-radius:999px;padding:.55rem 1rem;background:rgba(184,134,11,.13);color:#b8860b;font-size:.72rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase}
.bundle-history-intro h1{max-width:900px;margin:1.4rem 0 1.6rem;font-size:clamp(2.3rem,6vw,5.2rem);line-height:1.02;letter-spacing:-.04em;font-weight:950}
.bundle-history-intro>p{max-width:780px;color:#cfc7bd;font-size:clamp(1.05rem,1.8vw,1.3rem);line-height:1.75}
.bundle-history-nav{display:flex;gap:.55rem;flex-wrap:wrap;margin-top:2rem}
.bundle-history-nav a{border-radius:999px;padding:.55rem .9rem;background:rgba(255,255,255,.06);color:#e9e1d6;text-decoration:none;font-size:.8rem;font-weight:700;transition:background .25s ease,color .25s ease}
.bundle-history-nav a:hover{background:rgba(184,134,11,.2);color:#f6c94f}
.bundle-history-content{display:grid;gap:0;margin-top:4rem}
.bundle-history-section{padding:2.8rem 0;border-top:1px solid rgba(255,255,255,.1);scroll-margin-top:100px}
.bundle-history-section h2{margin:0;font-size:clamp(1.7rem,3vw,2.5rem);font-weight:900;letter-spacing:-.02em}
.bundle-history-section p{max-width:760px;margin:1.1rem 0 0;color:#cfc7bd;font-size:clamp(1rem,1.6vw,1.15rem);line-height:1.8}
.bundle-history-end{padding-top:2.8rem}
.bundle-history-end p{margin:0 0 1.2rem;font-size:1.15rem;font-weight:700}
@media (max-width:800px){.bundle-character-hero{grid-template-columns:1fr}.bundle-character-media,.bundle-character-media img{min-height:390px}.bundle-character-powers ul{grid-template-columns:repeat(2,minmax(0,1fr))}.bundle-book-hero{min-height:900px;padding-top:7rem;padding-bottom:5rem;background-position:62% center}.bundle-article-card{grid-template-columns:1fr}.bundle-article-card-mark{min-height:100px}.bundle-history-page{padding-left:1rem;padding-right:1rem}}
@media (max-width:480px){.bundle-character-page,.bundle-articles-page,.bundle-history-page{padding-top:5.5rem}.bundle-character-powers ul{grid-template-columns:1fr}.bundle-actions{flex-direction:column;align-items:stretch}.bundle-button{width:100%}.bundle-book-content h1{font-size:2.35rem}}

/* Final visual system for canon book pages and footer-owned routes. */
#app main.book-detail-page { position: relative; overflow: hidden; background: radial-gradient(circle at 80% 0%, color-mix(in srgb, var(--isolele-accent) 12%, transparent), transparent 42%), var(--isolele-bg) !important; color: var(--isolele-text); }
#app main.book-detail-page::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(135deg, color-mix(in srgb, var(--isolele-accent) 7%, transparent), transparent 44%); }
#app main.book-detail-page > * { position: relative; z-index: 1; }
#app main.book-detail-page img.book-detail-background { filter: saturate(1.08) contrast(1.04) brightness(.82) !important; object-position: center center !important; }
#app main.book-detail-page .book-price { display: inline-flex; padding: .45rem .8rem; border: 1px solid color-mix(in srgb, var(--isolele-accent) 55%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--isolele-bg) 78%, transparent); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
#app main.book-detail-page .book-buy-cta { min-width: 190px; font-weight: 850; letter-spacing: .08em; }
#app main.shango-detail-page { background: radial-gradient(circle at 16% 14%, color-mix(in srgb, var(--isolele-accent) 18%, transparent), transparent 35%), var(--isolele-bg) !important; }
#app main.shango-detail-page .shango-detail-shell { width: min(1180px, calc(100% - 36px)); margin: 0 auto; padding: clamp(100px, 12vw, 170px) 0 90px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 88px); align-items: center; }
#app main.shango-detail-page .shango-detail-media { border: 1px solid color-mix(in srgb, var(--isolele-accent) 38%, transparent); border-radius: 30px; padding: 10px; background: color-mix(in srgb, var(--isolele-bg-secondary) 88%, transparent); box-shadow: 0 26px 70px rgba(0,0,0,.18); }
#app main.shango-detail-page .shango-detail-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; }
#app main.shango-detail-page .shango-detail-copy { padding: clamp(8px, 2vw, 24px); }
#app main.shango-detail-page .shango-detail-copy h1 { margin: 12px 0 18px; font-size: clamp(2.5rem, 7vw, 6rem); line-height: .94; letter-spacing: -.05em; }
#app main.shango-detail-page .shango-detail-copy .lead { max-width: 640px; font-size: clamp(1.1rem, 2vw, 1.5rem); line-height: 1.55; color: var(--isolele-text-secondary); }
#app main.shango-detail-page .shango-detail-copy > p:not(.eyebrow):not(.lead):not(.book-price) { max-width: 600px; margin-top: 20px; color: var(--isolele-text-secondary); line-height: 1.8; }
#app main.shango-detail-page .shango-detail-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
#app main.shango-detail-page .shango-detail-actions .btn { min-width: 190px; }
.site-footer, footer, #app > footer { border-top: 1px solid color-mix(in srgb, var(--isolele-accent) 32%, transparent); box-shadow: 0 -20px 55px rgba(0,0,0,.08); }
.site-footer .container, #app > footer > div { border-radius: 28px 28px 0 0; }
.site-footer a, #app > footer a { transition: color .2s ease, transform .2s ease, opacity .2s ease; }
.site-footer a:hover, #app > footer a:hover { color: var(--isolele-accent) !important; transform: translateY(-2px); }
@media (max-width: 760px) { #app main.shango-detail-page .shango-detail-shell { grid-template-columns: 1fr; padding-top: 92px; } #app main.shango-detail-page .shango-detail-actions .btn { width: 100%; } }

/* Only the horizontal Les Élus rail: book covers, no section-wide background. */
.home-chosen-ones-section .home-chosen-rail { background: none !important; overflow-x: auto; overflow-y: hidden; overscroll-behavior: auto; touch-action: pan-x pan-y; }
.home-chosen-ones-section .home-chosen-rail > .group,
.home-chosen-ones-section .home-chosen-rail > .home-shango-chosen { flex: 0 0 22rem; width: 22rem; }
.home-chosen-ones-section .home-chosen-rail > .group > a,
.home-chosen-ones-section .home-chosen-rail > .home-shango-chosen { display: flex; flex-direction: column; position: relative; height: 100%; min-height: 34rem; padding: 0 1.15rem 1.15rem; border: 1px solid color-mix(in srgb, var(--isolele-accent) 24%, transparent); border-radius: 1rem; background: color-mix(in srgb, var(--isolele-bg-secondary) 94%, transparent); overflow: hidden; }
/* The script adds a replacement image frame; hide it so each card keeps one image only. */
.home-chosen-ones-section .home-chosen-rail .chosen-card-image { display: none !important; }
.home-chosen-ones-section .home-chosen-rail > .group > a > div:not(.chosen-card-image) { position: relative; width: calc(100% + 2.3rem); height: 24rem; flex: 0 0 24rem; margin: 0 -1.15rem 1rem; overflow: hidden; border-radius: 0; }
.home-chosen-ones-section .home-chosen-rail > .group > a > div:not(.chosen-card-image) > div:first-child { background-size: cover !important; background-position: center !important; }
.home-chosen-ones-section .home-chosen-rail > .group > a > h3,
.home-chosen-ones-section .home-chosen-rail > .group > a > p,
.home-chosen-ones-section .home-chosen-rail > .group > a > span { flex-shrink: 0; }
.home-chosen-ones-section .home-chosen-rail > .group > a > h3 { font-size: 1.35rem; line-height: 1.1; }
.home-chosen-ones-section .home-chosen-rail > .group > a > p { min-height: 2.7rem; }
.home-chosen-ones-section .home-chosen-rail > .group > a > span { margin-top: auto; padding-top: .8rem; }
.home-chosen-ones-section .home-chosen-rail > .home-shango-chosen > img { width: calc(100% + 2.3rem); height: 24rem; flex: 0 0 24rem; margin: 0 -1.15rem 1rem; object-fit: cover; object-position: center; }
.home-chosen-ones-section .home-chosen-rail > .home-shango-chosen > div { margin-top: auto; }
@media (max-width: 760px) {
  .home-chosen-ones-section .home-chosen-rail > .group,
  .home-chosen-ones-section .home-chosen-rail > .home-shango-chosen { flex-basis: min(22rem, 84vw); width: min(22rem, 84vw); }
}

/* Homepage motion system: a calm crossfade for the three-second book rotation. */
#app main[data-home-complete] #hero img {
  will-change: opacity, transform;
  backface-visibility: hidden;
  transform-origin: center center;
}
#app main[data-home-complete] #hero h1,
#app main[data-home-complete] #hero p,
#app main[data-home-complete] #hero .inline-block {
  will-change: opacity, transform;
}
#app main[data-home-complete] #hero.hero-slide-kufu img {
  object-position: center center !important;
}

/* Availability labels stay anchored to the lower edge of each product card. */
.home-products-section .home-availability-card {
  position: relative !important;
  isolation: isolate;
  padding-bottom: 3.6rem !important;
}
.home-products-section .home-availability-badge {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding: .38rem .7rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .14em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
}
.home-products-section .home-availability-badge.is-available {
  color: #1f6b43;
  background: #e7f5eb;
}
.home-products-section .home-availability-badge.is-soon {
  color: #8a6410;
  background: #fff6d8;
}

/* Automatic horizontal marquee for Les Élus, with a clean scrollbar-free rail. */
.home-chosen-ones-section .home-chosen-rail {
  scrollbar-width: none;
  scroll-behavior: auto;
}
.home-chosen-ones-section .home-chosen-rail::-webkit-scrollbar { display: none; }
.home-chosen-ones-section .home-chosen-rail > * { scroll-snap-align: start; }

/* Stable card geometry: every chosen book uses the first card's exact frame. */
.home-chosen-ones-section .home-chosen-rail > .group,
.home-chosen-ones-section .home-chosen-rail > .home-shango-chosen {
  box-sizing: border-box !important;
  flex: 0 0 22rem !important;
  width: 22rem !important;
  min-width: 22rem !important;
  height: 34rem !important;
}
.home-chosen-ones-section .home-chosen-rail > .group > a,
.home-chosen-ones-section .home-chosen-rail > .home-shango-chosen {
  box-sizing: border-box !important;
  height: 34rem !important;
  min-height: 34rem !important;
}
.home-chosen-ones-section .home-chosen-rail > .group > a > div:not(.chosen-card-image),
.home-chosen-ones-section .home-chosen-rail > .home-shango-chosen > img {
  height: 24rem !important;
  min-height: 24rem !important;
  max-height: 24rem !important;
  flex-basis: 24rem !important;
  object-fit: cover !important;
  object-position: center top !important;
}
.home-chosen-ones-section .home-chosen-rail > .group > a > div:not(.chosen-card-image) > div:first-child {
  height: 100% !important;
  background-size: cover !important;
  background-position: center top !important;
}

/* Crossfade layers prevent the hero from changing abruptly. */
#app main[data-home-complete] #hero .hero-active-image,
#app main[data-home-complete] #hero .hero-next-image {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
  will-change: opacity, transform;
  backface-visibility: hidden;
}
#app main[data-home-complete] #hero .hero-next-image { z-index: 1; }
#app main[data-home-complete] #hero .hero-active-image { z-index: 0; }
#app main[data-home-complete] #hero .hero-active-image + .hero-next-image + div { z-index: 2; }

/* Dedicated King Kufulula profile. */
#app main.kufulula-profile-page {
  min-height: 100vh;
  padding: clamp(7rem, 12vw, 11rem) clamp(1rem, 5vw, 5rem) 5rem;
  color: var(--isolele-text, #191919);
  background: radial-gradient(circle at 80% 0%, color-mix(in srgb, var(--isolele-accent, #b8860b) 18%, transparent), transparent 38%), var(--isolele-bg, #f8f6f0);
}
.kufulula-profile-hero, .kufulula-profile-content { width: min(1160px, 100%); margin: 0 auto; }
.kufulula-profile-hero { display: grid; grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.kufulula-profile-media { padding: .7rem; border: 1px solid color-mix(in srgb, var(--isolele-accent, #b8860b) 55%, transparent); border-radius: 1.5rem; background: color-mix(in srgb, var(--isolele-bg-secondary, #fff) 84%, transparent); box-shadow: 0 24px 65px rgba(0,0,0,.18); }
.kufulula-profile-media img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center; border-radius: 1rem; }
.kufulula-profile-intro h1 { margin: .7rem 0 1rem; font-size: clamp(2.4rem, 7vw, 6rem); line-height: .95; letter-spacing: -.055em; }
.kufulula-profile-lead { max-width: 620px; margin: 0 0 2rem; color: var(--isolele-text-secondary, #575757); font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.55; }
.kufulula-profile-content { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: clamp(3rem, 7vw, 7rem); }
.kufulula-profile-content article { padding: clamp(1.4rem, 3vw, 2.5rem); border: 1px solid color-mix(in srgb, var(--isolele-accent, #b8860b) 26%, transparent); border-radius: 1.25rem; background: color-mix(in srgb, var(--isolele-bg-secondary, #fff) 92%, transparent); box-shadow: 0 14px 40px rgba(0,0,0,.08); }
.kufulula-profile-content h2 { margin: .8rem 0 1rem; font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.05; }
.kufulula-profile-content p, .kufulula-profile-content li { color: var(--isolele-text-secondary, #575757); line-height: 1.75; }
.kufulula-profile-content ul { display: grid; gap: .8rem; margin: 1rem 0 0; padding-left: 1.2rem; }
.kufulula-profile-quote { width: min(900px, 100%); margin: 3.5rem auto 0; padding: 2rem; border-left: 4px solid var(--isolele-accent, #b8860b); background: color-mix(in srgb, var(--isolele-accent, #b8860b) 8%, transparent); }
.kufulula-profile-quote p { margin: 0; font-size: clamp(1.35rem, 3vw, 2.4rem); font-weight: 800; line-height: 1.2; }

/* Reliable button treatment across SSR fragments and custom pages. */
#app .btn, #app button.btn, #app a > button, #app .hero-cta-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 48px !important;
  padding: .85rem 1.35rem !important;
  border: 1px solid var(--isolele-accent, #b8860b) !important;
  border-radius: .55rem !important;
  font-weight: 850 !important;
  letter-spacing: .06em !important;
  line-height: 1.15 !important;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform .25s ease, filter .25s ease, box-shadow .25s ease, background-color .25s ease !important;
}
#app .btn:hover, #app button.btn:hover, #app a > button:hover, #app .hero-cta-button:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 10px 24px color-mix(in srgb, var(--isolele-accent, #b8860b) 24%, transparent); }
#app .btn--primary, #app .hero-cta-button { background: var(--isolele-accent, #b8860b) !important; color: #101010 !important; }
#app .btn--secondary { background: transparent !important; color: var(--isolele-accent, #b8860b) !important; }
.site-footer__logo { display: block; width: auto; height: 44px; max-width: 210px; object-fit: contain; }
.site-footer__seal { display: block; width: 58px; height: 58px; margin-top: 1rem; object-fit: contain; opacity: .9; }
.home-join-section .relative[class*="aspect-"] { min-height: clamp(300px, 42vw, 620px) !important; height: clamp(300px, 42vw, 620px) !important; position: relative !important; overflow: hidden !important; }
.home-join-section .relative[class*="aspect-"] > img, .home-join-section img[src*="18_legends-crew"] { display: block !important; width: 100% !important; height: 100% !important; min-height: 100% !important; position: absolute !important; inset: 0 !important; object-fit: cover !important; object-position: center !important; opacity: 1 !important; visibility: visible !important; }
.kufulula-back-button { position: absolute; top: clamp(5.5rem, 8vw, 7rem); left: clamp(1rem, 4vw, 4rem); z-index: 5; display: inline-flex; align-items: center; gap: .55rem; min-height: 42px; padding: .65rem .9rem; border: 1px solid color-mix(in srgb, var(--isolele-accent, #b8860b) 70%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--isolele-bg-secondary, #fff) 88%, transparent); color: var(--isolele-text, #1a1a1a); font-size: .72rem; font-weight: 900; letter-spacing: .12em; cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,.1); transition: transform .22s ease, background-color .22s ease, color .22s ease; }
.kufulula-back-button:hover { transform: translateX(-3px); background: var(--isolele-accent, #b8860b); color: #101010; }
@media (max-width: 760px) {
  .home-chosen-ones-section .home-chosen-rail > .group,
  .home-chosen-ones-section .home-chosen-rail > .home-shango-chosen { flex-basis: min(22rem, 84vw) !important; width: min(22rem, 84vw) !important; min-width: min(22rem, 84vw) !important; }
  .kufulula-profile-hero, .kufulula-profile-content { grid-template-columns: 1fr; }
}

/* Final refinement: readable hero copy, uniform elected rail, unavailable products and gentle transitions. */
.home-products-section .home-availability-badge.is-unavailable { color: #8b2635; background: #fff0f1; }
.home-chosen-ones-section .home-chosen-rail { scroll-behavior: auto !important; overflow-x: auto !important; }
.home-chosen-ones-section .home-chosen-rail > .chosen-rail-item { flex: 0 0 22rem !important; width: 22rem !important; min-width: 22rem !important; height: 34rem !important; }
.home-chosen-ones-section .home-chosen-rail .chosen-rail-card { display: flex !important; flex-direction: column !important; width: 100% !important; height: 34rem !important; min-height: 34rem !important; overflow: hidden !important; }
.home-chosen-ones-section .home-chosen-rail .chosen-rail-image { flex: 0 0 24rem !important; width: 100% !important; height: 24rem !important; min-height: 24rem !important; max-height: 24rem !important; overflow: hidden !important; }
.home-chosen-ones-section .home-chosen-rail .chosen-rail-image img { display: block !important; width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: center top !important; }
.home-chosen-ones-section .home-chosen-rail .chosen-rail-card > div:last-child { flex: 1 1 auto !important; min-height: 10rem !important; height: 10rem !important; }
#app main[data-home-complete] #hero .hero-copy-panel { isolation: isolate; width: min(48rem, 92vw); padding: clamp(.9rem, 2.2vw, 1.7rem) clamp(1rem, 3vw, 2.4rem); border-radius: 1.25rem; background: linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.64) 42%, rgba(0,0,0,.78) 100%); box-shadow: 0 18px 45px rgba(0,0,0,.14); backdrop-filter: blur(1.5px); -webkit-backdrop-filter: blur(1.5px); }
#app main[data-home-complete] #hero .hero-copy-panel > p, #app main[data-home-complete] #hero .hero-copy-panel > h1, #app main[data-home-complete] #hero .hero-copy-panel > a { position: relative; z-index: 1; text-shadow: 0 2px 12px rgba(0,0,0,.8); }
html { scroll-behavior: smooth; }
#app { transition: opacity .42s cubic-bezier(.22,1,.36,1), transform .42s cubic-bezier(.22,1,.36,1); }
#app.route-transitioning { opacity: .06; transform: translateY(10px); }
.home-section-visible { transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.unavailable-product-modal { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; padding: 1rem; background: rgba(0,0,0,.62); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .28s ease, visibility .28s ease; }
.unavailable-product-modal.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.unavailable-product-dialog { position: relative; width: min(28rem, 100%); padding: 2rem; border: 1px solid color-mix(in srgb, var(--isolele-accent, #b8860b) 65%, transparent); border-radius: 1.25rem; background: var(--isolele-bg, #fff); color: var(--isolele-text, #1a1a1a); box-shadow: 0 25px 80px rgba(0,0,0,.35); transform: translateY(12px) scale(.98); transition: transform .28s ease; }
.unavailable-product-modal.is-open .unavailable-product-dialog { transform: translateY(0) scale(1); }
.unavailable-product-dialog h2 { margin: .5rem 0 .8rem; font-size: 1.35rem; font-weight: 900; }
.unavailable-product-dialog > p:not(.section__eyebrow) { margin-bottom: 1.25rem; color: var(--isolele-text-secondary, #4a4a4a); line-height: 1.6; }
.unavailable-product-close { position: absolute; top: .65rem; right: .8rem; width: 2rem; height: 2rem; border: 0; background: transparent; color: inherit; font-size: 1.5rem; cursor: pointer; }
@media (max-width: 760px) { .home-chosen-ones-section .home-chosen-rail > .chosen-rail-item { flex-basis: min(22rem, 84vw) !important; width: min(22rem, 84vw) !important; min-width: min(22rem, 84vw) !important; } #app main[data-home-complete] #hero .hero-copy-panel { width: min(94vw, 34rem); } }

/* The automatic marquee must not be pulled back by mandatory snap points. */
.home-chosen-ones-section .home-chosen-rail { scroll-snap-type: none !important; }

/* Full-screen reading wall: the image remains visible at the edges while the text zone gets a soft dark focus. */
#app main[data-home-complete] #hero .hero-copy-panel { position: absolute; inset: 0; z-index: 10; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; width: 100%; min-height: 100%; height: 100%; max-width: none; padding: clamp(1.25rem, 5vw, 4rem) clamp(1rem, 7vw, 7rem); border-radius: 0; background: radial-gradient(ellipse 46% 68% at 34% 50%, rgba(0,0,0,.76) 0%, rgba(0,0,0,.56) 42%, rgba(0,0,0,.18) 72%, rgba(0,0,0,.04) 100%); box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; pointer-events: none; }
#app main[data-home-complete] #hero .hero-copy-panel > * { pointer-events: auto; }
#app main[data-home-complete] #hero .hero-copy-panel > p, #app main[data-home-complete] #hero .hero-copy-panel > h1, #app main[data-home-complete] #hero .hero-copy-panel > a { max-width: min(42rem, 72vw); }
/* Ensure every book-detail image has a stable, visible frame even when an original path is absent. */
.book-detail-page img.book-detail-background, .book-detail-page img { display: block; max-width: 100%; }
.book-detail-page img.book-detail-background { min-height: 18rem; background: linear-gradient(135deg, #16110c, #b8860b); }
.site-footer__col--institutional ul { display: grid; grid-template-columns: repeat(3, minmax(8rem, 1fr)); gap: .75rem; margin: 0; padding: 0; list-style: none; }
.site-footer__col--institutional li { margin: 0; }
.site-footer__col--institutional li a { display: flex; min-height: 3.1rem; align-items: center; justify-content: center; padding: .7rem 1rem; border: 1px solid rgba(212,175,55,.42); border-radius: .75rem; background: linear-gradient(135deg, rgba(212,175,55,.16), rgba(17,17,17,.72)); color: #f6e6b0; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-align: center; text-decoration: none; transition: transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease; }
.site-footer__col--institutional li a:hover, .site-footer__col--institutional li a:focus-visible { transform: translateY(-3px); border-color: #d4af37; background: linear-gradient(135deg, rgba(212,175,55,.34), rgba(17,17,17,.9)); box-shadow: 0 10px 26px rgba(0,0,0,.25), 0 0 0 3px rgba(212,175,55,.12); outline: none; }
.btn, button.btn, a.btn { border-width: 1px; border-style: solid; border-color: rgba(212,175,55,.78); border-radius: .65rem; box-shadow: 0 7px 18px rgba(0,0,0,.12); transition: transform .25s ease, box-shadow .25s ease, filter .25s ease; }
.btn:hover, button.btn:hover, a.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(0,0,0,.2); filter: brightness(1.06); }
@media (max-width: 760px) {
  #app main[data-home-complete] #hero .hero-copy-panel { align-items: center; justify-content: center; padding: 5rem 1.25rem 4rem; text-align: center; background: radial-gradient(ellipse 78% 54% at 50% 52%, rgba(0,0,0,.8) 0%, rgba(0,0,0,.58) 48%, rgba(0,0,0,.2) 78%, rgba(0,0,0,.06) 100%); }
  #app main[data-home-complete] #hero .hero-copy-panel > p, #app main[data-home-complete] #hero .hero-copy-panel > h1, #app main[data-home-complete] #hero .hero-copy-panel > a { max-width: 92vw; }
  .site-footer__col--institutional ul { grid-template-columns: 1fr; }
}

/* 2026-09-13 premium refinement: left-aligned hero copy and color-matched CTAs. */
#app main[data-home-complete] #hero .hero-copy-panel { align-items: flex-start !important; justify-content: center !important; text-align: left !important; padding-left: clamp(1.25rem, 8vw, 8rem) !important; }
#app main[data-home-complete] #hero .hero-copy-panel > * { margin-left: 0 !important; margin-right: auto !important; }
.hero-cta-button, .hero-copy-panel .btn, .chosen-rail-item .btn, .home-chosen-rail a[class*="btn"] { --cta-color: var(--isolele-accent, #d4af37); border: 1px solid var(--cta-color) !important; border-radius: 999px !important; background: linear-gradient(135deg, color-mix(in srgb, var(--cta-color) 28%, #111), rgba(0,0,0,.72)) !important; color: #fff !important; min-height: 44px; padding: .7rem 1.25rem; font-weight: 850; letter-spacing: .06em; box-shadow: 0 8px 20px color-mix(in srgb, var(--cta-color) 20%, transparent); }
.hero-cta-button:hover, .hero-copy-panel .btn:hover, .chosen-rail-item .btn:hover, .home-chosen-rail a[class*="btn"]:hover { background: linear-gradient(135deg, color-mix(in srgb, var(--cta-color) 55%, #111), rgba(0,0,0,.78)) !important; box-shadow: 0 12px 28px color-mix(in srgb, var(--cta-color) 32%, transparent); }
.home-chosen-ones-section .home-chosen-rail > * { --cta-color: #d4af37; }
.home-chosen-ones-section .home-chosen-rail > *:nth-child(6n+1) { --cta-color: #4da6ff; }
.home-chosen-ones-section .home-chosen-rail > *:nth-child(6n+2) { --cta-color: #55c878; }
.home-chosen-ones-section .home-chosen-rail > *:nth-child(6n+3) { --cta-color: #e35d6a; }
.home-chosen-ones-section .home-chosen-rail > *:nth-child(6n+4) { --cta-color: #d4af37; }
.home-chosen-ones-section .home-chosen-rail > *:nth-child(6n+5) { --cta-color: #b68cff; }
.home-chosen-ones-section .home-chosen-rail > *:nth-child(6n) { --cta-color: #55c8c0; }
.unavailable-product-modal { opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; }
.unavailable-product-modal.is-open { opacity: 1; visibility: visible; }
.unavailable-product-dialog { display: grid; grid-template-columns: minmax(10rem, 34%) 1fr; width: min(92vw, 720px); overflow: hidden; padding: 0 !important; border: 1px solid rgba(212,175,55,.5); border-radius: 24px !important; background: #111 !important; box-shadow: 0 28px 80px rgba(0,0,0,.5); }
.unavailable-product-cover { min-height: 20rem; background: #1b140c; }
.unavailable-product-cover img { width: 100%; height: 100%; min-height: 20rem; object-fit: cover; }
.unavailable-product-copy { position: relative; padding: clamp(1.5rem, 4vw, 3rem); align-self: center; }
.unavailable-product-description { color: var(--isolele-text-secondary, #d8c9a5); line-height: 1.7; }
.comics-book-preview { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s ease; }
.comics-book-preview.is-open { opacity: 1; visibility: visible; }
.comics-book-preview__backdrop { position: absolute; inset: 0; background: rgba(4,4,4,.82); backdrop-filter: blur(10px); }
.comics-book-preview__panel { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(12rem, 38%) 1fr; width: min(94vw, 920px); max-height: 86vh; overflow: hidden; border: 1px solid rgba(212,175,55,.55); border-radius: 28px; background: #111; box-shadow: 0 30px 100px rgba(0,0,0,.65); transform: translateY(20px) scale(.98); transition: transform .4s cubic-bezier(.22,1,.36,1); }
.comics-book-preview.is-open .comics-book-preview__panel { transform: translateY(0) scale(1); }
.comics-book-preview__cover { min-height: 25rem; background-position: center; background-size: cover; }
.comics-book-preview__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(1.5rem, 5vw, 4rem); color: #f7f1df; }
.comics-book-preview__copy h2 { margin: .4rem 0 1rem; color: #fff; font-size: clamp(1.5rem, 3vw, 2.6rem); }
.comics-book-preview__copy > p:not(.section__eyebrow) { color: #d8c9a5; line-height: 1.8; }
.comics-book-preview__close, .unavailable-product-close { position: absolute; top: .8rem; right: .9rem; z-index: 2; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 1px solid rgba(212,175,55,.45); border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; font-size: 1.35rem; cursor: pointer; }
.comics-book-preview__actions { margin-top: 1.5rem; }
.comics-book-preview__actions .btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; }
.site-footer__col--institutional ul, .site-footer__col--institutional li { list-style: none !important; }
.site-footer__col--institutional li::before { display: none !important; content: none !important; }
.site-footer__col--institutional a { text-decoration: none !important; }
.kufulula-profile-content ul, .kufulula-profile-content li { list-style: none; margin-left: 0; padding-left: 0; }
.kufulula-profile-content li { padding: .85rem 1rem; border: 1px solid rgba(212,175,55,.22); border-radius: 14px; background: rgba(17,17,17,.42); }
@media (max-width: 700px) {
  #app main[data-home-complete] #hero .hero-copy-panel { align-items: flex-start !important; text-align: left !important; padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
  .unavailable-product-dialog, .comics-book-preview__panel { grid-template-columns: 1fr; width: min(94vw, 540px); max-height: 90vh; overflow-y: auto; }
  .unavailable-product-cover, .unavailable-product-cover img, .comics-book-preview__cover { min-height: 14rem; max-height: 22rem; }
  .comics-book-preview__copy { padding: 1.5rem; }
}

/* Contact panel, catalogue states and purchase page refinement */
.site-footer__logo { display: block !important; width: min(220px, 70vw) !important; height: auto !important; }
.site-footer__seal { display: none !important; }
.site-footer__email { display: inline-block; margin-top: .8rem; color: var(--isolele-accent, #d4af37) !important; font-size: .78rem; font-weight: 800; text-decoration: none !important; overflow-wrap: anywhere; }
.site-footer__phone-toggle { width: 2.35rem; height: 2.35rem; border: 1px solid rgba(212,175,55,.5); border-radius: 50%; background: rgba(212,175,55,.1); color: #d4af37; cursor: pointer; }
.site-footer__contact-popover { display: flex; gap: .55rem; margin-top: .8rem; padding: .65rem; border: 1px solid rgba(212,175,55,.32); border-radius: 14px; background: rgba(10,10,10,.85); box-shadow: 0 15px 35px rgba(0,0,0,.3); }
.site-footer__contact-popover[hidden] { display: none; }
.site-footer__contact-popover a { display: flex; align-items: center; gap: .45rem; color: #f7f1df !important; font-size: .72rem; text-decoration: none !important; white-space: nowrap; }
.comics-status-badge, .home-availability-badge { display: inline-flex !important; align-items: center; justify-content: center; min-width: 6.4rem; min-height: 1.8rem; padding: .35rem .72rem; border-radius: 999px; font-size: .65rem; font-weight: 950; letter-spacing: .12em; }
.comics-status-badge.is-available, .home-availability-badge.is-available { background: #43d17a !important; color: #07150d !important; }
.comics-status-badge.is-preorder, .home-availability-badge.is-preorder { background: #d4af37 !important; color: #171006 !important; }
.comics-status-badge.is-soon, .home-availability-badge.is-soon { background: #bd3f4d !important; color: #fff !important; }
.comics-status-badge { margin: .7rem 0 .35rem; }
.home-availability-badge { animation: status-price-cycle 6s ease-in-out infinite; }
@keyframes status-price-cycle { 0%,33% { opacity: 1; transform: translateY(0); } 42%,58% { opacity: .1; transform: translateY(-7px); } 67%,100% { opacity: 1; transform: translateY(0); } }
.shop-page { min-height: 100vh; background: radial-gradient(circle at 80% 12%, rgba(212,175,55,.12), transparent 30%), #0c0c0d; color: #f7f1df; }
.shop-topbar { position: sticky; top: 0; z-index: 4; display: flex; justify-content: space-between; align-items: center; padding: 1rem clamp(1rem, 5vw, 5rem); border-bottom: 1px solid rgba(212,175,55,.2); background: rgba(10,10,10,.88); backdrop-filter: blur(14px); }
.shop-back, .shop-contact { border: 1px solid rgba(212,175,55,.45); border-radius: 999px; padding: .65rem 1rem; background: transparent; color: #d4af37 !important; font-weight: 850; text-decoration: none !important; cursor: pointer; }
.shop-shell { width: min(1180px, 92vw); margin: auto; padding: clamp(3rem, 8vw, 7rem) 0; }
.shop-shell h1 { margin: .35rem 0 1rem; font-size: clamp(2.4rem, 6vw, 5.8rem); line-height: .95; }
.shop-lead { max-width: 620px; color: #d8c9a5; line-height: 1.75; }
.shop-book-list { display: grid; gap: 1.4rem; margin-top: 3rem; }
.shop-book-card { display: grid; grid-template-columns: 1fr minmax(180px, 32%); min-height: 300px; overflow: hidden; border: 1px solid rgba(212,175,55,.28); border-radius: 24px; background: linear-gradient(120deg, rgba(28,24,18,.9), rgba(10,10,10,.86)); box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.shop-book-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(1.4rem, 4vw, 3.5rem); }
.shop-book-status { color: #d4af37; font-size: .7rem; font-weight: 950; letter-spacing: .16em; }
.shop-book-copy h2 { margin: .65rem 0; color: #fff; font-size: clamp(1.35rem, 3vw, 2.4rem); }
.shop-book-copy > p:not(.shop-book-status) { max-width: 560px; color: #d8c9a5; line-height: 1.75; }
.shop-book-cover img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.shop-more { margin-top: 1rem; border: 0; background: transparent; color: #d4af37; font-size: .7rem; font-weight: 950; letter-spacing: .16em; cursor: pointer; }
.shop-book-details { display: grid; grid-template-rows: 0fr; width: 100%; margin-top: 0; overflow: hidden; transition: grid-template-rows .4s ease, margin-top .4s ease; }
.shop-book-copy.is-expanded .shop-book-details { grid-template-rows: 1fr; margin-top: 1rem; }
.shop-book-details .btn { min-width: 190px; }
.shop-soon-note { margin-top: 1rem; color: #bd3f4d; font-weight: 900; }
.comics-added-book-card { border: 1px solid rgba(212,175,55,.25); border-radius: 20px; overflow: hidden; }
.comics-added-book-card a { display: block; color: inherit; text-decoration: none; }
.comics-added-book-card img { width: 100%; aspect-ratio: 2/3; object-fit: cover; }
.comics-added-book-card > a > div { padding: 1rem; }
.comics-added-book-card h3 { margin: .4rem 0; }
.comics-added-book-card small { color: var(--isolele-text-secondary, #d8c9a5); line-height: 1.5; }
#app main[data-home-complete] #hero::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.45) 38%, rgba(0,0,0,.16) 68%, rgba(0,0,0,.42) 100%); }
#app main[data-home-complete] #hero .hero-copy-panel { z-index: 2 !important; width: 100% !important; max-width: 100% !important; }
.home-join-section { position: relative; isolation: isolate; overflow: hidden; border: 1px solid rgba(212,175,55,.25); border-radius: 28px; background: rgba(15,15,15,.55); }
.home-join-section::before, .home-join-section::after { content: ''; position: absolute; z-index: -1; width: 17rem; height: 17rem; border: 1px solid rgba(212,175,55,.18); border-radius: 50%; animation: join-orbit 14s linear infinite; }
.home-join-section::before { top: -8rem; right: -5rem; }
.home-join-section::after { bottom: -10rem; left: -4rem; animation-direction: reverse; }
@keyframes join-orbit { to { transform: rotate(360deg) translateX(18px) rotate(-360deg); } }
.news-page .news-feature-actions { justify-content: flex-start; }
.news-page .news-feature-actions a, .news-page .news-feature-actions button { min-width: 42px; min-height: 42px; border-radius: 999px; }
.news-page .news-feature-actions .news-action-label { display: none; }
.news-page .news-toolbar { display: flex; align-items: center; gap: .6rem; padding: .7rem; border: 1px solid rgba(212,175,55,.22); border-radius: 18px; background: rgba(17,17,17,.68); box-shadow: 0 15px 40px rgba(0,0,0,.16); }
.news-page .news-toolbar button, .news-page .news-toolbar a { min-height: 40px; border: 1px solid rgba(212,175,55,.35); border-radius: 999px; background: rgba(0,0,0,.24); color: #f7f1df; text-decoration: none; }
@media (max-width: 700px) { .shop-book-card { grid-template-columns: 1fr; } .shop-book-cover { order: -1; } .shop-book-cover img { min-height: 270px; max-height: 380px; } .site-footer__contact-popover { flex-direction: column; } }

/* 2026-09-15 visual refinement */
#app main[data-home-complete] #hero::before { z-index: 0 !important; background: linear-gradient(90deg, rgba(0,0,0,.68) 0%, rgba(0,0,0,.38) 36%, rgba(0,0,0,.08) 68%, rgba(0,0,0,.35) 100%) !important; }
#app main[data-home-complete] #hero > .relative.z-10, #app main[data-home-complete] #hero .hero-copy-panel { position: relative; z-index: 3 !important; }
.home-join-cta { display: flex !important; width: max-content !important; max-width: 100% !important; margin: 1.5rem auto 0 !important; justify-content: center !important; align-items: center !important; }
.home-join-cta > button { width: auto !important; min-width: 0 !important; max-width: min(280px, 88vw) !important; padding: .85rem 1.65rem !important; font-size: .86rem !important; line-height: 1.2 !important; }
.home-join-section { padding: clamp(1.5rem, 5vw, 4rem) !important; }
.home-join-section .home-join-cta span.absolute { opacity: .25; }
.home-join-section .home-join-cta:hover > button { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(184,134,11,.28); }
.home-join-section::before, .home-join-section::after { opacity: .55; pointer-events: none; }
.comics-page .comics-added-book-card, .comics-page main article { transition: transform .45s ease, box-shadow .45s ease, border-color .45s ease; }
.comics-page .comics-added-book-card:hover, .comics-page main article:hover { transform: translateY(-7px); box-shadow: 0 18px 36px rgba(0,0,0,.2); border-color: var(--isolele-accent); }
.comics-page .overflow-x-auto, .comics-page [class*="carousel"], .comics-page [class*="rail"] { scrollbar-width: none; scroll-behavior: auto; }
.comics-page .overflow-x-auto::-webkit-scrollbar { display: none; }
.comics-page .comics-status-badge { position: relative; z-index: 2; animation: comics-badge-pulse 5s ease-in-out infinite; }
@keyframes comics-badge-pulse { 0%,100% { filter: brightness(1); } 48% { filter: brightness(1.16); transform: translateY(-2px); } 56% { filter: brightness(1); transform: translateY(0); } }
.comics-page .comics-added-book-card { min-width: 230px; background: var(--isolele-bg-secondary); }
.comics-page .comics-added-book-card img { aspect-ratio: 2 / 3; object-fit: cover; }
.news-page .news-toolbar { justify-content: flex-start !important; gap: .7rem !important; padding: .75rem 1rem !important; border: 1px solid color-mix(in srgb, var(--isolele-accent) 38%, transparent) !important; background: color-mix(in srgb, var(--isolele-bg-secondary) 88%, transparent) !important; }
.news-page .news-toolbar input { min-width: min(300px, 45vw); border: 1px solid color-mix(in srgb, var(--isolele-accent) 28%, transparent) !important; border-radius: 999px !important; background: transparent !important; color: var(--isolele-text) !important; }
.news-page .news-toolbar button { transition: transform .25s ease, background .25s ease, color .25s ease; }
.news-page .news-toolbar button:hover { transform: translateY(-2px); background: var(--isolele-accent) !important; color: var(--isolele-bg) !important; }
html[data-theme="savane-electrique"] body, html[data-theme="savane-electrique"] #app, html[data-theme="savane-electrique"] main, html[data-theme="savane-electrique"] header, html[data-theme="savane-electrique"] footer { background-color: #020817 !important; color: #eff6ff !important; }
html[data-theme="savane-electrique"] .bg-white, html[data-theme="savane-electrique"] [class*="bg-card"], html[data-theme="savane-electrique"] [class*="bg-background"] { background-color: #071a35 !important; }
html[data-theme="savane-electrique"] button, html[data-theme="savane-electrique"] .btn { border-color: rgba(56,189,248,.5); }
html[data-theme="noir-premium"] body, html[data-theme="noir-premium"] #app, html[data-theme="noir-premium"] main, html[data-theme="noir-premium"] header, html[data-theme="noir-premium"] footer { background-color: #000 !important; color: #fff !important; }
html[data-theme="noir-premium"] [class*="bg-white"], html[data-theme="noir-premium"] [class*="bg-card"], html[data-theme="noir-premium"] [class*="bg-background"] { background-color: #0a0a0a !important; }
html[data-theme="noir-premium"] button, html[data-theme="noir-premium"] .btn { border-color: rgba(255,215,0,.55); }
body, main, header, footer, button, a, .btn { transition: background-color .45s ease, color .45s ease, border-color .45s ease, box-shadow .35s ease, transform .35s ease; }
@media (max-width: 700px) { .home-join-cta { margin-inline: auto !important; } .news-page .news-toolbar { flex-wrap: wrap; } .news-page .news-toolbar input { min-width: 100%; order: 5; } }

.mobile-menu-cart { display: flex; align-items: center; gap: .7rem; width: 100%; padding: .8rem 0; border: 0; border-bottom: 1px solid color-mix(in srgb, var(--isolele-accent) 18%, transparent); background: transparent; color: var(--isolele-text); font: inherit; font-weight: 800; letter-spacing: .08em; cursor: pointer; text-align: left; }
.mobile-menu-cart i { color: var(--isolele-accent); }
