html { min-height: 100%; background: #121820; }
/* AsherEster interactive shiur shell — Abundance Concealed
   Colors locked to from-the-depths: #121820 / #c9a66b */
:root {
  --ae-bg: #121820;
  --ae-panel: #1a222c;
  --ae-border: #2c3548;
  --ae-text: #e9eef6;
  --ae-head: #f0e6d2;
  --ae-muted: #a8b4c8;
  --ae-dim: #7a8699;
  --ae-accent: #c9a66b;
  --ae-max: 42rem;
}

* { box-sizing: border-box; }

body.ae-shiur {
  margin: 0;
  background: transparent;
  color: var(--ae-text);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.55;
  padding: 2rem 1.2rem 3rem;
  max-width: var(--ae-max);
  margin-inline: auto;
}

.ae-shiur h1,
.ae-shiur h2,
.ae-shiur h3 {
  color: var(--ae-head);
  font-weight: 600;
}

.ae-shiur a { color: var(--ae-accent); }
.ae-shiur hr {
  border: none;
  border-top: 1px solid var(--ae-border);
  margin: 1.5rem 0;
}
.ae-shiur blockquote {
  border-left: 3px solid var(--ae-accent);
  margin: 1rem 0;
  padding: 0.2rem 0 0.2rem 1rem;
  color: #cfd6e2;
}

.ae-shiur .top {
  font: 700 0.7rem system-ui, sans-serif;
  letter-spacing: 0.12em;
  color: var(--ae-accent);
  margin: 0 0 0.6rem;
}

.ae-shiur .nav a,
.ae-shiur .ae-jump a {
  display: inline-block;
  margin: 0.35rem 0.4rem 0 0;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  background: var(--ae-accent);
  color: var(--ae-bg);
  text-decoration: none;
  font: 600 0.75rem system-ui, sans-serif;
}
.ae-shiur .ae-jump {
  margin: 1rem 0 1.25rem;
  padding: 0.75rem 0.9rem;
  background: var(--ae-panel);
  border: 1px solid var(--ae-border);
  border-radius: 10px;
}
.ae-shiur .ae-jump .ae-jump-label {
  display: block;
  font: 700 0.65rem system-ui, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ae-dim);
  margin-bottom: 0.35rem;
}
.ae-shiur .ae-jump a {
  background: transparent;
  color: var(--ae-accent);
  border: 1px solid var(--ae-border);
}
.ae-shiur .ae-jump a:hover,
.ae-shiur .ae-jump a:focus {
  border-color: var(--ae-accent);
  outline: none;
}

.ae-shiur .invite {
  color: var(--ae-muted);
  font-style: italic;
}

.ae-shiur details.ae-fold {
  background: var(--ae-panel);
  border: 1px solid var(--ae-border);
  border-radius: 10px;
  margin: 1.1rem 0;
  padding: 0.15rem 0.9rem 0.75rem;
}
.ae-shiur details.ae-fold > summary {
  cursor: pointer;
  list-style: none;
  padding: 0.75rem 0.1rem;
  color: var(--ae-accent);
  font: 700 0.8rem system-ui, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ae-shiur details.ae-fold > summary::-webkit-details-marker { display: none; }
.ae-shiur details.ae-fold > summary::before {
  content: "▸ ";
  color: var(--ae-dim);
}
.ae-shiur details.ae-fold[open] > summary::before { content: "▾ "; }
.ae-shiur details.ae-fold > summary:focus {
  outline: 2px solid var(--ae-accent);
  outline-offset: 2px;
}

.ae-shiur section.ae-anchor {
  scroll-margin-top: 1.25rem;
  margin: 1.75rem 0;
  padding-top: 0.25rem;
}
.ae-shiur section.ae-anchor > h2 {
  margin-top: 0;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--ae-border);
}

.ae-shiur table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 0.75rem 0 1rem;
}
.ae-shiur th,
.ae-shiur td {
  border: 1px solid var(--ae-border);
  padding: 0.45rem 0.55rem;
  text-align: left;
  vertical-align: top;
}
.ae-shiur th {
  background: var(--ae-panel);
  color: var(--ae-accent);
  font: 600 0.8rem system-ui, sans-serif;
}

.ae-shiur .foot {
  margin-top: 2.5rem;
  color: var(--ae-muted);
  font-size: 0.95rem;
}
.ae-shiur .ae-scaffold-note {
  margin: 1rem 0;
  padding: 0.75rem 0.9rem;
  border: 1px dashed var(--ae-border);
  border-radius: 8px;
  color: var(--ae-dim);
  font: 0.85rem system-ui, sans-serif;
}

/* Song viewer lives in _song-viewer.css — link both on song pages */

/* OFFICIAL 03 fantasy stone-chest — page background; panels carry contrast */
body.ae-shiur::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("../assets/stone-chest-bg.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  opacity: 1;
}
body.ae-shiur::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(18,24,32,0.12) 0%, rgba(18,24,32,0.22) 50%, rgba(18,24,32,0.38) 100%);
}
body.ae-shiur > * { position: relative; z-index: 1; }

