.myriad-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 20px 80px;
  color: #e8e4dc;
}

.myriad-hero .eyebrow {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #d4a437;
  margin-bottom: 12px;
}

.myriad-hero h1 {
  font-family: Georgia, "Instrument Serif", serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.myriad-hero .tagline {
  font-family: Georgia, serif;
  font-style: italic;
  color: #cfc8bc;
  margin-bottom: 12px;
}

.myriad-hero .sub {
  color: #9a9488;
  line-height: 1.55;
  font-size: 1.02rem;
  max-width: 34rem;
  margin-bottom: 20px;
}

.myriad-layout {
  display: grid;
  grid-template-columns: minmax(200px, 280px) 1fr;
  gap: 18px;
  margin-top: 36px;
}

.myriad-panel {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(14, 12, 10, 0.65);
}

.aspect-aside, .feed-panel { margin-top: 0; }

.myriad-panel h2 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.hint {
  color: #8a837a;
  font-size: 0.88rem;
  margin-bottom: 14px;
  line-height: 1.45;
}
.hint.tight { margin-bottom: 10px; }
.opt { color: #666; font-weight: 400; }

.btn {
  border: none;
  border-radius: 8px;
  padding: 11px 18px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.btn.primary {
  background: linear-gradient(135deg, #d4a437, #c45a7a);
  color: #0a0908;
}
.btn.ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  color: #cfc8bc;
}
.btn.danger { border-color: rgba(255,107,107,0.45); color: #ff8a8a; font-size: 12px; padding: 8px 12px; }

.aspect-list { display: grid; gap: 10px; }
.aspect-card {
  text-align: left;
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.35);
  cursor: pointer;
  color: inherit;
  font-family: inherit;
  transition: border-color 0.2s;
}
.aspect-card:hover, .aspect-card.active { border-color: rgba(212, 164, 55, 0.45); }
.aspect-card .aspect-name { font-size: 1.02rem; font-weight: 700; }
.aspect-card .aspect-archetype { font-size: 12px; color: #d4a437; margin-top: 4px; }
.aspect-card .aspect-meta { font-size: 11px; color: #8a837a; margin-top: 8px; display: flex; gap: 10px; flex-wrap: wrap; }

.empty, .empty-state { color: #666; font-size: 14px; line-height: 1.5; }

.detail-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.archetype-line { color: #d4a437; font-size: 13px; margin: 4px 0 10px; }

.consent-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 12px 0 8px;
}
.toggle {
  font-size: 13px;
  color: #cfc8bc;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.karma-hint {
  font-size: 12px;
  color: #6a6a6e;
  font-style: italic;
}

.lifecast-feed { display: grid; gap: 14px; margin-top: 16px; }
.lifecast {
  padding: 18px 18px 14px;
  border-left: 2px solid #d4a437;
  background: rgba(0, 0, 0, 0.28);
  border-radius: 0 10px 10px 0;
}
.lifecast .body {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.55;
  color: #e8e4dc;
}
.lifecast .foot {
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6a6a6e;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.lifecast .foot a, .lifecast .foot button {
  color: #8fa89a;
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  padding: 0;
}
.lifecast .card-img {
  margin-top: 12px;
  width: 100%;
  max-width: 420px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
}

dialog {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  background: #121014;
  color: #e8e4dc;
  padding: 24px;
  width: min(520px, 94vw);
}
dialog::backdrop { background: rgba(0,0,0,0.72); }
dialog h2 { margin-bottom: 14px; font-size: 1.25rem; }
dialog label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9a9488;
  margin-bottom: 12px;
}
dialog input, dialog select, dialog textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 11px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  background: #000;
  color: #eee;
  font: inherit;
  text-transform: none;
  letter-spacing: normal;
}
dialog textarea { min-height: 110px; resize: vertical; }
.consent-note {
  font-size: 0.88rem;
  color: #8a837a;
  line-height: 1.45;
  margin: 8px 0 16px;
}
.dialog-actions { display: flex; gap: 10px; justify-content: flex-end; }
.status { margin-top: 12px; font-size: 13px; color: #8fa89a; }
.status.err { color: #ff6b6b; }

@media (max-width: 800px) {
  .myriad-layout { grid-template-columns: 1fr; }
  .myriad-page { padding-top: 88px; }
}
