/* Storybook theme — paler cream with gold-rose undertone, twilight-blue ink.
   For children's tales: The Golden Boy, The Music Box, plus the Piddleton
   stories and other tales with fairy-tale bones.

   The Night-theme variable names stretch here: --night is a paler cream,
   --candle is twilight blue (the primary accent), --ember is the soft gold
   ornament that frames everything decorative. */

[data-theme="storybook"] {
  --night:        #f5ecd6;
  --hush:         #ebdfbe;
  --night-card:   #e2d2a3;
  --bone:         #2a1f10;
  --bone-dim:     #4d3b22;
  --whisper:      #826641;
  --rule:         #b89248;
  --candle:       #4a3a6e;        /* twilight blue */
  --candle-dim:   #362956;
  --ember:        #b89248;        /* soft gold for decorative ornament */
  --candle-flame: #d4a04a;
  --candle-glow:  rgba(212, 160, 74, 0.35);
  --candle-wax:   #ede2c6;

  --vignette-1:    rgba(184, 146, 72, 0.10);
  --vignette-2:    rgba(74, 58, 110, 0.05);
  --vignette-edge: rgba(80, 50, 25, 0.08);
  --vignette-blend: multiply;
  --grain-opacity:  0.10;
  --grain-blend:    multiply;
}

[data-theme="storybook"] .topnav {
  background: rgba(245, 236, 214, 0.92);
}

/* Decorative gold rule under section eyebrows in Storybook stories. */
[data-theme="storybook"] .story__section {
  color: var(--ember);
}
[data-theme="storybook"] .story__title {
  color: var(--candle);
}

[data-theme="storybook"] .candle__core { fill: #fff2c8; }
