@property --app-border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
.view-actions {
  position: fixed;
  right: max(28px, env(safe-area-inset-right));
  bottom: max(28px, env(safe-area-inset-bottom));
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: calc(100vw - 32px);
}
.view-actions > .view-float {
  position: static;
  margin: 0;
  flex-shrink: 0;
}
.go-to-app {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  isolation: isolate;
  flex-shrink: 0;
  box-sizing: border-box;
  min-height: 44px;
  padding: 10px 22px;
  border: 0;
  border-radius: 999px;
  background: #222;
  color: #fff;
  font: 700 14px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 1px;
  text-decoration: none;
  white-space: nowrap;
}
.go-to-app::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 4px;
  border-radius: inherit;
  background: conic-gradient(from var(--app-border-angle), #ffe600, #25dfa5, #5185ff, #9c54ff, #f641b5, #ff7043, #ffe600);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  animation: app-rainbow 4s linear infinite;
}
.go-to-app:hover { background: #333; color: #fff; }
.go-to-app:focus-visible { outline: 3px solid #5185ff; outline-offset: 5px; }
@keyframes app-rainbow { to { --app-border-angle: 360deg; } }
@media (max-width: 620px) {
  .view-actions { right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); gap: 10px; }
  .view-actions > .view-float { padding: 14px 16px; font-size: 12px; }
  .go-to-app { padding: 10px 18px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .go-to-app::before { animation: none; }
}
