/* ------------------------------------------------------------
   Hall of Seals & Symbols — local skin
   Keeps global theme; adds a “codex shelf” archive layout.
------------------------------------------------------------ */

.hall-shell{
  max-width:1120px;
  margin:0 auto;
}

.hall-intro{
  margin-top:.5rem;
  display:flex;
  flex-direction:column;
  gap:.55rem;
  align-items:center;
  justify-content:center;
}

.hall-lede{
  max-width:76ch;
  text-align:center;
}

.breadcrumbs{
  margin:.7rem 0 0;
  text-align:left;
  opacity:.92;
}

.breadcrumbs a{
  text-decoration:none;
}

.breadcrumbs a:hover{
  text-decoration:underline;
}

.shelf-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:1.1rem;
  margin-top:1rem;
}

@media (min-width:980px){
  .shelf-grid{
    grid-template-columns:1fr 1fr;
    gap:1.2rem;
  }

  .span-2{
    grid-column:1 / -1;
  }
}

.shelf{
  border-radius:16px;
  border:1px solid rgba(209,180,100,.18);
  background:rgba(0,0,0,.14);
  box-shadow:0 10px 24px rgba(0,0,0,.26);
  overflow:hidden;
  position:relative;
}

.shelf::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(900px 240px at 20% 0%, rgba(252,234,187,.08), transparent 60%),
    radial-gradient(900px 240px at 80% 0%, rgba(252,234,187,.05), transparent 60%);
  opacity:.9;
}

.shelf-head{
  position:relative;
  padding:1rem 1.1rem .85rem;
  border-bottom:1px solid rgba(252,234,187,.12);
  display:flex;
  gap:.8rem;
  flex-wrap:wrap;
  align-items:flex-end;
  justify-content:space-between;
}

.shelf-title{
  margin:0;
  font-size:1.05rem;
  letter-spacing:.02em;
}

.shelf-sub{
  margin:.2rem 0 0;
  color:rgba(230,231,232,.78);
  font-size:.92rem;
  max-width:62ch;
}

.shelf-body{
  position:relative;
  padding:.9rem 1.1rem 1.1rem;
  display:grid;
  gap:.9rem;
}

details.panel{
  border-radius:14px;
  border:1px solid rgba(252,234,187,.14);
  background:rgba(0,0,0,.14);
  overflow:hidden;
}

details.panel[open]{
  border-color:rgba(252,234,187,.22);
  box-shadow:0 8px 18px rgba(0,0,0,.22);
}

details.panel > summary{
  list-style:none;
  cursor:pointer;
  padding:.85rem .95rem;
  display:flex;
  align-items:center;
  gap:.55rem;
  user-select:none;
  font-weight:600;
  letter-spacing:.01em;
}

details.panel > summary::-webkit-details-marker{
  display:none;
}

details.panel > summary::marker{
  content:"";
}

.panel-dot{
  width:.55rem;
  height:.55rem;
  border-radius:999px;
  background:rgba(252,234,187,.65);
  box-shadow:0 0 12px rgba(252,234,187,.18);
  flex:0 0 auto;
}

.panel-content{
  padding:.1rem .95rem 1rem;
}

.micro-note{
  margin:.25rem 0 .6rem;
  color:rgba(230,231,232,.72);
  font-size:.92rem;
  max-width:78ch;
}

.shelf-links{
  display:grid;
  gap:.55rem;
  margin-top:.35rem;
}

.shelf-link{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:.8rem;
  padding:.55rem .65rem;
  border-radius:12px;
  border:1px solid rgba(252,234,187,.12);
  background:rgba(0,0,0,.12);
  text-decoration:none;
}

.shelf-link:hover{
  border-color:rgba(252,234,187,.22);
  background:rgba(0,0,0,.16);
}

.shelf-link strong{
  font-weight:600;
}

.shelf-link .hint{
  color:rgba(230,231,232,.68);
  font-size:.88rem;
  white-space:nowrap;
}

@media (max-width:680px){
  .shelf-link{
    flex-direction:column;
    align-items:flex-start;
  }

  .shelf-link .hint{
    white-space:normal;
  }
}

.callout{
  border-left:3px solid rgba(252,234,187,.55);
  padding:.45rem .6rem;
  border-radius:10px;
  background:rgba(252,234,187,.07);
}

.seals-hall-callout{
  margin-top:.75rem;
}