.computer.host.native-chrome .hb-tabs,
.computer.host.native-chrome .hb-bar { display: none !important; }
.computer.host.native-chrome .hb-top { justify-content: flex-end; }
.computer.host.native-chrome { grid-template-rows: auto minmax(0,1fr) auto; }
.computer.host.native-chrome.mode-pip { grid-template-rows: auto minmax(0,1fr) auto; }

/* Camada decorativa do cursor da IA no navegador */
.ai-cursor-layer {
  position: absolute;
  inset: 0;
  pointer-events: none !important;
  user-select: none;
  overflow: hidden;
  z-index: 25;
}

.ai-cursor-pointer {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  will-change: transform, opacity;
  transition: transform 160ms cubic-bezier(0.16, 1, 0.3, 1), opacity 200ms ease;
  opacity: 0;
  z-index: 28;
}

.ai-cursor-pointer.visible {
  opacity: 1;
}

.ai-cursor-pointer.instant-move {
  transition: opacity 150ms ease !important;
}

.ai-cursor-svg {
  display: block;
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5));
  transition: transform 90ms ease-out;
}

.ai-cursor-pointer.clicking {
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.6)) brightness(0.95);
}

.ai-cursor-pointer.clicking .ai-cursor-svg {
  transform: scale(0.88);
}

.ai-cursor-badge {
  position: absolute;
  left: 18px;
  top: 12px;
  background: rgba(15, 23, 42, 0.9);
  color: #fff;
  border: 1px solid rgba(121, 205, 45, 0.5);
  border-radius: 999px;
  padding: 2px 7px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  animation: ai-cursor-badge-in 150ms ease-out forwards;
}

.ai-cursor-badge.typing {
  border-color: #79cd2d;
  color: #d9f99d;
}

.ai-cursor-badge.scroll {
  font-size: 13px;
  font-weight: bold;
  padding: 1px 6px;
  color: #79cd2d;
}

/* Pulsos de clique */
.ai-cursor-pulse {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #79cd2d;
  background: rgba(121, 205, 45, 0.25);
  pointer-events: none;
  transform: translate(-50%, -50%) scale(1);
  animation: ai-cursor-ripple 250ms cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
  z-index: 26;
}

.ai-cursor-pulse.right-click {
  border: 2px dashed #f59e0b;
  background: rgba(245, 158, 11, 0.25);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

.ai-cursor-pulse.hover {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(121, 205, 45, 0.4);
  background: radial-gradient(circle, rgba(121, 205, 45, 0.35) 0%, rgba(121, 205, 45, 0) 75%);
  animation: ai-cursor-halo 350ms ease-out forwards;
}

/* Contorno do elemento alvo */
.ai-cursor-target-box {
  position: absolute;
  border: 1.5px solid rgba(121, 205, 45, 0.9);
  background: rgba(121, 205, 45, 0.1);
  border-radius: 4px;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(121, 205, 45, 0.35);
  animation: ai-cursor-box 400ms ease-out forwards;
  z-index: 24;
}

.ai-cursor-box-label {
  position: absolute;
  bottom: calc(100% + 4px);
  left: 0;
  background: rgba(15, 23, 42, 0.92);
  color: #e2e8f0;
  border: 1px solid rgba(121, 205, 45, 0.4);
  font-size: 10.5px;
  padding: 1px 6px;
  border-radius: 4px;
  white-space: nowrap;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Trilha de arrasto */
.ai-cursor-drag-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 23;
  animation: ai-cursor-fade-out 500ms ease-out forwards;
}

.ai-cursor-drag-line {
  stroke: #79cd2d;
  stroke-width: 2;
  stroke-dasharray: 4 3;
  stroke-linecap: round;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}

@keyframes ai-cursor-ripple {
  0% {
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.6);
    opacity: 0;
  }
}

@keyframes ai-cursor-halo {
  0% {
    transform: translate(-50%, -50%) scale(0.7);
    opacity: 0.9;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.4);
    opacity: 0;
  }
}

@keyframes ai-cursor-box {
  0% {
    opacity: 0.95;
    transform: scale(0.99);
  }
  60% {
    opacity: 0.9;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

@keyframes ai-cursor-badge-in {
  from {
    opacity: 0;
    transform: translateY(3px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes ai-cursor-fade-out {
  0% {
    opacity: 0.9;
  }
  70% {
    opacity: 0.6;
  }
  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ai-cursor-pointer {
    transition: opacity 120ms ease !important;
  }
  .ai-cursor-pulse {
    animation-duration: 120ms !important;
  }
  .ai-cursor-target-box {
    animation-duration: 180ms !important;
  }
}

