.eg, .eg-slide { --ink:#2a2624; --muted:#5c564f; --line:#e4dcd0; --bg:#fffdf8; --accent:#5a786c; --btn:#2a2624; --btn-ink:#faf6ee; }
.eg--tm, .eg-slide.eg--tm { --ink:#f0ede8; --muted:#b7b1a8; --line:#2e2a26; --bg:#141210; --accent:#c85a2a; --btn:#c85a2a; --btn-ink:#0a0a0a; }
.eg { color: var(--ink); background: var(--bg); border: 1px solid var(--line); padding: 1.5rem 1.4rem; margin: 2rem auto; max-width: 760px; }
.eg h2, .eg-q { font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif; font-weight: 600; font-size: 1.8rem; line-height: 1.15; margin: 0 0 .6rem; }
.eg--tm h2, .eg--tm .eg-q { font-family: "Playfair Display", Georgia, serif; font-weight: 700; }
.eg p, .eg-detail, .eg-line { font-family: Outfit, Inter, sans-serif; line-height: 1.55; }
.eg-kicker { font-family: Outfit, Inter, "JetBrains Mono", sans-serif; letter-spacing: .14em; text-transform: uppercase; font-size: .72rem; color: var(--accent); margin: 0 0 .4rem; }
.eg-sides, .eg-options, .eg-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: .8rem 0; }
.eg-sides button, .eg-option, .eg button, .eg-actions button, .eg-actions a, .eg-slide button {
  font-family: Outfit, Inter, sans-serif; cursor: pointer; border: 1px solid var(--line); background: transparent; color: var(--ink);
  padding: .7rem .9rem; font-size: .95rem; text-align: left;
}
.eg-sides button[aria-pressed="true"], .eg-option:hover, .eg button[type="submit"], .eg-slide button[type="submit"] {
  background: var(--btn); color: var(--btn-ink); border-color: var(--btn);
}
.eg label { display: block; font-size: .85rem; margin: .7rem 0 .2rem; }
.eg input[type="text"], .eg input[type="email"], .eg input[type="number"], .eg textarea,
.eg-slide input[type="email"], .eg-optin input[type="email"] {
  width: 100%; max-width: 420px; padding: .6rem .7rem; font: inherit; color: var(--ink); background: transparent; border: 1px solid var(--line);
}
.eg-row { display: grid; grid-template-columns: 1.4fr .6fr 1fr; gap: .6rem; }
@media (max-width: 640px) { .eg-row { grid-template-columns: 1fr; } }
.eg-check { display: flex; gap: .5rem; align-items: flex-start; font-size: .9rem; }
.eg-fine, .eg-note { color: var(--muted); font-size: .85rem; }
.eg-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.eg canvas, #quiz-card { width: min(100%, 420px); height: auto; margin-top: 1rem; border: 1px solid var(--line); }
.eg-textlink { color: var(--accent); align-self: center; }
.eg-slide {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; display: none;
  background: var(--bg); color: var(--ink); border: 1px solid var(--line); padding: 1rem 2.4rem 1rem 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.12); max-width: 560px; margin: 0 auto;
}
.eg-slide.is-on { display: block; }
.eg-slide form { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.eg-slide-title { margin: 0; font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif; font-size: 1.25rem; flex: 1 1 100%; }
.eg-slide-x { position: absolute; top: 6px; right: 8px; border: 0 !important; background: transparent !important; color: var(--ink) !important; font-size: 1.3rem; }
.nl-inline { margin: 1.5rem 0; }
.sister-read, .mag-strip { max-width: 760px; margin: 1.5rem auto; padding: 1rem 1.2rem; border-left: 3px solid #7a9e8e; font-family: Outfit, Inter, sans-serif; font-size: .95rem; }
.mag-strip { max-width: 820px; }
.sister-read a, .mag-strip a { color: inherit; }
.rv-empty { font-style: italic; color: var(--muted); }
