/* Paddy на трёх сайтах: плавающая кнопка и чат (site/paddy-widget.js). Все три сайта тёмные (padelada.com — dark-only с 05.11,
   padelada.club и padelada.world — color-scheme: dark): на .com — графит home-v7.css, на .club/.world — ночной синий site-club (site.css).
   Кнопки плоские (Мурат 18.11): без тени, градиента и блика. padelada.com — store.json → paddyWidget; .club/.world — воркер. */
.pw {
  --pw-bg: #0B0C0E;
  --pw-surface: #1C1D20;
  --pw-sunk: #2C2D31;
  --pw-ink: #F5F5F7;
  --pw-muted: #A8AAB2;
  --pw-accent: #FFB547;
  --pw-coral: #EE4845;
  --pw-coral-down: #D63A37;
  --pw-line: rgba(255, 255, 255, .12);
  --pw-line-2: rgba(255, 255, 255, .22);
  --pw-raise: #36373C;
  --pw-mint: #3DDBB0;
  --pw-ease: cubic-bezier(.25, .1, .25, 1);
  --pw-gap: 24px;
  --pw-b: calc(var(--pw-gap) + env(safe-area-inset-bottom, 0px));
  --pw-r: calc(var(--pw-gap) + env(safe-area-inset-right, 0px));
  font-family: 'Golos Text', system-ui, -apple-system, sans-serif;
  color: var(--pw-ink);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
/* padelada.club и padelada.world: палитра site-club (--bg #0A1124, --surface #141C30, --surface-2 #1B2542, --mint #4BE3BA). */
.pw[data-site=club], .pw[data-site=world] {
  --pw-bg: #0A1124;
  --pw-surface: #141C30;
  --pw-sunk: #1B2542;
  --pw-raise: #232F52;
  --pw-muted: #A8AAB2;
  --pw-accent: #FFA62B;
  --pw-mint: #4BE3BA;
  --pw-line: rgba(255, 255, 255, .10);
  --pw-line-2: rgba(255, 255, 255, .20);
}
.pw *, .pw *::before, .pw *::after { box-sizing: border-box; }
.pw [hidden] { display: none !important; }
.pw :where(button, textarea) { font: inherit; color: inherit; margin: 0; }
.pw button { -webkit-tap-highlight-color: transparent; cursor: pointer; }
.pw :focus-visible { outline: 2px solid var(--pw-accent); outline-offset: 2px; }
.pw-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pw-avatar { display: block; flex: none; border-radius: 50%; }

/* ---------- кнопка ---------- */
.pw-fab {
  position: fixed; z-index: 55; right: var(--pw-r); bottom: var(--pw-b);
  display: inline-flex; align-items: center; gap: 12px;
  height: 64px; padding: 0 24px 0 8px; border-radius: 999px;
  background: var(--pw-sunk); border: 1px solid var(--pw-line-2);
  font-size: 17px; font-weight: 600; letter-spacing: -.01em; line-height: 1; white-space: nowrap;
  transition: transform .15s var(--pw-ease), opacity .2s var(--pw-ease), visibility 0s linear 0s, background-color .2s;
}
.pw-fab:hover { background: var(--pw-raise); }
.pw-fab:active { transform: scale(.96); }
.pw-fab .pw-avatar { width: 48px; height: 48px; }
.pw.is-away .pw-fab { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s var(--pw-ease), visibility 0s linear .2s; }

/* ---------- подсказка ---------- */
.pw-hint {
  position: fixed; z-index: 55; right: var(--pw-r); bottom: calc(var(--pw-b) + 64px + 12px);
  display: flex; align-items: flex-start; gap: 4px;
  width: max-content; max-width: min(300px, calc(100vw - 2 * var(--pw-gap)));
  padding: 6px 6px 6px 16px; border-radius: 18px;
  background: var(--pw-surface); border: 1px solid var(--pw-line-2);
  opacity: 0; transform: translateY(6px); transition: opacity .2s var(--pw-ease), transform .2s var(--pw-ease);
}
.pw-hint.is-in { opacity: 1; transform: none; }
.pw-hint-text { flex: 1; min-width: 0; padding: 8px 0; border: 0; background: none; text-align: left; font-size: 15px; line-height: 1.35; font-weight: 500; text-wrap: balance; }
.pw-hint-close { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; color: var(--pw-muted); }
.pw-hint-close:hover { color: var(--pw-ink); background: rgba(255, 255, 255, .06); }

/* ---------- панель ---------- */
.pw-panel {
  position: fixed; z-index: 1000; right: var(--pw-r); bottom: calc(var(--pw-b) + 64px + 16px);
  display: flex; flex-direction: column;
  width: 380px; height: min(560px, calc(100dvh - var(--pw-b) - 64px - 16px - 24px));
  background: var(--pw-surface); border: 1px solid var(--pw-line); border-radius: 24px; overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .55);
  opacity: 0; transform: translateY(12px) scale(.98); transform-origin: bottom right;
  transition: opacity .2s var(--pw-ease), transform .2s var(--pw-ease);
}
.pw-panel.is-in { opacity: 1; transform: none; }
.pw-panel:focus { outline: none; }

