/* R434A: Telegram-inspired draft preview; isolated from public Telegram chat and payment paths. */
.r10-editor .simple-stage.telegram-simulator {
  background:#dbe5dc; border-color:#9eb2c0;
  box-shadow:0 12px 36px rgba(22,42,58,.17),0 2px 6px rgba(22,42,58,.08);
}
.r10-editor .simple-stage.telegram-simulator .simple-chat-header {
  background:#fff; border-bottom:1px solid #d9e4eb;
  color:#162e42;
}
.r10-editor .simple-chat-header .tg-chat-identity strong {color:#152e42;font-size:14px;font-weight:730}
.r10-editor .simple-chat-header .tg-chat-identity small {color:#516b7c;font-size:10px}
.r10-editor .simple-chat-header .simple-chat-avatar {
  background:linear-gradient(145deg,#59b4df,#367aba);border:1px solid #77bddc;
  box-shadow:inset 0 1px 0 #ffffff88;
}
.r10-editor .simple-stage.telegram-simulator .simple-chat-body {
 background-color:#dce7dd;
 background-image:radial-gradient(circle at 12% 19%,rgba(255,255,255,.30) 0 7px,transparent 8px),radial-gradient(circle at 88% 76%,rgba(121,158,153,.11) 0 9px,transparent 10px),linear-gradient(145deg,#dee9dd,#d4e3dc 54%,#e8ebdb);
 background-size:128px 148px,183px 176px,cover;
 scrollbar-color:#a7bec0 transparent;
}
.r10-editor .tg-chat-history .tg-chat-line .tg-bubble {
  box-shadow:0 1px 2px rgba(24,51,56,.17);
  border:1px solid rgba(31,72,84,.06);
  line-height:1.45;
}
.r10-editor .tg-chat-history .tg-chat-line.outgoing .tg-bubble {
  background:#dff5d6;
  border-color:#c9e5bc;
}
.r10-editor .tg-chat-history .tg-bubble-meta time {font-variant-numeric:tabular-nums}
.r10-editor .tg-chat-history .tg-sim-inline-row button,
.r10-editor .tg-live-keyboard button {min-height:36px;color:#1767a2;font-weight:650}
.r10-editor .tg-chat-history button:focus-visible,
.r10-editor .tg-live-keyboard button:focus-visible,
.r10-editor .simple-stage.telegram-simulator button:focus-visible {
  outline:2px solid #176eac;outline-offset:2px;
}
.r10-editor .tg-chat-history .tg-sim-notice {
  color:#294e5d;
}
.r10-editor .tg-preview-note-row .tg-editor-mode-note {color:#29485b;font-weight:700;letter-spacing:.03em}
@media (prefers-reduced-motion:reduce){
 .r10-editor .tg-sim-enter,.r10-editor .tg-chat-history .tg-bubble {animation:none!important;transition:none!important}
}
@media(max-width:420px){
 .r10-editor .simple-stage.telegram-simulator .simple-chat-body{padding-inline:9px}
 .r10-editor .tg-chat-history .tg-chat-line .tg-bubble{max-width:90%;font-size:12.5px}
}
