/* Talk to Torque companion — Chirpy motion, Torque fonts. */
.cc-host,.cc-vars {
  --cc-bg: #121212;
  --cc-card: #1c1c1c;
  --cc-raised: #242424;
  --cc-border: #2e2e2e;
  --cc-text: #ffffff;
  --cc-muted: #b3b3b3;
  --cc-faint: #8a8a8a;
  --cc-yellow: #ffe600;
  --cc-feather: #e7c62b;
  --cc-ink: #121212;
  --cc-hat: #333333;
  --cc-knit: #565656;
  --cc-branch: #5b3a20;
  --cc-bark: #7a5232;
  --cc-leaf: #87963a;
  --cc-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  position: fixed;
  z-index: 70;
  pointer-events: none;
  inset: 0;
  color: var(--cc-text);
  font-family: inherit;
  letter-spacing: 0;
}
.cc-control {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
  padding: 0;
}
.cc-control:focus-visible {
  outline: 2px solid var(--cc-yellow);
  outline-offset: 4px;
}
.cc-control:disabled {
  opacity: 0.5;
  cursor: default;
}
.cc-position {
  position: absolute;
  width: 180px;
  height: 200px;
  transition:
    left 1.8s cubic-bezier(0.45, 0, 0.2, 1),
    top 1.8s cubic-bezier(0.45, 0, 0.2, 1);
}
.cc-arrive {
  animation: cc-arrival 2s ease-out both;
}
.cc-bird-control {
  position: absolute;
  inset: 0;
  width: 180px;
  height: 180px;
  pointer-events: auto;
  z-index: 2;
}
.cc-bird {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.cc-perch {
  position: absolute;
  top: 155px;
  left: 12px;
  width: 176px;
  height: 35px;
  transition: opacity 0.3s;
}
.cc-perch[data-visible='false'] {
  opacity: 0;
}
.cc-perch .wood {
  fill: var(--cc-branch);
  stroke: var(--cc-bark);
  stroke-width: 1.5;
}
.cc-perch .leaf {
  fill: var(--cc-leaf);
}
.cc-label {
  position: absolute;
  top: 188px;
  left: 0;
  width: 180px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #e8edf2;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.65);
  pointer-events: none;
}
.cc-torso {
  transform-origin: 99px 163px;
  animation: cc-breathe 3.1s ease-in-out infinite;
}
.cc-wing-left {
  transform-origin: 55px 92px;
}
.cc-wing-right {
  transform-origin: 147px 93px;
}
.cc-wing {
  animation: cc-wing-rest 5s ease-in-out infinite;
}
.cc-wing-right {
  animation-delay: 0.4s;
}
.cc-eyelids {
  fill: var(--cc-feather);
  transform-origin: 98px 54px;
  transform: scaleY(0);
  animation: cc-blink 4.7s infinite;
}
.cc-foot-left {
  transform-origin: 71px 162px;
}
.cc-foot-right {
  transform-origin: 119px 163px;
}
.cc-bird[data-state='flying'] .cc-wing-left,
.cc-bird[data-state='hero'] .cc-wing-left {
  animation: cc-flap-left 0.19s ease-in-out infinite alternate;
}
.cc-bird[data-state='flying'] .cc-wing-right,
.cc-bird[data-state='hero'] .cc-wing-right {
  animation: cc-flap-right 0.19s ease-in-out infinite alternate;
}
.cc-bird[data-state='flying'] .cc-foot {
  transform: rotate(-14deg);
}
.cc-bird[data-state='thinking'] .cc-wing-right {
  animation: cc-scratch 1.1s ease-in-out infinite;
}
.cc-bird[data-state='thinking'] .cc-torso {
  animation: cc-ponder 2.6s ease-in-out infinite;
}
.cc-hat,
.cc-mask {
  fill: var(--cc-ink);
}
.cc-hat-band {
  fill: var(--cc-hat);
}
.cc-knit {
  fill: none;
  stroke: var(--cc-knit);
  stroke-width: 2;
}
.cc-pompom,
.cc-pencil,
.cc-thoughts {
  fill: var(--cc-yellow);
}
.cc-pencil {
  stroke: var(--cc-ink);
  stroke-width: 1;
}
.cc-glasses {
  stroke: var(--cc-ink);
  stroke-width: 3;
  fill: none;
}
.cc-thoughts {
  animation: cc-ponder 1.5s ease-in-out infinite;
}
.cc-cape {
  fill: var(--cc-ink);
  stroke: var(--cc-knit);
  stroke-width: 1;
  transform-origin: 95px 86px;
  animation: cc-cape-wave 0.65s ease-in-out infinite alternate;
}
.cc-cape text {
  fill: var(--cc-text);
  stroke: none;
  font: bold 12px system-ui;
}
.cc-cape-fold {
  fill: none;
}
.cc-bird[data-state='waiting'] .cc-foot-right {
  animation: cc-foot-tap 0.55s ease-in-out infinite;
}
.cc-bird[data-state='waiting'] .cc-eyelids {
  transform: scaleY(0.4);
  animation: cc-blink-wait 4s infinite;
}
.cc-tap-lines {
  stroke: var(--cc-yellow);
  fill: none;
  stroke-width: 2;
  animation: cc-tap-flash 0.55s infinite;
}
.cc-bird[data-state='listening'] .cc-torso {
  transform: rotate(-8deg);
  animation: cc-ponder 2s infinite;
}
.cc-bird[data-state='celebrate'] .cc-torso {
  animation: cc-hop 0.5s ease-in-out 4;
}
.cc-bird[data-state='celebrate'] .cc-wing {
  animation: cc-flap-right 0.25s infinite alternate;
}
.cc-chirp {
  position: absolute;
  right: 5px;
  top: 12px;
  color: var(--cc-yellow);
  font-size: 13px;
  animation: cc-pop 0.3s ease-out;
  pointer-events: none;
}
.cc-card {
  position: absolute;
  pointer-events: auto;
  right: 26px;
  bottom: 210px;
  width: min(420px, calc(100vw - 32px));
  max-height: calc(100dvh - 234px);
  overflow: auto;
  background: var(--cc-card);
  border: 1px solid var(--cc-border);
  border-radius: 20px;
  box-shadow: var(--cc-shadow);
  animation: cc-pop 0.3s ease-out;
}
.cc-card-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 22px 16px;
}
.cc-card-head .cc-control {
  margin-left: auto;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--cc-muted);
  flex: none;
}
.cc-kicker {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cc-yellow);
}
.cc-card h2 {
  font-family: var(--font-anton), Anton, Impact, sans-serif;
  font-size: 27px;
  font-weight: 400;
  line-height: 1.2;
  margin: 0;
}
.cc-card h2 span {
  color: var(--cc-yellow);
}
.cc-status {
  margin: 5px 0 0;
  color: var(--cc-faint);
  font-size: 12px;
}
.cc-options {
  padding: 0 12px 12px;
}
.cc-option {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  padding: 13px 10px;
  border-bottom: 1px solid var(--cc-border);
}
.cc-option:hover {
  background: var(--cc-raised);
  border-radius: 8px;
}
.cc-number {
  color: var(--cc-yellow);
  font-size: 12px;
  flex: none;
}
.cc-option-copy {
  flex: 1;
  min-width: 0;
}
.cc-option strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.cc-option small {
  display: block;
  font-size: 12px;
  color: var(--cc-faint);
  margin-top: 5px;
  line-height: 1.4;
}
.cc-option svg {
  width: 16px;
  color: var(--cc-faint);
  flex: none;
}
.cc-compose {
  display: flex;
  gap: 8px;
  margin: 0 20px 20px;
  align-items: center;
  border: 1px solid var(--cc-border);
  background: var(--cc-bg);
  border-radius: 8px;
  padding: 6px;
}
.cc-compose input {
  width: 100%;
  min-width: 0;
  padding: 9px 5px;
  background: none;
  border: none;
  outline: none;
  color: var(--cc-text);
  font: inherit;
  font-size: 13px;
}
.cc-compose input:focus-visible {
  outline: 1px solid var(--cc-yellow);
  border-radius: 4px;
}
.cc-compose .cc-control {
  width: 32px;
  height: 32px;
  flex: none;
  display: grid;
  place-items: center;
  color: var(--cc-yellow);
}
.cc-response {
  padding: 0 22px 18px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--cc-muted);
}
.cc-answer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.cc-morning {
  pointer-events: auto;
  position: absolute;
  top: 26px;
  left: 180px;
  width: min(310px, calc(100vw - 32px));
  border: 1px solid var(--cc-border);
  background: var(--cc-card);
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--cc-shadow);
  animation: cc-pop 0.4s ease-out;
}
.cc-morning strong {
  font-size: 15px;
}
.cc-morning p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--cc-muted);
  margin: 8px 0 14px;
}
.cc-morning .cc-control {
  background: var(--cc-yellow);
  color: var(--cc-ink);
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}
.cc-morning .cc-control svg {
  display: inline;
  width: 14px;
  height: 14px;
  vertical-align: middle;
}
@keyframes cc-arrival {
  0% {
    transform: translate(65vw, -280px) rotate(-15deg);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  70% {
    transform: translate(35px, -30px) rotate(8deg);
  }
  90% {
    transform: scale(1.07, 0.91);
  }
  100% {
    transform: none;
  }
}
@keyframes cc-breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02, 1.035) rotate(1.5deg);
  }
}
@keyframes cc-wing-rest {
  0%,
  75%,
  100% {
    transform: rotate(0);
  }
  85% {
    transform: rotate(9deg);
  }
  90% {
    transform: rotate(-7deg);
  }
}
@keyframes cc-blink {
  0%,
  42%,
  46%,
  90%,
  94%,
  100% {
    transform: scaleY(0);
  }
  44%,
  92% {
    transform: scaleY(1);
  }
}
@keyframes cc-blink-wait {
  0%,
  90%,
  100% {
    transform: scaleY(0.4);
  }
  94% {
    transform: scaleY(1);
  }
}
@keyframes cc-flap-left {
  from {
    transform: rotate(12deg);
  }
  to {
    transform: rotate(100deg);
  }
}
@keyframes cc-flap-right {
  from {
    transform: rotate(-12deg);
  }
  to {
    transform: rotate(-100deg);
  }
}
@keyframes cc-scratch {
  0%,
  100% {
    transform: rotate(0);
  }
  25%,
  65% {
    transform: rotate(-145deg) translate(-5px, -8px);
  }
  45%,
  85% {
    transform: rotate(-125deg) translate(-2px, -4px);
  }
}
@keyframes cc-ponder {
  0%,
  100% {
    transform: rotate(-4deg);
  }
  50% {
    transform: rotate(5deg);
  }
}
@keyframes cc-foot-tap {
  0%,
  70%,
  100% {
    transform: rotate(0);
  }
  35% {
    transform: rotate(-22deg) translateY(-3px);
  }
}
@keyframes cc-tap-flash {
  0%,
  60%,
  100% {
    opacity: 0;
  }
  75% {
    opacity: 1;
  }
}
@keyframes cc-cape-wave {
  from {
    transform: skewX(-8deg) scaleX(0.95);
  }
  to {
    transform: skewX(15deg) scaleX(1.12);
  }
}
@keyframes cc-hop {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px) rotate(8deg);
  }
}
@keyframes cc-pop {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 640px) {
  .cc-card {
    right: 16px;
    bottom: 196px;
  }
  .cc-morning {
    left: 0;
    top: 210px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cc-host *,
  .cc-host *::before {
    animation: none !important;
    transition: none !important;
  }
}