.pw-head { flex: none; display: flex; align-items: center; gap: 12px; padding: 14px 12px 14px 16px; border-bottom: 1px solid var(--pw-line); }
.pw-head .pw-avatar { width: 40px; height: 40px; }
.pw-head-text { flex: 1; min-width: 0; }
.pw-title { margin: 0; font-size: 17px; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; color: var(--pw-ink); }
.pw-sub { margin: 2px 0 0; font-size: 13px; line-height: 1.35; color: var(--pw-muted); }
.pw-close { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--pw-sunk); color: var(--pw-ink); }
.pw-close:hover { background: var(--pw-raise); }
.pw-more { flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin-right: -4px; border: 0; border-radius: 50%; background: none; color: var(--pw-ink); }
.pw-more:hover, .pw-more[aria-expanded=true] { background: rgba(255, 255, 255, .08); }
.pw-menu {
  position: absolute; z-index: 2; top: 62px; right: 12px; min-width: 220px; max-width: calc(100% - 24px);
  padding: 6px; border-radius: 16px; background: var(--pw-sunk); border: 1px solid var(--pw-line-2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .5);
}
.pw-menu-item {
  display: flex; align-items: center; width: 100%; min-height: 44px; padding: 0 14px; border: 0; border-radius: 10px;
  background: none; color: var(--pw-ink); font-size: 16px; font-weight: 500; line-height: 1.25; text-align: left; text-decoration: none;
}
.pw-menu-item:hover, .pw-menu-item:focus-visible { background: rgba(255, 255, 255, .08); outline: none; }
.pw-report { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: -4px 0 8px; }
.pw-report-title { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.3; }
.pw-report-cancel { flex: none; min-height: 36px; padding: 0 4px; border: 0; background: none; color: var(--pw-accent); font-size: 15px; font-weight: 600; }

.pw-log { position: relative; flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 12px; padding: 16px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .18) transparent; }
/* Нижний край ленты (P2 Мурата 05.12): карточка, уходящая под «Продолжить в приложении», мягко растворяется — видно, что
   дальше прокрутка, а не срезанная кнопка. Затухание — в нижнем отступе ленты (16 px): долистанная до конца карточка целиком чёткая. */
