/* Pretend texts on a demonstration site. Worker 4 owns this file. */
.demo { position: fixed; z-index: 50; right: 16px; bottom: 16px; font-size: 15px; line-height: 1.4; }
.demo [hidden] { display: none; }
.demo button { font: inherit; cursor: pointer; }
.demo-open { min-height: 44px; padding: 0 20px; border: 1px solid #56616b; border-radius: 99px; background: var(--panel); color: var(--white); font-weight: 600; }
.demo-phone { display: grid; grid-template-rows: auto auto 1fr; width: 310px; max-height: min(480px, 70vh); padding: 14px; border: 2px solid #56616b; border-radius: 32px; background: #05090d; box-shadow: 0 18px 60px #000a; }
.demo-top { display: flex; align-items: center; justify-content: space-between; padding-left: 8px; color: var(--white); }
.demo-close { min-height: 44px; padding: 0 12px; border: 0; background: none; color: var(--ice); }
.demo-note { padding: 0 8px 12px; color: var(--quiet); font-size: 13px; }
.demo-list { display: grid; gap: 12px; align-content: start; overflow-y: auto; overscroll-behavior: contain; }
.demo-text small { display: block; padding: 0 8px 4px; color: var(--quiet); font-size: 12px; }
.demo-text p { padding: 10px 14px; border-radius: 18px; background: #1d2a36; color: var(--white); white-space: pre-line; overflow-wrap: anywhere; }
.demo-text button { padding: 0; border: 0; background: none; color: var(--ice); font-weight: 700; text-decoration: underline; }
@media (max-width: 760px) {
  .demo { right: 10px; bottom: 10px; }
  .demo-phone { width: min(310px, calc(100vw - 20px)); max-height: 44vh; }
}
@media print { .demo { display: none; } }
