.ids-creature-quickfacts,
.ids-creature-standard,
.ids-creature-gallery{
  margin:2rem 0;
}
.ids-creature-section-head{
  margin-bottom:1rem;
}
.ids-creature-section-head h2{
  margin:.2rem 0 .5rem;
}
.ids-creature-facts-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.75rem;
}
.ids-creature-facts-grid>div{
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.035);
  border-radius:12px;
  padding:.9rem 1rem;
}
.ids-creature-facts-grid span{
  display:block;
  font-size:.72rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  opacity:.68;
  margin-bottom:.35rem;
}
.ids-creature-facts-grid strong{
  display:block;
  line-height:1.4;
}
.ids-creature-standard>section{
  margin:2rem 0;
}
.ids-creature-standard>section h2{
  margin-bottom:.65rem;
}
.ids-creature-standard>section p{
  max-width:76ch;
}
.ids-creature-editorial{
  border-left:2px solid rgba(255,255,255,.22);
  padding-left:1rem;
}
.ids-creature-sources{
  border-top:1px solid rgba(255,255,255,.12);
  padding-top:1.3rem;
}
.ids-creature-gallery-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1rem;
}
.ids-creature-gallery-grid figure{
  margin:0;
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  overflow:hidden;
  background:rgba(255,255,255,.03);
}
.ids-creature-gallery-grid img{
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
  display:block;
}
.ids-creature-gallery-grid figcaption{
  padding:.7rem .8rem .85rem;
  font-size:.82rem;
  opacity:.75;
}
.creature-hub-page main{
  width:min(1180px,calc(100% - 32px));
  margin:0 auto;
  padding:2rem 0 4rem;
}
.creature-hub-hero{
  padding:3rem 0 2rem;
  max-width:900px;
}
.creature-hub-hero h1{
  margin:.3rem 0 1rem;
}
.creature-hub-hero>p:not(.section-tag){
  max-width:78ch;
  font-size:1.08rem;
  line-height:1.7;
}
.creature-hub-stats{
  display:flex;
  flex-wrap:wrap;
  gap:.75rem;
  margin-top:1.5rem;
}
.creature-hub-stats>div{
  min-width:150px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:12px;
  padding:.8rem 1rem;
}
.creature-hub-stats strong,
.creature-hub-stats span{
  display:block;
}
.creature-hub-stats span{
  opacity:.68;
  font-size:.78rem;
  margin-top:.2rem;
}
.creature-hub-method{
  display:grid;
  grid-template-columns:minmax(220px,.65fr) minmax(0,1.35fr);
  gap:2rem;
  align-items:start;
  margin:1rem 0 2rem;
  padding:1.2rem 0;
  border-top:1px solid rgba(255,255,255,.12);
  border-bottom:1px solid rgba(255,255,255,.12);
}
.creature-hub-method h2{
  margin:.2rem 0;
}
.creature-hub-method>p{
  margin:0;
  line-height:1.7;
}
.creature-hub-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1rem;
}
.creature-hub-card{
  display:block;
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  overflow:hidden;
  text-decoration:none;
  color:inherit;
  background:rgba(255,255,255,.025);
}
.creature-hub-card figure{
  margin:0;
}
.creature-hub-card img{
  display:block;
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
}
.creature-hub-card>div{
  padding:1rem;
}
.creature-hub-card .meta{
  margin:0 0 .25rem;
  opacity:.65;
  font-size:.78rem;
}
.creature-hub-card h2{
  margin:.15rem 0 .55rem;
  font-size:1.18rem;
}
.creature-hub-card p{
  line-height:1.55;
}
.creature-hub-card span{
  display:inline-block;
  margin-top:.35rem;
  font-weight:700;
}
.creature-archive-feature{
  margin:2rem auto;
  padding:1.2rem;
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:1rem;
}
.creature-archive-feature h2{
  margin:.2rem 0 .45rem;
}
.creature-archive-feature p{
  margin:.2rem 0;
}
.creature-archive-feature>a{
  white-space:nowrap;
}
@media(max-width:900px){
  .creature-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  .ids-creature-facts-grid,
  .ids-creature-gallery-grid,
  .creature-hub-grid,
  .creature-hub-method{
    grid-template-columns:1fr;
  }
  .creature-archive-feature{
    display:block;
  }
  .creature-archive-feature>a{
    display:inline-block;
    margin-top:.8rem;
  }
}
/* Creature archive contextual navigation: distinct from character profile markup. */
.creature-hub-page .ids-related-reading{max-width:1200px;margin:34px auto;padding:24px clamp(16px,3vw,32px);border:1px solid #334e60;background:#101c28;border-radius:8px}
.creature-hub-page .ids-related-reading .creature-hub-method{margin:0;padding:0;border:0;background:transparent;max-width:none}
.creature-hub-page .creature-related-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px;margin-top:18px}
.creature-hub-page .creature-related-links a{display:flex;align-items:center;padding:14px;border:1px solid #4b6979;background:#182a37;color:#d8ebf5;text-decoration:none;line-height:1.45}
.creature-hub-page .creature-related-links a:hover,.creature-hub-page .creature-related-links a:focus-visible{border-color:#b0d9ec;background:#233b4b;text-decoration:underline}
@media(max-width:600px){.creature-hub-page .ids-related-reading{margin:20px 12px;padding:16px}}
