/* mini-channels-chat 1.0.0 (APP-LOCAL to channels 1.2.0, RYAN 2026-11-19). Minted from mini-hall-chat 1.0.0.
   Light surface only (FOUNDATIONAL #1): ink #14171f on pearl #fbf9e4; link navy #122c4f. Tap targets >= 44px.
   Phone-first (375): edge-to-edge frame, slim title bar, the chat gets every spare pixel above the GMX Menu tab bar.
   Tablet (>= 768, e.g. 820): roomier padding + rounded frame; Cinny shows its two-pane layout at this width.
   190px = kit header + bottom tab bar + this bar (as measured for hall 1.1.x; not re-measured, see BUILD_NOTE). */
.ch-page { display: flex; flex-direction: column; gap: 4px; padding: 4px 0 0; }
.ch-bar { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; }
.ch-title { flex: 1; margin: 0; font-size: 18px; line-height: 1.25; color: #14171f; }
.ch-full { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; color: #122c4f; font-size: 14px; text-decoration: underline; }
.ch-note { margin: 4px 12px; color: #14171f; }
.ch-frame {
  display: block; width: 100%; border: 0; border-top: 1px solid #d9d4bd; border-radius: 0; background: #fbf9e4;
  height: calc(100dvh - 176px - env(safe-area-inset-bottom)); min-height: 340px;
}
.ch-card { margin: 0 12px; padding: 16px; border: 1px solid #d9d4bd; border-radius: 12px; background: #ffffff; color: #14171f; }
.ch-go { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 10px; background: #122c4f; color: #ffffff; font-weight: 600; text-decoration: none; }

@media (min-width: 768px) {
  .ch-page { gap: 8px; padding: 8px 16px 0; }
  .ch-bar { padding: 0; }
  .ch-title { font-size: 20px; }
  .ch-note { margin: 4px 0; }
  .ch-card { margin: 0; }
  .ch-frame { border: 1px solid #d9d4bd; border-radius: 12px; height: calc(100dvh - 190px - env(safe-area-inset-bottom)); min-height: 480px; }
}

/* Install prompt (channels-install 1.0.0): light card above the tab bar; never reverse type except the one CTA button. */
.ch-install {
  position: fixed; left: 12px; right: 12px; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 50;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 14px;
  background: #ffffff; color: #14171f; border: 1px solid #d9d4bd; border-radius: 12px; box-shadow: 0 4px 16px rgba(20, 23, 31, 0.12);
}
.ch-install p { flex: 1 1 200px; margin: 0; font-size: 15px; line-height: 1.35; }
.ch-install button { min-height: 44px; padding: 0 14px; border-radius: 10px; font-size: 15px; cursor: pointer; }
.ch-install .ch-install-yes { background: #122c4f; color: #ffffff; border: 0; font-weight: 600; }
.ch-install .ch-install-no { background: transparent; color: #122c4f; border: 1px solid #d9d4bd; }
@media (min-width: 768px) { .ch-install { left: auto; right: 16px; max-width: 420px; } }