.pw-log { -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 16px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 16px), transparent); }
.pw-log:focus { outline: none; }
.pw-log:focus-visible { box-shadow: inset 0 0 0 2px var(--pw-accent); }
.pw-row { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.pw-row-me { align-items: flex-end; }
.pw-bubble {
  max-width: 88%; padding: 10px 14px; border-radius: 20px 20px 20px 6px;
  background: var(--pw-sunk); font-size: 16px; line-height: 1.45; overflow-wrap: break-word; text-wrap: pretty;
}
.pw-row-me .pw-bubble { background: var(--pw-coral); color: #fff; border-radius: 20px 20px 6px 20px; white-space: pre-wrap; }
.pw-bubble p, .pw-card p { margin: 0; }
.pw-bubble p + p, .pw-bubble p + ul, .pw-bubble ul + p, .pw-bubble p + ol, .pw-bubble ol + p, .pw-rich p + p, .pw-rich p + ul, .pw-rich ul + p { margin-top: 8px; }
.pw-bubble ul, .pw-bubble ol, .pw-rich ul, .pw-rich ol { margin: 0; padding-left: 20px; }
.pw-bubble li + li, .pw-rich li + li { margin-top: 4px; }
.pw-bubble strong, .pw-rich strong { font-weight: 600; color: #fff; }
.pw-bubble a, .pw-rich a { color: var(--pw-accent); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.pw-error-title { font-weight: 600; }
.pw-error p { text-wrap: balance; }
.pw-error p + p { margin-top: 2px; }
.pw-error a { display: inline-block; margin-top: 6px; font-weight: 600; text-decoration: none; }
.pw-error a::after { content: ' →'; }

.pw-chips { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; max-width: 100%; }
.pw-chip {
  max-width: 100%; min-height: 44px; padding: 10px 16px; border-radius: 22px;
  border: 1px solid var(--pw-line-2); background: transparent; text-align: left;
  font-size: 15px; line-height: 1.3; font-weight: 500; text-wrap: balance;
  transition: background-color .15s, border-color .15s, transform .15s var(--pw-ease);
}
.pw-chip:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .32); }
.pw-chip:active { transform: scale(.97); }

.pw-typing { display: inline-flex; gap: 5px; align-items: center; padding: 15px 16px; }
.pw-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--pw-muted); animation: pw-dot 1.2s infinite ease-in-out; }
.pw-typing i:nth-of-type(2) { animation-delay: .15s; }
.pw-typing i:nth-of-type(3) { animation-delay: .3s; }
@keyframes pw-dot { 0%, 60%, 100% { opacity: .35; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }

/* карточка регистрации / продолжения в приложении */
.pw-card { width: 100%; display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 20px; background: var(--pw-sunk); font-size: 16px; line-height: 1.45; }
.pw-card-title { font-weight: 600; text-wrap: pretty; }
.pw-muted { color: var(--pw-muted); }
.pw-stores { display: flex; flex-wrap: wrap; gap: 8px; }
.pw-stores .pw-btn { flex: 1 1 0; }
.pw-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 18px; border: 0; border-radius: 999px; text-decoration: none; text-align: center;
  font-size: 16px; font-weight: 600; line-height: 1.2; white-space: nowrap;
  transition: background-color .15s, transform .15s var(--pw-ease);
}
.pw-btn:active { transform: scale(.97); }
.pw-btn-1 { background: var(--pw-coral); color: #fff; white-space: normal; padding: 12px 20px; text-wrap: balance; }
.pw-btn-1:hover { background: #E3403D; }
.pw-btn-1:active { background: var(--pw-coral-down); }
.pw-btn-2 { background: transparent; color: var(--pw-ink); border: 1px solid var(--pw-line-2); }
.pw-btn-2:hover { background: rgba(255, 255, 255, .06); }
.pw-code { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 16px; border-radius: 16px; background: var(--pw-surface); }
.pw-code-text { flex: 1 0 auto; display: flex; flex-direction: column; gap: 2px; }
.pw-code-label { font-size: 13px; line-height: 1.3; color: var(--pw-muted); }
.pw-code-value { font-family: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace; font-size: 28px; line-height: 1.15; font-weight: 600; letter-spacing: .14em; color: #fff; font-variant-numeric: tabular-nums; }
.pw-copy { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 1px solid var(--pw-line-2); border-radius: 999px; background: transparent; font-size: 15px; font-weight: 600; }
.pw-copy:hover { background: rgba(255, 255, 255, .06); }
.pw-copy.is-done, .pw-btn.is-done { color: var(--pw-mint); border-color: rgba(61, 219, 176, .5); }
.pw-note { font-size: 13px; line-height: 1.4; color: var(--pw-muted); }
.pw-line { display: block; text-wrap: balance; }

/* ---------- карточки сайтов (share, demo_booking, comarca_lookup, clubs_nearby, owner_lead, мини-демо счёта) ---------- */
.pw-cw { width: 100%; }
.pw-c { width: 100%; display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 20px; background: var(--pw-sunk); font-size: 16px; line-height: 1.45; }
.pw-c.is-bare { padding: 0; background: none; }
.pw-c p { margin: 0; }
.pw-c-title { font-weight: 600; line-height: 1.3; text-wrap: balance; }
.pw-c-title a { color: inherit; text-decoration: underline; text-decoration-color: var(--pw-line-2); text-underline-offset: 3px; }
.pw-c-text { text-wrap: pretty; }
.pw-c a.pw-btn, .pw-c button.pw-btn { width: 100%; }
.pw-c .pw-btn-2 { white-space: normal; text-wrap: balance; }
.pw-c-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pw-c-actions .pw-btn { flex: 1 1 100%; width: auto; }
.pw-c-actions .pw-half { flex: 1 1 120px; }
.pw-c-actions-2 .pw-btn { flex: 1 1 0; min-width: 0; }
.pw-btn svg { flex: none; }
.pw-btn:disabled { opacity: .4; cursor: default; transform: none; }
.pw-btn-3 { align-self: center; min-height: 44px; padding: 0 12px; border: 0; background: none; color: var(--pw-muted); font-size: 15px; font-weight: 600; }
.pw-btn-3:hover:not(:disabled) { color: var(--pw-ink); }
.pw-quote { padding: 12px 14px; border-radius: 14px; background: var(--pw-surface); border-left: 3px solid var(--pw-mint); white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; line-height: 1.45; }
.pw-pill { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px; font-size: 13px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.pw-pill-player, .pw-pill-open { background: rgba(61, 219, 176, .14); color: var(--pw-mint); }
.pw-pill-club, .pw-pill-soon { background: rgba(255, 166, 43, .14); color: var(--pw-accent); }
.pw-step-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pw-step-n { font-size: 13px; line-height: 1.3; color: var(--pw-muted); font-variant-numeric: tabular-nums; }
.pw-dots { display: flex; gap: 6px; }
.pw-dots i { flex: 1; height: 4px; border-radius: 2px; background: var(--pw-line-2); transition: background-color .2s; }
.pw-dots i.is-on { background: var(--pw-mint); }
.pw-item { display: flex; flex-direction: column; gap: 8px; }
.pw-item-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.pw-sep { width: 100%; height: 1px; margin: 4px 0; border: 0; background: var(--pw-line); }
.pw-bar { height: 8px; border-radius: 4px; background: var(--pw-surface); overflow: hidden; }
.pw-bar i { display: block; height: 100%; border-radius: 4px; background: var(--pw-accent); }
.pw-slots { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pw-slots-l { font-size: 13px; color: var(--pw-muted); margin-right: 2px; }
.pw-slot { min-height: 30px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 10px; background: var(--pw-surface); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pw-or { text-align: center; font-size: 14px; color: var(--pw-muted); }
.pw-place { display: flex; gap: 8px; }
.pw-log .pw-place { scroll-margin: 12px 0; }
/* «Клубы рядом»: клуб ещё не в Padelada — строка Paddy и «Это мой клуб» / «Позвать клуб» (Мурат 05.12). */
.pw-c .pw-notyet { margin-top: 8px; }
.pw-claim { display: contents; }
.pw-c .pw-place .pw-btn { flex: none; width: auto; }
.pw-c .pw-place-col { flex-direction: column; }
.pw-c .pw-place-col .pw-btn { width: 100%; }
.pw-field {
  flex: 1; min-width: 0; min-height: 48px; padding: 0 16px; border: 1px solid var(--pw-line-2); border-radius: 14px;
  background: var(--pw-surface); color: var(--pw-ink); font: inherit; font-size: 16px; outline: none;
}
.pw-field::placeholder { color: var(--pw-muted); opacity: 1; }
.pw-field:focus { border-color: rgba(255, 255, 255, .4); }
.pw-field[aria-invalid=true] { border-color: #FF8498; }
.pw-err { font-size: 14px; color: #FF8498; }
.pw-consent { font-size: 15px; }
.pw-consent a { color: var(--pw-accent); text-decoration: underline; text-underline-offset: 2px; }
.pw-seg { display: flex; padding: 3px; border-radius: 14px; background: var(--pw-surface); }
.pw-seg-b { flex: 1; min-height: 40px; border: 0; border-radius: 11px; background: none; color: var(--pw-muted); font-size: 15px; font-weight: 600; }
.pw-seg-b[aria-checked=true] { background: var(--pw-raise); color: var(--pw-ink); }
/* мини-демо счёта */
.pw-sc { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; column-gap: 16px; row-gap: 6px; }
.pw-sc-h { font-size: 12px; line-height: 1.2; color: var(--pw-muted); text-align: center; }
.pw-sc-h:first-child { text-align: left; }
.pw-sc-name { font-size: 17px; font-weight: 600; overflow-wrap: anywhere; display: flex; align-items: center; gap: 8px; }
.pw-sc-name::before { content: ''; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--pw-coral); }
.pw-sc-1::before { background: var(--pw-mint); }
.pw-sc-g, .pw-sc-p { min-width: 48px; text-align: center; font-size: 28px; line-height: 1.15; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.pw-sc-p { color: var(--pw-accent); }
.pw-sc-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pw-sc-btn { min-height: 64px; padding: 8px 12px; border: 0; border-radius: 18px; font-size: 19px; font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; transition: transform .12s var(--pw-ease), filter .15s; }
.pw-sc-btn:active { transform: scale(.96); }
.pw-sc-btn-0 { background: var(--pw-coral); color: #fff; }
.pw-sc-btn-1 { background: var(--pw-mint); color: #0B0C0E; }
.pw-sc-btn:hover { filter: brightness(1.06); }
.pw-panel.is-chips .pw-log { padding-bottom: 20px; }

/* ---------- низ: ввод ---------- */
.pw-foot { flex: none; padding: 12px 16px 14px; border-top: 1px solid var(--pw-line); background: var(--pw-surface); }
.pw-continue {
  display: flex; align-items: center; gap: 6px; width: max-content; max-width: 100%;
  min-height: 36px; margin: -2px 0 10px; padding: 0 2px; border: 0; background: none;
  color: var(--pw-accent); font-size: 15px; font-weight: 600; line-height: 1.25; text-align: left;
}
.pw-continue:hover span { text-decoration: underline; text-underline-offset: 3px; }
.pw-continue svg { flex: none; }
.pw-ts:empty { display: none; }
.pw-ts { margin-bottom: 10px; }
.pw-form { display: flex; align-items: flex-end; gap: 8px; }
.pw-input {
  flex: 1; min-width: 0; min-height: 44px; max-height: 120px; resize: none;
  padding: 11px 16px; border: 1px solid transparent; border-radius: 22px; background: var(--pw-sunk);
  font-size: 16px; line-height: 1.35; outline: none;
}
.pw-input::placeholder { color: var(--pw-muted); opacity: 1; }
.pw-input:focus { border-color: var(--pw-line-2); }
.pw-input:focus-visible { outline: none; border-color: rgba(255, 255, 255, .36); }
.pw-send { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--pw-coral); color: #fff; transition: background-color .15s, opacity .15s, transform .15s var(--pw-ease); }
.pw-send:hover { background: #E3403D; }
.pw-send:active { transform: scale(.94); }
.pw-send:disabled { opacity: .4; cursor: default; transform: none; }
.pw-left { margin: 8px 4px 0; font-size: 12px; line-height: 1.3; color: var(--pw-muted); text-align: right; }

/* ---------- телефон: круглая кнопка 56 px, чат на весь экран снизу ---------- */
@media (max-width: 767px) {
  .pw { --pw-gap: 16px; }
  .pw-fab { width: 56px; height: 56px; padding: 0; justify-content: center; border-width: 1px; }
  .pw-fab .pw-avatar { width: 54px; height: 54px; }
  .pw-fab-label { display: none; }
  .pw-hint { bottom: calc(var(--pw-b) + 56px + 12px); max-width: min(280px, calc(100vw - 2 * var(--pw-gap))); }
  .pw-panel {
    inset: 0; width: 100%; height: 100%; height: 100dvh; border: 0; border-radius: 0; box-shadow: none;
    padding-top: env(safe-area-inset-top, 0px); padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px);
    transform: translateY(100%); opacity: 1; transition: transform .3s cubic-bezier(.32, .72, 0, 1);
  }
  .pw-panel.is-in { transform: none; }
  .pw-head { padding: 12px 12px 12px 16px; }
  .pw-foot { padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
  .pw.is-open .pw-fab { visibility: hidden; }
}
@media (max-width: 379px) {
  .pw-head .pw-avatar { display: none; }
}
@media (max-width: 359px) {
  .pw-log { padding: 12px; -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 12px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 12px), transparent); }
  .pw-card, .pw-c { padding: 14px; }
  .pw-c.is-bare { padding: 0; }
  .pw-sc { column-gap: 10px; }
  .pw-sc-g, .pw-sc-p { min-width: 40px; font-size: 24px; }
  .pw-btn-1 { padding: 12px 14px; }
  .pw-code { padding-left: 14px; }
  .pw-code-value { font-size: 24px; }
}
@media (min-width: 768px) {
  .pw-bubble, .pw-card, .pw-c { font-size: 15px; }
  .pw-input { font-size: 15px; }
}
html.pw-lock, html.pw-lock body { overflow: hidden; }

/* Зум 200 % на телефоне 320 (окно ~160 px, 04.12): между «…» и «×» тексту шапки оставалось ~30 px — «Я ШІ, не людина»
   наезжал на «…»; подсказка поля переносилась и резалась («Ваше пита/ння»). Шапка в две строки: кнопки справа сверху,
   заголовок и подпись под ними во всю ширину; поле во всю ширину на две строки (подсказка целыми словами), «Отправить»
   под ним справа. */
@media (max-width: 239.98px) {
  .pw-head { flex-wrap: wrap; row-gap: 4px; padding: 8px 8px 12px 12px; }
  .pw-head-text { order: 2; flex-basis: 100%; }
  .pw-more { margin-left: auto; }
  .pw-form { flex-wrap: wrap; }
  .pw-input { flex-basis: 100%; min-height: 70px; padding: 11px 12px; font-size: 14px; }
  .pw-input::placeholder { overflow-wrap: normal; word-break: normal; }
  .pw-send { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .pw-fab, .pw-hint, .pw-panel, .pw-chip, .pw-btn, .pw-send, .pw-sc-btn, .pw-dots i { transition: none !important; }
  .pw-panel, .pw-hint { transform: none !important; }
  .pw-typing i { animation: none; opacity: .7; }
}
@media (forced-colors: active) {
  .pw-fab, .pw-panel, .pw-chip, .pw-btn, .pw-send, .pw-input { border: 1px solid CanvasText; }
}
