/* connect-quick.js (founder 2026-11-04): heart on double-tap, swipe to reply, the "@" button, Run. */
/* 1. The heart that shows once where you double-tapped. */
.cn-bubble { position: relative; }
.cnq-burst { position: absolute; z-index: 3; width: 44px; height: 44px; margin: -22px 0 0 -22px; color: #f87171; pointer-events: none; filter: drop-shadow(0 4px 10px rgba(248, 113, 113, 0.45)); animation: cnqBurst 0.65s ease-out forwards; }
.cnq-burst svg { width: 100%; height: 100%; display: block; }
@keyframes cnqBurst { 0% { opacity: 0; transform: scale(0.4); } 25% { opacity: 1; transform: scale(1.15); } 60% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1) translateY(-14px); } }
@media (prefers-reduced-motion: reduce) { .cnq-burst { animation: cnqFade 0.6s linear forwards; } @keyframes cnqFade { 0%, 70% { opacity: 1; } 100% { opacity: 0; } } }
/* 2. Swipe to reply (phones). */
@media (hover: none) { #cnMsgs .cn-msg { touch-action: pan-y; } }
.cn-msg.cnq-swiping { z-index: 4; }
.cn-msg.cnq-swipe-back { transition: transform 0.2s ease; }
.cnq-swipe-ic { position: absolute; left: -34px; top: 50%; width: 28px; height: 28px; margin-top: -14px; display: grid; place-items: center; color: #9fb0d6; background: rgba(255, 255, 255, 0.06); border-radius: 50%; opacity: 0.5; transition: opacity 0.12s, color 0.12s, background 0.12s; }
.cnq-swipe-ic svg { width: 16px; height: 16px; }
.cn-msg.cnq-swipe-ready .cnq-swipe-ic { opacity: 1; color: #fff; background: #2f8bff; }
/* 3. The "@" button above the message box. */
.cnq-at { position: absolute; right: 22px; bottom: 128px; z-index: 5; display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 40px; height: 40px; padding: 0 10px; border: 0; border-radius: 999px; font: inherit; font-size: 0.86rem; color: #1a1203; background: #f2b33d; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.6); cursor: pointer; }
.cnq-at[hidden] { display: none; }
.cnq-at b { font-size: 1.05rem; font-weight: 800; line-height: 1; }
.cnq-at span { font-weight: 800; }
.cnq-at:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 760px) { .cnq-at { right: 12px; bottom: 118px; } }
/* 4. Run. */
pre.cn-pre { position: relative; }
.cnq-run-corner { position: absolute; top: 6px; right: 6px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border: 0; font: inherit; font-size: 0.74rem; font-weight: 700; color: #fff; background: #2f8bff; cursor: pointer; }
.cnq-run-corner svg { width: 11px; height: 11px; }
.cnq-run-corner:focus-visible, .cnq-run-b:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
.cn-run { margin: 6px 0 2px; border: 1px solid rgba(140, 170, 255, 0.22); background: #0d1428; max-width: 640px; }
.cn-run-h { display: flex; align-items: baseline; gap: 10px; padding: 6px 8px 6px 10px; font-size: 0.78rem; color: #c9d3ea; border-bottom: 1px solid rgba(140, 170, 255, 0.14); }
.cn-run-h span { font-weight: 700; color: #fff; }
.cn-run-h small { flex: 1; color: #7d89a8; font-size: 0.72rem; }
.cn-run-x { border: 0; padding: 2px 8px; font: inherit; font-size: 0.74rem; font-weight: 600; color: #c9d3ea; background: rgba(255, 255, 255, 0.06); cursor: pointer; }
.cn-run-x:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }
.cn-run-f { display: block; width: 100%; height: 220px; border: 0; background: #fff; }
html.cpr.cpr-light .cn-run { background: #f7f9fd; border-color: rgba(20, 33, 61, 0.14); }
html.cpr.cpr-light .cn-run-h, html.cpr.cpr-light .cn-run-x { color: #2c3a58; }
html.cpr.cpr-light .cn-run-h span { color: #14213d; }
