/* YEYVOZ TYPE2 - live preview in editor; card colors stay visible on custom backgrounds. */
#moments-post-form textarea[name="body"].yv-typing-preview{
  font-variant:normal;
  letter-spacing:normal;
  line-height:1.6;
  transition:color .12s ease,background-color .12s ease;
}
#moments-post-form textarea.yv-typing-preview.yv-font-regular{
  font-family:system-ui,Arial,sans-serif!important
}
#moments-post-form textarea.yv-typing-preview.yv-font-editorial{
  font-family:Georgia,'Times New Roman',serif!important
}
#moments-post-form textarea.yv-typing-preview.yv-font-script{
  font-family:'Great Vibes','Palatino Linotype',Georgia,serif!important;
  line-height:1.75!important
}
#moments-post-form textarea.yv-typing-preview.yv-font-gothic{
  font-family:'UnifrakturCook','Old English Text MT',Georgia,serif!important;
  line-height:1.65!important
}
#moments-post-form textarea.yv-typing-preview.yv-size-small{font-size:.93rem!important}
#moments-post-form textarea.yv-typing-preview.yv-size-normal{font-size:1rem!important}
#moments-post-form textarea.yv-typing-preview.yv-size-large{font-size:1.3rem!important}
#moments-post-form textarea.yv-typing-preview.yv-style-bold{font-weight:800!important}
#moments-post-form textarea.yv-typing-preview.yv-style-italic{font-style:italic!important}
/* Override glass-background 'white !important' rules only when an explicit color is chosen. */
#moments-post-form textarea.yv-typing-preview:is(.yv-color-ivory,.yv-color-gold,.yv-color-blue,.yv-color-rose){
  background-color:rgba(7,20,37,.88)!important;
  border-color:rgba(127,200,210,.7)!important
}
#moments-post-form textarea.yv-typing-preview.yv-color-ivory{color:#fff1d4!important;-webkit-text-fill-color:#fff1d4!important}
#moments-post-form textarea.yv-typing-preview.yv-color-gold{color:#eac16f!important;-webkit-text-fill-color:#eac16f!important}
#moments-post-form textarea.yv-typing-preview.yv-color-blue{color:#9cdeff!important;-webkit-text-fill-color:#9cdeff!important}
#moments-post-form textarea.yv-typing-preview.yv-color-rose{color:#ffafce!important;-webkit-text-fill-color:#ffafce!important}
/* The existing post renderer already attaches classes when styles are saved;
   override legacy wallpaper contrast that forced ALL post text to white. */
.yeyvoz-shell .yeyvoz-card .yeyvoz-body:is(.yv-color-ivory,.yv-color-gold,.yv-color-blue,.yv-color-rose),
.yeyvoz-shell .yv-reading-text:is(.yv-color-ivory,.yv-color-gold,.yv-color-blue,.yv-color-rose){
  background-color:rgba(5,20,37,.81)!important;
  border-radius:10px;
  padding:10px 13px;
}
.yeyvoz-shell .yeyvoz-card .yeyvoz-body.yv-color-ivory,
.yeyvoz-shell .yv-reading-text.yv-color-ivory{color:#fff1d4!important;-webkit-text-fill-color:#fff1d4!important}
.yeyvoz-shell .yeyvoz-card .yeyvoz-body.yv-color-gold,
.yeyvoz-shell .yv-reading-text.yv-color-gold{color:#eac16f!important;-webkit-text-fill-color:#eac16f!important}
.yeyvoz-shell .yeyvoz-card .yeyvoz-body.yv-color-blue,
.yeyvoz-shell .yv-reading-text.yv-color-blue{color:#9cdeff!important;-webkit-text-fill-color:#9cdeff!important}
.yeyvoz-shell .yeyvoz-card .yeyvoz-body.yv-color-rose,
.yeyvoz-shell .yv-reading-text.yv-color-rose{color:#ffafce!important;-webkit-text-fill-color:#ffafce!important}
/* Elevated specificity for custom wallpaper's :is selectors. */
.yeyvoz-shell[class*="yv-bg-"]:not(.yv-bg-inherit) .yeyvoz-card .yeyvoz-body.yv-color-ivory{color:#fff1d4!important;-webkit-text-fill-color:#fff1d4!important}
.yeyvoz-shell[class*="yv-bg-"]:not(.yv-bg-inherit) .yeyvoz-card .yeyvoz-body.yv-color-gold{color:#eac16f!important;-webkit-text-fill-color:#eac16f!important}
.yeyvoz-shell[class*="yv-bg-"]:not(.yv-bg-inherit) .yeyvoz-card .yeyvoz-body.yv-color-blue{color:#9cdeff!important;-webkit-text-fill-color:#9cdeff!important}
.yeyvoz-shell[class*="yv-bg-"]:not(.yv-bg-inherit) .yeyvoz-card .yeyvoz-body.yv-color-rose{color:#ffafce!important;-webkit-text-fill-color:#ffafce!important}
/* Explicit style also wins against the default font:inherit. */
.yeyvoz-shell .yeyvoz-card .yeyvoz-body.yv-font-gothic{font-family:'UnifrakturCook','Old English Text MT',Georgia,serif!important}
.yeyvoz-shell .yeyvoz-card .yeyvoz-body.yv-font-script{font-family:'Great Vibes','Palatino Linotype',Georgia,serif!important}
