
/* FENIX 2100 — Great Minds Library gallery
   Visual-only evolution: all existing people, reflections and voice behavior remain live. */
#minds {
  background:
    radial-gradient(540px 260px at 50% 3%, rgba(245,190,102,.10), transparent 68%),
    radial-gradient(420px 320px at 12% 32%, rgba(66,126,190,.08), transparent 74%),
    linear-gradient(180deg,#02050a 0%,#04070c 48%,#010307 100%) !important;
}
#minds:before {
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.34;
  background:
    radial-gradient(circle at 15% 12%,rgba(255,210,126,.72) 0 1px,transparent 1.4px),
    radial-gradient(circle at 72% 18%,rgba(127,191,255,.62) 0 1px,transparent 1.3px),
    radial-gradient(circle at 43% 38%,rgba(255,200,113,.50) 0 1px,transparent 1.4px);
  background-size:137px 131px,179px 167px,211px 197px;
}
#minds > * { position:relative; z-index:2; }

#minds > .eyebrow {
  margin-top:2px;
  color:#d7b36d !important;
  text-align:center;
  letter-spacing:.28em !important;
}
#minds > .section-title {
  margin-top:7px !important;
  text-align:center;
  font-size:clamp(30px,8vw,46px) !important;
  letter-spacing:.09em;
  color:#f8e8c3 !important;
  text-shadow:0 0 30px rgba(224,164,76,.12);
}
#minds > .section-copy {
  max-width:560px;
  margin:8px auto 16px !important;
  text-align:center;
  color:#8997a7 !important;
  font-size:11px !important;
  line-height:1.55 !important;
}

.future-library-toolbar {
  max-width:620px;
  margin:0 auto 16px;
}
.future-library-search {
  position:relative;
  display:flex;
  align-items:center;
  min-height:48px;
  padding:0 14px;
  border:1px solid rgba(182,203,222,.20);
  border-radius:18px;
  background:rgba(5,10,17,.86);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025),0 14px 44px rgba(0,0,0,.20);
}
.future-library-search:before {
  content:"⌕";
  flex:0 0 auto;
  margin-right:9px;
  color:#c9a768;
  font-size:22px;
  line-height:1;
}
.future-library-search input {
  width:100%;
  border:0;
  outline:0;
  background:transparent;
  color:#eef4fb;
  font-size:13px;
  letter-spacing:.015em;
}
.future-library-search input::placeholder { color:#687787; }

.future-library-chips {
  display:flex;
  gap:7px;
  margin-top:10px;
  overflow-x:auto;
  padding:1px 1px 4px;
  scrollbar-width:none;
}
.future-library-chips::-webkit-scrollbar { display:none; }
.future-library-chip {
  flex:0 0 auto;
  min-height:30px;
  padding:0 11px;
  border:1px solid rgba(156,184,210,.17);
  border-radius:999px;
  background:rgba(6,13,21,.82);
  color:#8292a3;
  font-size:8px;
  font-weight:700;
  letter-spacing:.10em;
  text-transform:uppercase;
}
.future-library-chip.active {
  border-color:rgba(236,191,103,.56);
  color:#f5dca8;
  background:linear-gradient(180deg,rgba(94,61,25,.72),rgba(31,23,15,.88));
  box-shadow:0 0 18px rgba(230,166,75,.10);
}

#minds .creator-library-intro {
  display:none !important;
}

#minds .minds-grid.library-reflections {
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:9px !important;
  max-width:650px;
  margin:0 auto;
}
#minds .library-profile {
  display:block !important;
  min-height:0 !important;
  overflow:hidden;
  border:1px solid rgba(204,164,91,.22) !important;
  border-radius:16px !important;
  background:linear-gradient(180deg,rgba(11,17,24,.98),rgba(4,8,13,.98)) !important;
  box-shadow:0 14px 34px rgba(0,0,0,.27),inset 0 1px 0 rgba(255,255,255,.025);
  cursor:pointer !important;
  transform:translateZ(0);
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
#minds .library-profile:active {
  transform:scale(.975);
}
#minds .library-profile[hidden] { display:none !important; }

