/* Reader-area background is limited to the story's Elementor section/container. */
.txre-reader-area { background-color: var(--txre-area-bg, #FAF8F7) !important; background-image: none !important; padding: 22px clamp(22px, 5vw, 48px) !important; box-sizing: border-box !important; width: 100%; }
.txre-reader-area .post-contents.txre-reader-active { background: transparent !important; padding: 0 !important; }
.post-contents.txre-reader-active {
  background: transparent !important;
  color: var(--txre-color, #292625) !important;
  font-family: var(--txre-font-family, Literata, Georgia, serif) !important;
  font-style: var(--txre-font-style, normal) !important;
  font-size: var(--txre-font-size, 17px) !important;
  line-height: var(--txre-line-height, 1.75) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 !important;
  box-sizing: border-box;
}
.post-contents.txre-reader-active p { color: inherit !important; font: inherit !important; line-height: inherit !important; margin-bottom: var(--txre-paragraph-space, 1.1em) !important; }
.post-contents.txre-reader-active h1,
.post-contents.txre-reader-active h2,
.post-contents.txre-reader-active h3,
.post-contents.txre-reader-active h4,
.post-contents.txre-reader-active h5,
.post-contents.txre-reader-active h6 { color: inherit !important; }
.txre-trigger { position: fixed; right: 18px; bottom: 22px; z-index: 99998; width: 48px; height: 48px; border: 1px solid rgba(40,35,32,.14); border-radius: 50%; background: #fff; color: #292625; box-shadow: 0 5px 22px rgba(0,0,0,.12); font: 600 17px/1 system-ui,sans-serif; cursor: pointer; }
.txre-panel { position: fixed; right: 18px; bottom: 80px; z-index: 99999; width: min(360px, calc(100vw - 28px)); max-height: min(78vh, 680px); overflow: auto; background: #fff; color: #292625; border: 1px solid rgba(40,35,32,.1); border-radius: 18px; box-shadow: 0 12px 40px rgba(0,0,0,.18); font: 14px/1.4 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.txre-panel[hidden] { display: none !important; }
.txre-head { display:flex; align-items:center; justify-content:space-between; padding:16px 18px 12px; border-bottom:1px solid #eee; }
.txre-heading { font-size:16px; font-weight:650; }
.txre-panel .txre-close, .txre-panel button.txre-close { appearance:none !important; -webkit-appearance:none !important; display:grid !important; place-items:center !important; flex:0 0 32px !important; width:32px !important; height:32px !important; min-width:32px !important; margin:0 !important; padding:0 !important; border:1px solid #d8d8d8 !important; border-radius:50% !important; background:#fff !important; background-image:none !important; box-shadow:none !important; color:#111 !important; font:700 22px/1 Arial,sans-serif !important; text-decoration:none !important; opacity:1 !important; visibility:visible !important; cursor:pointer !important; position:relative !important; z-index:2 !important; }
.txre-body { padding: 14px 18px 8px; display:grid; gap:13px; }
.txre-field { display:grid; grid-template-columns: 1fr; gap:6px; min-width:0; }
.txre-field-label { font-size:12px; color:#706a67; }
.txre-field select { width:100%; min-height:36px; padding:6px 9px; border:1px solid #e4e0de; border-radius:9px; background:#fff; color:#292625; font:inherit; }
.txre-field input[type="range"] { width:100%; accent-color:#000000; }
.txre-field input[type="color"] { width:100%; height:34px; padding:3px; border:1px solid #e4e0de; border-radius:9px; background:#fff; }
.txre-color-row, .txre-spacing-row { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.txre-help { display:block; font-size:11px; color:#8a827e; line-height:1.35; margin-top:1px; }
.txre-compact { display:flex; align-items:center; gap:9px; font-size:13px; cursor:pointer; }
.txre-compact input { accent-color:#000000; width:16px; height:16px; }
.txre-foot { display:flex; justify-content:flex-end; padding: 10px 18px 14px; border-top:1px solid #eee; margin-top:8px; }
.txre-panel .txre-reset, .txre-panel button.txre-reset { appearance:none !important; -webkit-appearance:none !important; display:inline-block !important; min-width:0 !important; min-height:0 !important; width:auto !important; height:auto !important; border:0 !important; border-radius:0 !important; padding:4px 0 !important; margin:0 !important; background:transparent !important; background-image:none !important; box-shadow:none !important; color:#111 !important; font:400 13pt/1.4 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif !important; text-decoration:underline !important; text-underline-offset:3px !important; text-transform:none !important; opacity:1 !important; visibility:visible !important; cursor:pointer !important; }
@media (max-width: 600px) {
  .txre-panel { right: 0; bottom: 0; width: 100%; max-height: 82vh; border-radius: 20px 20px 0 0; }
  .txre-trigger { right: 14px; bottom: 16px; }
  .post-contents.txre-reader-active { width:100% !important; }
  .txre-color-row, .txre-spacing-row { gap:9px; }
}
