.atlas-page{background:#101d24;color:#efe7d4}.atlas-hero{padding:72px max(24px,calc((100vw - 1160px)/2));background:linear-gradient(130deg,#102c32,#17212e);border-bottom:1px solid #b89b62}.atlas-hero h1{font-size:clamp(2.3rem,5vw,4rem);color:#e4c990;margin:.4em 0}.atlas-hero>p{max-width:780px;line-height:1.8}.atlas-nav{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0}.atlas-nav a{padding:10px 16px;border:1px solid #9a8153;border-radius:6px;color:#f6e4b9}.atlas-nav a:hover,.atlas-nav a:focus-visible{background:#344843}.atlas-section{max-width:1208px;margin:auto;padding:36px 24px;line-height:1.7}.atlas-section h2{color:#e4c990}.atlas-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:24px}.people-card,.hero-card{background:#f0e5cd;color:#2b3030;border:1px solid #b89b62;border-radius:12px;overflow:hidden;box-shadow:0 12px 28px #0003}.people-card{padding:26px}.people-card h2,.hero-card h3{color:#34493c}.people-card .kicker,.hero-card .kicker{color:#66502d}.people-card dt{font-weight:bold;color:#455538;margin-top:12px}.people-card dd{margin:3px 0}.hero-strip{display:flex;gap:12px;margin:20px 0}.hero-strip a{flex:1;text-align:center;color:#354c40;min-width:0}.hero-strip img{width:100%;height:auto;border-radius:8px}.hero-strip span{display:block}.hero-card>img{width:100%;height:auto;aspect-ratio:1;object-fit:cover}.hero-card>div{padding:22px}.atlas-landscape{width:100%;height:auto;border-radius:8px}.atlas-page a:focus-visible{outline:3px solid #dcaa4e;outline-offset:4px}.atlas-section article{scroll-margin-top:110px}.atlas-section>h2{font-size:1.8rem}.atlas-section a{color:inherit}
/* Character portraits share Edric's frame; approved images can be replaced independently. */
.atlas-grid.hero-roster{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
.hero-roster>.hero-card{display:flex;flex-direction:column;min-width:0}
.hero-roster>.hero-card>img{display:block;flex:none;width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;object-position:center;background:#101d24}
.hero-roster>.hero-card>div:not(.hero-portrait-pending){flex:1}
.hero-roster>.hero-card>.hero-portrait-pending{display:flex;flex:none;flex-direction:column;align-items:center;justify-content:center;gap:16px;width:100%;aspect-ratio:3/4;padding:0;border-bottom:1px solid #d5c29c;background:radial-gradient(ellipse at center,#f7edda,#e5d4af);color:#725b32;text-align:center;font-size:.9rem;letter-spacing:.08em}
.hero-portrait-mark{font-size:3rem;line-height:1;color:#a07d3d}
@media(max-width:1000px){.atlas-grid.hero-roster{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.atlas-grid.hero-roster{grid-template-columns:minmax(0,1fr)}}


.atlas-peoples-directory,
.atlas-prints,
.atlas-shelves {
  display: grid;
  gap: 1.5rem;
}
.atlas-peoples-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.atlas-prints,
.atlas-shelves { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.atlas-people-tile,
.atlas-print,
.atlas-shelves > a {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #827251;
  border-radius: 10px;
  background: #16282c;
  color: #f2eddf;
}
.atlas-people-tile > img,
.atlas-print img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
}
.atlas-people-tile > div,
.atlas-print figcaption,
.atlas-shelves > a { padding: 1.15rem 1.3rem; }
.atlas-people-tile h2,
.atlas-print h3,
.atlas-chapter h2,
.atlas-shelves h2 {
  margin: 0;
  color: #f0d5a1;
  font-family: Georgia, serif;
  font-size: clamp(1.4rem, 2.2vw, 1.95rem);
  line-height: 1.2;
}
.atlas-people-tile p { margin: .6rem 0; }
.atlas-cast { font-size: .95rem; }
.atlas-people-tile a,
.atlas-print figcaption a,
.atlas-related a,
.atlas-shelves a h2 {
  color: #f2d397;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.atlas-enlarge { display: block; position: relative; }
.atlas-enlarge span {
  position: absolute;
  right: .7rem;
  bottom: .7rem;
  padding: .18rem .75rem;
  border-radius: 3px;
  background: #102026ed;
  color: #fff3d6;
  font-size: .85rem;
}
.atlas-enlarge:focus-visible { outline-offset: -4px; }
.atlas-print figcaption a { display: inline-block; margin-top: .55rem; }
.atlas-collection + .atlas-collection { padding-top: 0; }
.atlas-stories { display: grid; gap: 2rem; }
.atlas-chapter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(1.2rem, 3vw, 3rem);
  align-items: center;
  padding: 0 0 2rem;
  border-bottom: 1px solid #827251;
}
.atlas-chapter > img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.atlas-chapter img[height="1200"] { max-height: 440px; object-fit: contain; }
.atlas-chapter p { max-width: 64ch; }
.atlas-related { display: flex; flex-wrap: wrap; gap: .55rem 1.1rem; }
.atlas-shelves { padding-top: 0; }
.atlas-shelves > a { text-decoration: none; }
.atlas-shelves p { margin: .55rem 0 0; }
@media (max-width: 750px) {
  .atlas-prints, .atlas-shelves { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .atlas-chapter { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .atlas-peoples-directory, .atlas-prints, .atlas-shelves { grid-template-columns: minmax(0, 1fr); }
  .atlas-people-tile a, .atlas-related a { display: inline-block; padding-block: .25rem; }
}

.atlas-collection[id] { scroll-margin-top: 7rem; }
.atlas-game-captures .atlas-print img { aspect-ratio: 16 / 10; object-fit: contain; background: #102026; }
.atlas-game-captures figcaption p { margin: .55rem 0 0; }