#minds .library-profile .pic {
  position:relative;
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  aspect-ratio:.82;
  overflow:hidden;
  background:#060b12;
}
#minds .library-profile .pic:after {
  content:"";
  position:absolute;
  z-index:2;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(180deg,rgba(13,30,46,.04) 0%,transparent 46%,rgba(2,5,9,.78) 100%),
    radial-gradient(circle at 50% 20%,rgba(232,190,109,.10),transparent 55%);
}
#minds .library-profile .pic:before {
  content:"";
  position:absolute;
  z-index:4;
  right:7px;
  bottom:7px;
  width:25px;
  height:25px;
  border:1px solid rgba(243,205,132,.46);
  border-radius:50%;
  background:rgba(3,7,12,.76);
  box-shadow:0 0 16px rgba(226,171,81,.12);
}
#minds .library-profile .pic img {
  position:relative;
  z-index:1;
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center 22% !important;
  filter:grayscale(.18) sepia(.10) contrast(1.05) brightness(.90) !important;
  transition:filter .16s ease,transform .24s ease;
}
#minds .library-profile .info {
  min-width:0;
  padding:9px 8px 10px !important;
  text-align:center;
}
#minds .library-profile .info > span:first-child {
  display:block;
  min-height:20px;
  overflow:hidden;
  color:#b8975e !important;
  font-size:6.7px !important;
  line-height:1.35;
  letter-spacing:.08em !important;
  text-transform:uppercase;
}
#minds .library-profile .info > b {
  display:block;
  min-height:30px;
  margin-top:3px;
  color:#f6e6c5 !important;
  font-family:Georgia,"Times New Roman",serif;
  font-size:12px !important;
  font-weight:500;
  line-height:1.15;
}
#minds .library-profile .library-kicker,
#minds .library-profile .creator-reason {
  display:none !important;
}
#minds .library-profile .library-hear {
  display:flex !important;
  width:100%;
  min-height:27px !important;
  margin-top:6px !important;
  padding:5px 4px !important;
  align-items:center;
  justify-content:center;
  border:0 !important;
  border-radius:9px !important;
  background:rgba(162,111,47,.08) !important;
  color:#c7a567 !important;
  font-size:6.5px !important;
  line-height:1.25 !important;
  letter-spacing:.065em !important;
  white-space:normal;
}

#minds .library-book-cover {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  background:
    radial-gradient(circle at 50% 18%,rgba(242,198,111,.13),transparent 42%),
    linear-gradient(150deg,#101a26 0%,#071019 55%,#1a120b 100%) !important;
  background-repeat:no-repeat !important;
  background-position:center !important;
  background-size:cover !important;
  border-bottom:1px solid rgba(223,177,91,.16);
}
#minds .library-book-cover:after {
  background:linear-gradient(180deg,rgba(255,255,255,.01),rgba(2,5,9,.28)) !important;
}
#minds .library-book-cover:before { display:none !important; }
.library-book-mark {
  color:#b79559;
  font-size:7px;
  font-weight:800;
  letter-spacing:.24em;
}
.library-book-initial {
  display:grid;
  place-items:center;
  width:52px;
  height:70px;
  border:1px solid rgba(238,197,118,.40);
  border-radius:5px 10px 10px 5px;
  color:#f7e5bc;
  background:linear-gradient(145deg,rgba(58,43,25,.92),rgba(13,19,27,.98));
  font-family:Georgia,"Times New Roman",serif;
  font-size:31px;
  box-shadow:12px 10px 28px rgba(0,0,0,.22),inset -5px 0 0 rgba(255,255,255,.025);
}

/* Real Full Library artwork. The initial stays in the DOM only as a fallback,
   but every current Library book receives an image here. */
#minds .library-book-card[data-book] .library-book-mark,
#minds .library-book-card[data-book] .library-book-initial {
  opacity:0 !important;
  visibility:hidden !important;
}

#minds .library-book-card[data-book="jung-memories-dreams-reflections"] .library-book-cover {
  background-image:url("https://cdn.creativeclaw.co/u/b202b59b/images/203a480f-8298-4408-9232-fd630e98e12b.png") !important;
  background-size:452.4% auto !important;
  background-position:93.7% 46.2% !important;
}
#minds .library-book-card[data-book="the-power-of-now"] .library-book-cover {
  background-image:url("https://cdn.creativeclaw.co/u/b202b59b/images/203a480f-8298-4408-9232-fd630e98e12b.png") !important;
  background-size:452.4% auto !important;
  background-position:4.8% 46.2% !important;
}
#minds .library-book-card[data-book="four-agreements"] .library-book-cover {
  background-image:url("https://cdn.creativeclaw.co/u/b202b59b/images/203a480f-8298-4408-9232-fd630e98e12b.png") !important;
  background-size:452.4% auto !important;
  background-position:34.4% 46.2% !important;
}
#minds .library-book-card[data-book="think-again"] .library-book-cover {
  background-image:url("https://cdn.creativeclaw.co/u/b202b59b/images/203a480f-8298-4408-9232-fd630e98e12b.png") !important;
  background-size:452.4% auto !important;
  background-position:64.1% 46.2% !important;
}
#minds .library-book-card[data-book="the-alchemist"] .library-book-cover {
  background-image:url("https://cdn.creativeclaw.co/u/b202b59b/images/203a480f-8298-4408-9232-fd630e98e12b.png") !important;
  background-size:225.1% auto !important;
  background-position:6.7% 68.8% !important;
}

