.mobile-action-dock {
  display: none;
}

@media (max-width: 760px) {
  body {
    padding-bottom: calc(70px + env(safe-area-inset-bottom));
  }

  .mobile-action-dock {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    padding: 2px 18px calc(2px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(81, 113, 168, .2);
    border-radius: 0;
    background:
      linear-gradient(180deg, rgba(12, 22, 41, .92), rgba(5, 10, 20, .98));
    box-shadow: 0 -18px 42px rgba(0, 0, 0, .48);
    backdrop-filter: blur(20px);
  }

  body.mobile-task-list-mode .mobile-action-dock {
    display: none;
  }

  .mobile-action-dock button {
    display: grid;
    place-items: center;
    gap: 4px;
    min-width: 0;
    height: 58px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: rgba(219, 233, 255, .6);
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
  }

  .mobile-action-dock button i {
    width: 24px;
    height: 24px;
  }

  .mobile-action-dock button.active,
  .mobile-action-dock button:hover {
    color: #45d7ff;
    background: transparent;
    box-shadow: none;
  }

  .mobile-action-dock button:disabled {
    color: rgba(219, 233, 255, .32);
    cursor:not-allowed;
    opacity: .62;
  }

  .toast {
    bottom: calc(70px + env(safe-area-inset-bottom));
  }
}
