* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

:root {
  --os-bg-1: #0b1628;
  --os-bg-2: #112a46;
  --win-bg: #121b2b;
  --win-border: #2a3b57;
  --win-header: #1a2740;
  --accent: #38bdf8;
  --gold: #f59e0b;
  --zap-dark: #0b141a;
  --zap-green: #00a884;
  --zap-teal: #075e54;
  --zap-bubble-in: #202c33;
  --zap-bubble-out: #005c4b;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--os-bg-1);
  color: var(--text-main);
}

#os-desktop {
  position: relative;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 25% 20%, #173a5e 0%, #0b1628 65%, #070d18 100%);
  overflow: hidden;
}

.os-wallpaper-brand {
  position: absolute;
  right: 32px;
  bottom: 72px;
  text-align: right;
  pointer-events: none;
  opacity: 0.25;
}
.os-logo-big {
  font-size: 3.4rem;
  font-weight: 900;
  letter-spacing: -2px;
}
.os-logo-big span {
  color: var(--zap-green);
}

/* Ícones do Desktop */
.desktop-icons {
  position: absolute;
  top: 18px;
  left: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 2;
}

.desktop-icon {
  width: 92px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 8px 6px;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: background 0.15s, border-color 0.15s;
}
.desktop-icon:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}
.icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.25);
  display: grid;
  place-items: center;
  font-size: 1.45rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}