#minds .library-book-card[data-book="frida-diary"] .library-book-cover,
#minds .library-book-card[data-book="frida-letters"] .library-book-cover,
#minds .library-book-card[data-book="frida-letters-mama"] .library-book-cover,
#minds .library-book-card[data-book="frida-biography-herrera"] .library-book-cover {
  background-image:url("https://cdn.creativeclaw.co/u/b202b59b/images/72e85cfc-a01a-4559-8796-7a5387740bc3.jpg") !important;
  background-size:cover !important;
}
#minds .library-book-card[data-book="frida-diary"] .library-book-cover { background-position:center 18% !important; }
#minds .library-book-card[data-book="frida-letters"] .library-book-cover { background-position:center 34% !important; }
#minds .library-book-card[data-book="frida-letters-mama"] .library-book-cover { background-position:center 48% !important; }
#minds .library-book-card[data-book="frida-biography-herrera"] .library-book-cover { background-position:center 62% !important; }

#minds .library-book-card[data-book="marcus-meditations"] .library-book-cover {
  background-image:url("https://cdn.creativeclaw.co/u/b202b59b/images/124de63a-7d45-47c1-b355-faa7157ae481.jpg") !important;
  background-size:cover !important;
  background-position:center 18% !important;
}
#minds .library-book-card[data-book="atomic-habits"] .library-book-cover {
  background-image:url("https://cdn.creativeclaw.co/u/b202b59b/images/aa2cdeec-db8f-4974-b4c5-87595c3a91a8.jpg") !important;
  background-size:cover !important;
  background-position:center !important;
}
#minds .library-book-card .library-kicker {
  display:block !important;
  margin-top:4px;
  color:#aeb9c7 !important;
  font-size:7px !important;
  line-height:1.35;
}
.library-original-title {
  min-height:0;
  margin-top:3px;
  color:#718194;
  font-size:6.6px;
  line-height:1.25;
  font-style:italic;
}
.library-book-note {
  display:none;
  margin-top:8px;
  color:#9facba;
  font-size:8px;
  line-height:1.45;
  text-align:left;
}
.library-book-summary {
  margin:0;
}
.library-book-focus {
  display:grid;
  gap:3px;
  margin-top:8px;
  padding:7px 8px;
  border:1px solid rgba(207,168,96,.16);
  border-radius:9px;
  background:rgba(156,100,34,.07);
}
.library-book-focus strong {
  color:#d9b979;
  font-size:7px;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.library-book-focus span {
  color:#aeb9c7;
}
.library-book-key-title {
  margin-top:8px;
  color:#d9b979;
  font-size:7px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.library-book-key-points {
  margin:5px 0 0;
  padding-left:15px;
  color:#aeb9c7;
}
.library-book-key-points li {
  margin:0 0 4px;
}
#minds .library-book-card.book-open {
  grid-column:span 2;
}
#minds .library-book-card.book-open .library-book-note {
  display:block;
}

#minds .library-profile.speaking {
  border-color:rgba(244,199,112,.76) !important;
  box-shadow:0 0 28px rgba(229,165,74,.17),inset 0 0 0 1px rgba(255,224,157,.07) !important;
}
#minds .library-profile.speaking .pic img {
  filter:grayscale(.04) sepia(.18) contrast(1.07) brightness(1.05) !important;
  transform:scale(1.025);
}
#minds .library-profile.speaking .pic:before {
  border-color:rgba(255,223,154,.95);
  background:rgba(134,87,31,.45);
  animation:futureLibraryPulse 1.15s ease-in-out infinite;
}
#minds .library-profile.speaking .library-hear {
  color:#ffe6b1 !important;
  background:rgba(158,101,35,.16) !important;
}
@keyframes futureLibraryPulse {
  0%,100% { box-shadow:0 0 10px rgba(238,181,91,.12); transform:scale(.94); }
  50% { box-shadow:0 0 23px rgba(238,181,91,.34); transform:scale(1.08); }
}

.future-library-empty {
  display:none;
  max-width:620px;
  margin:22px auto 0;
  padding:20px;
  border:1px solid rgba(147,175,201,.14);
  border-radius:18px;
  color:#7f8d9c;
  background:rgba(5,10,16,.72);
  text-align:center;
  font-size:12px;
}
.future-library-empty.show { display:block; }

@media(min-width:600px) {
  #minds .minds-grid.library-reflections {
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:12px !important;
  }
  #minds .library-profile .info > b { font-size:15px !important; }
  #minds .library-profile .info > span:first-child { font-size:7.5px !important; }
}
@media(max-width:350px) {
  #minds { padding-left:11px !important; padding-right:11px !important; }
  #minds .minds-grid.library-reflections { gap:6px !important; }
  #minds .library-profile .info { padding:7px 5px 8px !important; }
  #minds .library-profile .info > b { font-size:10.5px !important; }
}
@media(prefers-reduced-motion:reduce) {
  #minds .library-profile,
  #minds .library-profile .pic img,
  #minds .library-profile.speaking .pic:before { transition:none !important; animation:none !important; }
}
