.kom-home-shortcut {
  --kom-home-primary: #6825d0;
  --kom-home-primary-hover: #5b21b6;
  --kom-home-accent: #f59e0b;
  --kom-home-surface: #ffffff;
  --kom-home-text: #111827;
  --kom-home-muted: #64748b;
  bottom: max(20px, env(safe-area-inset-bottom));
  left: max(20px, env(safe-area-inset-left));
  position: fixed;
  z-index: 9995;
}

.kom-home-shortcut,
.kom-home-shortcut * {
  box-sizing: border-box;
}

.kom-home-shortcut__link {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(104, 37, 208, 0.18);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
  color: var(--kom-home-text);
  display: grid;
  gap: 10px;
  grid-template-columns: 42px minmax(0, 1fr) 18px;
  max-width: min(340px, calc(100vw - 40px));
  min-width: 278px;
  padding: 12px 14px;
  text-decoration: none;
  transition: box-shadow .16s ease, transform .16s ease, border-color .16s ease;
}

.kom-home-shortcut__link:hover {
  border-color: rgba(104, 37, 208, 0.42);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.24);
  color: var(--kom-home-text);
  transform: translateY(-2px);
  text-decoration: none;
}

.kom-home-shortcut__link:focus-visible {
  outline: 3px solid rgba(104, 37, 208, 0.32);
  outline-offset: 3px;
}

.kom-home-shortcut__icon {
  align-items: center;
  background: linear-gradient(135deg, var(--kom-home-primary), var(--kom-home-primary-hover));
  border-radius: 13px;
  color: #fff;
  display: inline-flex;
  font-size: 24px;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  line-height: 1;
  width: 42px;
}

.kom-home-shortcut__copy {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}

.kom-home-shortcut__copy strong {
  color: var(--kom-home-primary);
  font-size: 15px;
  font-weight: 800;
}

.kom-home-shortcut__copy span {
  color: var(--kom-home-muted);
  font-size: 12px;
  margin-top: 3px;
}

.kom-home-shortcut__arrow {
  color: var(--kom-home-accent);
  font-size: 20px;
  font-weight: 900;
}

@media (max-width: 640px) {
  .kom-home-shortcut {
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 12px;
  }

  .kom-home-shortcut__link {
    max-width: min(292px, calc(100vw - 24px));
    min-width: 0;
    width: max-content;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kom-home-shortcut__link {
    transition: none;
  }
}
