
  /* #76-#86 reading messages */
  .msg-edited.gx-eh { cursor: pointer; text-decoration: underline dotted; text-underline-offset: 3px; }
  .msg-edited.gx-eh:hover { color: var(--text); }
  .gx-eh-list { display: flex; flex-direction: column; gap: 10px; max-height: 60vh; overflow: auto; }
  .gx-eh-row { padding: 10px 12px; border-radius: 10px; background: var(--bg-0, rgba(0,0,0,.2)); border: 1px solid var(--border); }
  .gx-eh-row.now { border-color: var(--accent); }
  .gx-eh-row small { display: block; color: var(--muted); font-size: 11.5px; margin-bottom: 4px; }
  .msg-text.gx-jumbo { font-size: 2.6em; line-height: 1.2; }
  .msg-text.gx-jumbo .cemoji { width: 48px; height: 48px; vertical-align: -10px; }
  .msg-text.gx-jumbo .msg-edited { font-size: 12px; vertical-align: middle; }
  .msg-text.gx-long:not(.gx-open) { max-height: 22.5em; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent); mask-image: linear-gradient(to bottom, #000 72%, transparent); }
  .gx-more { display: inline-flex; align-items: center; gap: 4px; margin: 4px 0 2px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg-2, transparent); color: var(--accent-hi, var(--accent)); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
  .gx-more:hover { background: var(--bg-3, rgba(127,127,127,.12)); }
  .gx-jd-pop { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
  .gx-jd-pop input[type=date] { flex: 1; min-width: 160px; color-scheme: dark light; }
  .gx-yt-wrap { position: relative; display: block; width: min(480px, 100%); aspect-ratio: 16 / 9; margin-top: 6px; border-radius: 10px; overflow: hidden; background: #000; border: 1px solid var(--border); }
  .gx-yt-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
  .gx-yt-play { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 5px 12px 5px 8px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg-2, rgba(127,127,127,.1)); color: var(--text); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
  .gx-yt-play:hover { border-color: #ff3d3d; }
  .gx-yt-play i { display: inline-grid; place-items: center; width: 24px; height: 18px; border-radius: 5px; background: #ff0033; color: #fff; font-style: normal; font-size: 10px; }
  .gx-media-bar { display: inline-flex; gap: 6px; margin-inline-start: 6px; vertical-align: middle; }
  .gx-spd, .gx-pip { min-width: 38px; height: 26px; padding: 0 8px; border-radius: 8px; border: 1px solid var(--border); background: var(--bg-2, rgba(127,127,127,.12)); color: var(--text); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; font-variant-numeric: tabular-nums; }
  .gx-spd:hover, .gx-pip:hover { border-color: var(--accent); }
  .att-audio.vm { flex-wrap: nowrap; }
  .att-video .gx-media-bar { display: flex; margin: 6px 0 0; }
  .gx-file { display: inline-flex; flex-direction: column; gap: 6px; max-width: min(560px, 100%); }
  .gx-file-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
  .gx-prev-btn { height: 28px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--border); background: var(--bg-2, rgba(127,127,127,.12)); color: var(--text); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
  .gx-prev-btn:hover { border-color: var(--accent); }
  .gx-txt-prev { margin: 0; max-height: 360px; overflow: auto; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--border); background: var(--bg-0); font-family: var(--mono); font-size: 12.5px; white-space: pre; direction: ltr; text-align: left; }
  .gx-pdf-dlg { width: min(960px, 96vw); height: min(88vh, 1100px); padding: 0; border: 1px solid var(--border); border-radius: 14px; background: var(--bg-1, #111); overflow: hidden; }
  .gx-pdf-dlg::backdrop { background: rgba(0,0,0,.6); }
  .gx-pdf-dlg[open] { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; }
  .gx-pdf-dlg .bar { flex: none; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--border); color: var(--bright, var(--text)); font-weight: 700; }
  .gx-pdf-dlg .bar span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .gx-pdf-dlg iframe { flex: 1; width: 100%; min-height: 0; border: 0; background: #525659; }
  .md-codewrap .gx-cb-tools { position: absolute; top: 6px; right: 60px; display: flex; gap: 4px; opacity: 0; transition: opacity .12s; }
  .md-codewrap:hover .gx-cb-tools, .gx-cb-tools:focus-within { opacity: 1; }
  .gx-cb-tools button { font-size: 11px; padding: 2px 7px; border-radius: 4px; border: 1px solid var(--border); background: var(--bg-3, var(--bg-0)); color: var(--text); cursor: pointer; }
  .gx-cb-tools button.on { border-color: var(--accent); color: var(--accent-hi, var(--accent)); }
  .md-codewrap.gx-ln { display: flex; }
  .md-codewrap .gx-lns { display: none; margin: 0; padding: 10px 8px 10px 10px; border: 1px solid var(--border); border-right: 0; border-radius: 6px 0 0 6px; background: var(--bg-0); color: var(--muted); font-family: var(--mono); font-size: 13px; text-align: right; user-select: none; white-space: pre; opacity: .7; }
  .md-codewrap.gx-ln .gx-lns { display: block; }
  .md-codewrap.gx-ln .md-pre { flex: 1; min-width: 0; border-radius: 0 6px 6px 0; }
  .md-codewrap.gx-wrap .md-pre { white-space: pre-wrap; word-break: break-word; }
  .md-codewrap.gx-wrap .gx-lns { display: none !important; }
  @media (hover: none) { .md-codewrap .gx-cb-tools { opacity: 1; } }
  @media (max-width: 600px) { #gx-jd { display: none; } }
