/* Hero right side: text in, cost out (.hcf). Append to static/css/main.css or link after it. */
.hcf{display:flex;flex-direction:column;width:100%;max-width:400px;margin:0;text-align:left;font-variant-numeric:tabular-nums}
.hcf-label{display:flex;align-items:center;margin:0 0 10px 4px;font-size:14px;font-weight:500;color:var(--text-gray)}
.hcf-msg{align-self:flex-start;display:flex;flex-direction:column;max-width:340px;padding:12px 16px 8px;border-radius:18px 18px 18px 6px;background:#00feff;color:#171b30;font-size:15px;line-height:1.45}
.hcf-time{align-self:flex-end;font-size:11px;color:rgba(23,27,48,.7)}
.hcf-link{display:block;width:2px;height:48px;margin:0 0 10px 28px;background:linear-gradient(180deg,#00feff 0%,var(--accent-cyan) 100%)}
.hcf-card{display:flex;flex-direction:column;padding:8px 22px 18px;background:rgba(21,27,51,.78);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border:1px solid rgba(255,255,255,.1);border-radius:16px;box-shadow:0 25px 80px rgba(0,0,0,.45);font-size:15px}
.hcf-row,.hcf-total{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.hcf-row{padding:12px 0;color:var(--text-light)}
.hcf-row + .hcf-row{border-top:1px solid rgba(255,255,255,.08)}
.hcf-row b{color:var(--accent-green);font-weight:600}
.hcf-total{padding:14px 0 0;border-top:1px solid rgba(255,255,255,.14);color:var(--text-gray)}
.hcf-total b{color:#fff;font-size:22px;font-weight:700}

/* Entrance: message, line, then cost rows in sequence */
/* Voice note bubble and its transcript */
.hcf-msg--voice{min-width:250px}
.hcf-voice{display:flex;align-items:center;gap:10px}
.hcf-play{display:grid;place-items:center;width:30px;height:30px;flex:none;border-radius:50%;background:#171b30;color:#00feff}
.hcf-wave{display:flex;align-items:center;gap:3px;height:22px;flex:1}
.hcf-wave i{display:block;width:3px;border-radius:2px;background:#171b30;opacity:.85}
.hcf-wave i:nth-child(3n+1){height:40%}.hcf-wave i:nth-child(3n+2){height:90%}.hcf-wave i:nth-child(3n){height:60%}
.hcf-wave i:nth-child(5n){height:100%}.hcf-wave i:nth-child(7n){height:30%}
.hcf-dur{font-size:13px;font-weight:600}
.hcf-transcript{max-width:340px;margin:10px 0 0 4px;font-size:14px;line-height:1.5;font-style:italic;color:var(--text-light);opacity:.85}
.hcf-msg,.hcf-transcript,.hcf-link,.hcf-row,.hcf-total{animation:hcfIn .5s ease-out both}
.hcf-msg{animation-delay:.3s}
.hcf-transcript{animation-delay:.6s}
.hcf-link{animation-name:hcfGrow;transform-origin:top;animation-delay:.9s}
.hcf-row:nth-child(1){animation-delay:1.2s}
.hcf-row:nth-child(2){animation-delay:1.4s}
.hcf-row:nth-child(3){animation-delay:1.6s}
.hcf-total{animation-delay:1.9s}
@keyframes hcfIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes hcfGrow{from{transform:scaleY(0)}to{transform:scaleY(1)}}

@media (max-width:1024px){.hcf{margin:0 auto}}
@media (max-width:480px){.hcf-msg,.hcf-card{font-size:14px}.hcf-card{padding:6px 16px 16px}}
@media (prefers-reduced-motion:reduce){.hcf-msg,.hcf-transcript,.hcf-link,.hcf-row,.hcf-total{animation:none}}
