.app-launcher {
  position: relative;
  z-index: 1200;
}

.app-launcher--floating {
  position: fixed;
  top: 16px;
  right: 16px;
}

.app-launcher__trigger {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: linear-gradient(140deg, rgba(22, 34, 56, 0.96), rgba(13, 23, 38, 0.94));
  color: #f4f7fb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.app-launcher__trigger:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 140, 48, 0.55);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.34);
  background: linear-gradient(140deg, rgba(28, 43, 69, 0.98), rgba(16, 28, 45, 0.96));
}

.app-launcher__trigger:active {
  transform: translateY(0);
}

.app-launcher__dots {
  width: 18px;
  height: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.app-launcher__dots span {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.9;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.app-launcher.is-open .app-launcher__dots span {
  transform: scale(1.08);
  opacity: 1;
}

.app-launcher__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(290px, calc(100vw - 28px));
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(15, 24, 39, 0.98), rgba(11, 19, 31, 0.98));
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.42);
  padding: 10px;
  transform-origin: top right;
  opacity: 0;
  transform: translateY(-8px) scale(0.96);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.app-launcher.is-open .app-launcher__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.app-launcher__title {
  padding: 4px 8px 8px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8ea6c5;
  font-weight: 700;
}

.app-launcher__list {
  display: grid;
  gap: 4px;
}

.app-launcher__item {
  width: 100%;
  border: 1px solid transparent;
  background: transparent;
  color: #f3f7ff;
  border-radius: 12px;
  padding: 10px 10px;
  text-decoration: none;
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 10px;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  cursor: pointer;
  font: inherit;
}

.app-launcher__item:hover {
  transform: translateX(2px);
  border-color: rgba(255, 140, 48, 0.28);
  background: rgba(255, 140, 48, 0.12);
}

.app-launcher__item--settings {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  margin-top: 6px;
  padding-top: 11px;
}

.app-launcher__item--logout {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  margin-top: 6px;
  padding-top: 11px;
}

.app-launcher__item--logout .app-launcher__icon {
  color: #ff8b8b;
}

.app-launcher__item--logout:hover {
  border-color: rgba(255, 110, 110, 0.32);
  background: rgba(255, 72, 72, 0.14);
}

.app-launcher__icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffb171;
}

.app-launcher__icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.app-launcher__label {
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.2;
}

@media (max-width: 860px) {
  .app-launcher--floating {
    top: 10px;
    right: 10px;
  }

  .app-launcher__trigger {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }
}