.icon-zap {
  background: linear-gradient(135deg, #00a884, #075e54);
}
.icon-golpe {
  background: linear-gradient(135deg, #d97706, #991b1b);
}
.icon-label {
  font-size: 0.76rem;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
  line-height: 1.2;
}

/* Janelas do Sistema Operacional (Arrastáveis) */
.os-window {
  position: absolute;
  top: 22px;
  left: 126px;
  width: min(760px, calc(100vw - 150px));
  height: calc(100vh - 88px);
  background: var(--win-bg);
  border: 1px solid var(--win-border);
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 10;
}
.os-window.open {
  display: flex;
}
.os-window.active {
  border-color: var(--accent);
  box-shadow: 0 26px 68px rgba(0, 0, 0, 0.8);
}
.os-window.dragging {
  opacity: 0.96;
  user-select: none;
}

/* Posições iniciais escalonadas */
.golpes-window {
  top: 44px;
  left: 170px;
  width: min(760px, calc(100vw - 180px));
  height: calc(100vh - 110px);
}
.zap-window {
  top: 22px;
  left: min(460px, calc(100vw - 550px));
  width: min(520px, calc(100vw - 160px));
  background: var(--zap-dark);
}
.carreira-window {
  top: 76px;
  left: 220px;
  width: min(620px, calc(100vw - 180px));
  height: auto;
  max-height: calc(100vh - 120px);
}
.vozes-window {
  top: 112px;
  left: 260px;
  width: min(560px, calc(100vw - 180px));
  height: auto;
  max-height: calc(100vh - 140px);
}

.win-header {
  height: 40px;
  background: var(--win-header);
  border-bottom: 1px solid var(--win-border);
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  user-select: none;
  cursor: grab;
  touch-action: none;
}
.os-window.dragging .win-header {
  cursor: grabbing;
}
.golpes-os-header {
  background: linear-gradient(90deg, #78350f, #7f1d1d);
  border-bottom-color: #92400e;
}
.win-title {
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}
.win-controls {
  display: flex;
  gap: 6px;
}
.win-btn {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  font-size: 0.8rem;
}
.win-btn:hover { background: rgba(255, 255, 255, 0.18); }
.btn-close:hover { background: #ef4444; }

.win-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

/* Janela de Missões */
.status-banner {
  background: linear-gradient(135deg, #172554, #1e293b);
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.status-banner strong { display: block; font-size: 1.05rem; }
.status-banner small { color: var(--text-muted); }
.banner-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.golpe-ativo-strip {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 9px;
  padding: 9px 12px;
  margin-bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #fde68a;
}
.btn-strip-escolher {
  background: rgba(245, 158, 11, 0.22);
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: #fef3c7;
  padding: 5px 10px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 0.76rem;
  cursor: pointer;
}
.btn-strip-escolher:hover { background: rgba(245, 158, 11, 0.35); }

.pill-money {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.45);
  color: #86efac;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
}

.btn-call-random {
  background: var(--zap-green);
  color: #042f2e;
  border: none;
  border-radius: 8px;
  padding: 9px 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.12s, filter 0.12s;
}
.btn-call-random:hover { filter: brightness(1.1); transform: translateY(-1px); }

.niveis-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.nivel-card {
  background: #0f172a;
  border: 1px solid #24324a;
  border-radius: 10px;
  padding: 14px;
}
.nivel-card.locked {
  opacity: 0.52;
  filter: grayscale(0.4);
}
.nivel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  gap: 8px;
}
.nivel-badge {
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.16);
  color: #7dd3fc;
  font-weight: 700;
}
.nivel-card.locked .nivel-badge {
  background: rgba(148, 163, 184, 0.15);
  color: #cbd5e1;
}

.missoes-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 10px;
}
.missao-item {
  background: #172338;
  border: 1px solid #2a3c58;
  border-radius: 9px;
  padding: 11px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}
.missao-item h4 { font-size: 0.92rem; color: #f8fafc; }
.missao-item p { font-size: 0.78rem; color: var(--text-muted); line-height: 1.35; }
.btn-missao-go {
  background: #0284c7;
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 7px 10px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
}
.btn-missao-go:hover { background: #0ea5e9; }
.btn-missao-go:disabled {
  background: #334155;
  color: #94a3b8;
  cursor: not-allowed;
}

/* ========================================================= */
/* JANELA DE 12 GOLPES EXTRAS                                */
/* ========================================================= */
.golpes-intro {
  background: #1c1917;
  border: 1px solid #78350f;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.golpes-intro strong { display: block; color: #fbbf24; margin-bottom: 3px; }
.golpes-intro p { font-size: 0.8rem; color: #d6d3d1; max-width: 480px; line-height: 1.35; }

.btn-golpe-rand {
  background: #292524;
  border: 1px solid #57534e;
  color: #e7e5e4;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
}
.btn-golpe-rand.active {
  background: #d97706;
  border-color: #fbbf24;
  color: #1c1917;
}

.golpes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 10px;
}
.golpe-card {
  background: #172033;
  border: 1px solid #2b3a54;
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}
.golpe-card.selected {
  border-color: #fbbf24;
  background: #241f14;
  box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.45);
}
.golpe-card.locked {
  opacity: 0.48;
  filter: grayscale(0.5);
}
.golpe-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}
.golpe-lvl-tag {
  font-size: 0.7rem;
  padding: 2px 7px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}
.golpe-xp-tag {
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: 99px;
  background: rgba(245, 158, 11, 0.2);
  color: #fcd34d;
  font-weight: 800;
}
.golpe-card h4 { font-size: 0.9rem; color: #f8fafc; }
.golpe-card p { font-size: 0.77rem; color: var(--text-muted); line-height: 1.35; }
.golpe-card-meta {
  font-size: 0.72rem;
  color: #86efac;
}
.btn-golpe-pick {
  background: #b45309;
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 7px 10px;
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
}
.btn-golpe-pick:hover { background: #d97706; }
.btn-golpe-pick.picked { background: #16a34a; }
.btn-golpe-pick:disabled {
  background: #334155;
  color: #94a3b8;
  cursor: not-allowed;
}

/* ========================================================= */
/* JANELA ZAPCALL (CHAMADA DE VÍDEO ESTILO WHATSAPP)         */
/* ========================================================= */
.zap-os-header {
  background: #075e54;
  border-bottom-color: #0b4a42;
}
.zap-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #0b141a;
  overflow: hidden;
}

.zap-topbar {
  background: linear-gradient(180deg, rgba(7, 94, 84, 0.95), rgba(11, 20, 26, 0.95));
  padding: 9px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.zap-encrypt { font-size: 0.68rem; color: #a7f3d0; opacity: 0.85; }
.zap-caller-info h2 { font-size: 1.02rem; margin-top: 2px; }
.zap-caller-info p { font-size: 0.75rem; color: #cbd5e1; }
.zap-meta-right { text-align: right; flex-shrink: 0; }
.zap-timer { display: block; font-weight: 700; font-size: 0.9rem; color: #4ade80; }
.zap-turnos { font-size: 0.72rem; color: #cbd5e1; }

.zap-missao-bar {
  background: #182229;
  border-bottom: 1px solid #263540;
  padding: 7px 12px;
  font-size: 0.75rem;
  color: #e2e8f0;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.golpe-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding-top: 5px;
  border-top: 1px dashed rgba(245, 158, 11, 0.3);
  color: #fde68a;
}
.golpe-pill {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 99px;
  white-space: nowrap;
  flex-shrink: 0;
}
.golpe-pill.pendente {
  background: rgba(245, 158, 11, 0.2);
  color: #fcd34d;
  border: 1px solid rgba(245, 158, 11, 0.45);
}
.golpe-pill.concluido {
  background: rgba(34, 197, 94, 0.25);
  color: #86efac;
  border: 1px solid #22c55e;
}
.dado-capturado-box {
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #bbf7d0;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.74rem;
}

.zap-video-stage {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: radial-gradient(circle at 50% 35%, #243b4a 0%, #101d25 65%, #091116 100%);
  overflow: hidden;
  min-height: 250px;
}

.zap-meters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 9px 12px 0;
  z-index: 4;
}
.meter-box {
  background: rgba(11, 20, 26, 0.72);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 6px 8px;
}
.meter-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  margin-bottom: 4px;
}
.meter-track {
  height: 7px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.meter-fill {
  height: 100%;
  transition: width 0.35s ease;
}
.fill-pac { background: linear-gradient(90deg, #ef4444, #f59e0b, #22c55e); }
.fill-conv { background: linear-gradient(90deg, #0ea5e9, #10b981); }

/* Boneco SVG Central */
.avatar-wrapper {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2px;
}
.avatar-svg-container {
  width: 175px;
  height: 175px;
  transition: transform 0.2s ease;
}
.avatar-svg-container svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.45));
}

.avatar-wrapper.falando .avatar-svg-container {
  animation: headBob 0.42s infinite alternate ease-in-out;
}
.avatar-wrapper.falando .boca-falando {
  transform-origin: center;
  animation: mouthTalk 0.18s infinite alternate;
}

@keyframes headBob {
  from { transform: translateY(0px) rotate(-1deg); }
  to   { transform: translateY(-4px) rotate(1.2deg); }
}
@keyframes mouthTalk {
  from { transform: scaleY(0.55); }
  to   { transform: scaleY(1.45); }
}

.mood-badge {
  margin-top: -6px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 700;
}

.zap-pip {
  position: absolute;
  top: 62px;
  right: 12px;
  width: 74px;
  background: #111b21;
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.55);
  z-index: 5;
  text-align: center;
}
.pip-svg { display: block; width: 100%; height: 70px; }
.zap-pip span {
  display: block;
  font-size: 0.62rem;
  padding: 2px;
  background: rgba(0, 0, 0, 0.65);
}

.zap-calling-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 20, 26, 0.88);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  z-index: 12;
  text-align: center;
  padding: 16px;
}
.pulse-ring {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--zap-green);
  animation: ringPulse 1.3s infinite;
}
@keyframes ringPulse {
  0%   { box-shadow: 0 0 0 0 rgba(0, 168, 132, 0.75); }
  100% { box-shadow: 0 0 0 28px rgba(0, 168, 132, 0); }
}

.zap-chat-log {
  max-height: 148px;
  overflow-y: auto;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: linear-gradient(180deg, transparent 0%, rgba(11, 20, 26, 0.92) 28%);
  z-index: 4;
}
.chat-bubble {
  max-width: 86%;
  padding: 8px 11px;
  border-radius: 10px;
  font-size: 0.82rem;
  line-height: 1.35;
}
.bubble-in {
  align-self: flex-start;
  background: var(--zap-bubble-in);
  border-bottom-left-radius: 2px;
}
.bubble-out {
  align-self: flex-end;
  background: var(--zap-bubble-out);
  border-bottom-right-radius: 2px;
}
.bubble-sys {
  align-self: center;
  background: rgba(30, 41, 59, 0.85);
  color: #cbd5e1;
  font-size: 0.74rem;
  text-align: center;
}
.bubble-bonus {
  align-self: center;
  background: rgba(245, 158, 11, 0.22);
  border: 1px solid #f59e0b;
  color: #fef3c7;
  font-size: 0.76rem;
  font-weight: 700;
  text-align: center;
}

.zap-result-box {
  background: #17232b;
  border-top: 2px solid var(--zap-green);
  padding: 11px 14px;
  text-align: center;
}
.zap-result-box.derrota { border-top-color: #ef4444; }
.zap-result-box h3 { font-size: 0.96rem; margin-bottom: 4px; }
.result-bonus {
  display: inline-block;
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: #fde68a;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
  margin-bottom: 6px;
}
.zap-result-box p { font-size: 0.8rem; color: #cbd5e1; margin-bottom: 10px; }
.result-actions { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.btn-nova-chamada, .btn-ver-missoes {
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.82rem;
}
.btn-nova-chamada { background: var(--zap-green); color: #042f2e; }
.btn-ver-missoes { background: #334155; color: #fff; }

.zap-input-bar {
  display: flex;
  gap: 8px;
  padding: 8px 10px;
  background: #182229;
  border-top: 1px solid #263540;
}
.zap-input-bar input {
  flex: 1;
  background: #2a3942;
  border: none;
  border-radius: 20px;
  padding: 10px 14px;
  color: #fff;
  font-size: 0.88rem;
  outline: none;
}
.zap-send-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: var(--zap-green);
  color: #042f2e;
  font-size: 1.05rem;
  font-weight: 900;
  cursor: pointer;
}
.zap-send-btn:disabled { background: #334155; color: #64748b; cursor: not-allowed; }

.zap-bottom-controls {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 8px 12px 10px;
  background: #111b21;
}
.zap-ctrl {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: #2a3942;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
}
.zap-ctrl:hover { background: #3b4f5b; }
.zap-hangup { background: #dc2626; }
.zap-hangup:hover { background: #ef4444; }

/* Carreira e Teste de Vozes */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 10px;
}
.stat-card {
  background: #0f172a;
  border: 1px solid #24324a;
  border-radius: 10px;
  padding: 14px;
}
.stat-card span { display: block; font-size: 0.76rem; color: var(--text-muted); margin-bottom: 4px; }
.stat-card strong { font-size: 1.05rem; color: #f8fafc; }
.carreira-footer { margin-top: 18px; text-align: right; }
.btn-danger-small {
  background: transparent;
  border: 1px solid #ef4444;
  color: #fca5a5;
  padding: 7px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.8rem;
}

.vozes-desc { margin-bottom: 12px; color: var(--text-muted); font-size: 0.88rem; }
.vozes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.voz-btn {
  background: #1e293b;
  border: 1px solid #334155;
  color: #fff;
  padding: 12px;
  border-radius: 9px;
  cursor: pointer;
  font-weight: 600;
  text-align: left;
}
.voz-btn:hover { border-color: var(--accent); background: #26354d; }
.btn-sorteio-nome { width: 100%; text-align: center; background: #075e54; border-color: #00a884; }
.voz-preview-output {
  margin-top: 12px;
  background: #0f172a;
  padding: 12px;
  border-radius: 8px;
  font-size: 0.86rem;
  color: #cbd5e1;
}

/* Barra de Tarefas e Menu Iniciar */
#os-taskbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48px;
  background: rgba(10, 17, 30, 0.94);
  backdrop-filter: blur(10px);
  border-top: 1px solid #24324a;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  z-index: 9000;
}

.btn-start {
  background: #1e293b;
  border: 1px solid #334155;
  color: #fff;
  padding: 7px 12px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.82rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
}
.start-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--zap-green);
}

.taskbar-apps {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  flex: 1;
}
.task-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid transparent;
  color: #e2e8f0;
  padding: 6px 11px;
  border-radius: 7px;
  font-size: 0.78rem;
  cursor: pointer;
  white-space: nowrap;
}
.task-btn.active {
  background: rgba(56, 189, 248, 0.2);
  border-color: rgba(56, 189, 248, 0.55);
}

.taskbar-tray {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
}
.tray-pill {
  background: rgba(34, 197, 94, 0.14);
  padding: 4px 8px;
  border-radius: 6px;
  color: #86efac;
}
.os-clock { font-variant-numeric: tabular-nums; font-weight: 700; }

.start-menu {
  position: absolute;
  left: 10px;
  bottom: 54px;
  width: 230px;
  background: #111c30;
  border: 1px solid #334155;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
  z-index: 9500;
  display: flex;
  flex-direction: column;
}
.start-header {
  background: #075e54;
  padding: 10px 12px;
  font-weight: 700;
  font-size: 0.84rem;
}
.start-menu button {
  background: transparent;
  border: none;
  color: #f1f5f9;
  padding: 11px 12px;
  text-align: left;
  cursor: pointer;
  font-size: 0.85rem;
}
.start-menu button:hover { background: rgba(255, 255, 255, 0.08); }

.hidden { display: none !important; }

/* Responsivo para Celular / App Android (Capacitor) */
@media (max-width: 720px) {
  .desktop-icons {
    flex-direction: row;
    flex-wrap: wrap;
    top: 12px;
    left: 12px;
    right: 12px;
    justify-content: space-around;
  }
  .os-window, .zap-window, .golpes-window, .carreira-window, .vozes-window {
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: calc(100vh - 48px) !important;
    max-height: none !important;
    border-radius: 0;
    border: none;
  }
  .win-header { cursor: default; }
  .vozes-grid { grid-template-columns: 1fr; }
  .avatar-svg-container { width: 148px; height: 148px; }
  .zap-pip { width: 62px; top: 58px; }
  .pip-svg { height: 58px; }
}


/* ========================================================= */
/* BARRA DE VOZ, BOTÃO DE MICROFONE E SOM AMBIENTE           */
/* ========================================================= */
.zap-voice-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: #131c21;
  border-top: 1px solid #233138;
  font-size: 0.72rem;
  color: #94a3b8;
  flex-shrink: 0;
}
.zap-voice-bar.ouvindo {
  background: rgba(0, 168, 132, 0.16);
  color: #6ee7b7;
}
.zap-voice-bar.pausado {
  background: rgba(245, 158, 11, 0.12);
  color: #fde68a;
}
.mic-status-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}
.auto-send-label {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  color: #cbd5e1;
  user-select: none;
}
.auto-send-label input {
  accent-color: var(--zap-green);
  cursor: pointer;
}

.zap-ctrl.zap-mic-muted {
  background: #334155;
  color: #94a3b8;
  position: relative;
}
.zap-ctrl.zap-mic-muted::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2.5px;
  background: #ef4444;
  transform: rotate(-45deg);
  top: 50%;
  left: 50%;
  margin-left: -12px;
  margin-top: -1px;
  border-radius: 2px;
}
.zap-ctrl.zap-mic-on {
  background: #00a884;
  color: #042f2e;
}
.zap-ctrl.zap-mic-listening {
  background: #10b981;
  color: #042f2e;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.75);
  animation: micPulse 1.2s infinite;
}
@keyframes micPulse {
  0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.75); }
  100% { box-shadow: 0 0 0 14px rgba(16, 185, 129, 0); }
}

.tray-ambient-btn {
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: #94a3b8;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.tray-ambient-btn.active {
  background: rgba(56, 189, 248, 0.16);
  border-color: rgba(56, 189, 248, 0.45);
  color: #7dd3fc;
}
