/* Hatchcall: the call screen, and the gold mic in the middle of the tab bar (17 Nov 2026) */
.hc-screen {
  position: fixed; inset: 0; z-index: 9000;
  display: flex; flex-direction: column; gap: 12px;
  padding: calc(16px + var(--sat, 0px)) 16px calc(16px + var(--sab, 0px));
  background: var(--bg); color: var(--text);
  opacity: 0; transform: translateY(16px); transition: opacity .2s, transform .2s;
}
.hc-screen.show { opacity: 1; transform: none; }
.hc-top { text-align: center; }
.hc-title { font-size: 20px; font-weight: 800; }
.hc-sub { color: var(--muted); font-size: 14px; margin-top: 4px; }
.hc-lines { flex: 1 1 auto; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 4px 2px; }
.hc-line { max-width: 86%; padding: 9px 12px; border-radius: 16px; line-height: 1.35; font-size: 15px; }
.hc-line .hc-who { display: block; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; opacity: .7; margin-bottom: 2px; }
.hc-line.bot { align-self: flex-start; background: var(--surface-2, #f3e3c0); }
.hc-line.you { align-self: flex-end; background: var(--accent-soft, #fbe7b0); }
.hc-mid { flex: none; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.hc-ring {
  width: 92px; height: 92px; border-radius: 50%; border: 0;
  background: #F0B429; color: #1B1A2E; display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(201, 138, 14, .45);
}
.hc-ring svg { width: 36px; height: 36px; }
.hc-screen[data-phase="listening"] .hc-ring { animation: hc-pulse 1.4s ease-in-out infinite; }
.hc-screen[data-phase="thinking"] .hc-ring { opacity: .7; animation: hc-spin 1.2s linear infinite; }
.hc-screen[data-phase="talking"] .hc-ring { box-shadow: 0 0 0 10px rgba(240, 180, 41, .25), 0 6px 18px rgba(201, 138, 14, .45); }
@keyframes hc-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes hc-spin { from { filter: hue-rotate(0deg); } to { filter: hue-rotate(20deg); } }
.hc-word { font-size: 18px; font-weight: 800; }
.hc-heard { min-height: 20px; color: var(--muted); font-size: 14px; text-align: center; }
.hc-row { display: flex; gap: 8px; align-items: center; }
.hc-row .hc-type { flex: 1 1 auto; }
@media (prefers-reduced-motion: reduce) { .hc-screen[data-phase] .hc-ring { animation: none; } }

/* the gold mic: the middle tab of the bar, as in the original app */
.tabbar .tab[data-part="talk"] { color: var(--text); }
.tabbar .tab[data-part="talk"] .tab-ico {
  width: 58px; height: 58px; margin-top: -22px; border-radius: 50%;
  background: #F0B429; color: #1B1A2E; box-shadow: 0 6px 16px rgba(201, 138, 14, .45);
}
.tabbar .tab[data-part="talk"] .tab-ico svg { width: 28px; height: 28px; }
.tabbar .tab[data-part="talk"][aria-selected="true"] .tab-ico { background: #F0B429; color: #1B1A2E; }
.tabbar .tab[data-part="talk"][aria-selected="true"]::before { display: none; }
